Given a call which is received via SIP at a Cisco router IOS Version 12.4(15)XZ2
and is thereafter directed to an embedded AIM-CUE module which triggers a VXML
script, is is possible to retrieve the SIP "From" header of the call within the VXML
script?
The utility of retrieving the SIP "From" header is
that it (in our case and typically in others) contains the presentation-format calling party information (that is, the
name and/or physical address of the caller). A
variety of documented methods (such as "session.telephone.com.cisco.handoff.proto_headers['From']" and
"session.com.cisco.proto_headers['From']) simply do not work and instead cause VXML
script execution to terminate and a Cisco-supplied "We're having technical
difficulties" message to be played to a caller.
If it isn't possible to retrieve the raw SIP "From" header via a called VXML document, is there any other way to obtain the same information fragment? Is any alternate method documented somewhere?
=================
<?xml version="1.0"
encoding="UTF-8"?>
<vxml version="2.0" xmlns="
http://www.w3.org/2001/vxml">
<form><block>
<var name="ani" expr="session.telephone.ani" />
<var
name="dnis" expr="session.telephone.dnis" />
<var name="rdnis"
expr="session.telephone.rdnis" />
<var name="luri"
expr="session.connection.local.uri" />
<var name="ruri"
expr="session.connection.remote.uri" />
<var name="redir"
expr="session.connection.redirect" />
<var name="aai"
expr="session.connection.aai" />
<var name="hos"
expr="session.handoff_string" />
<!-- Any of these four VARs will generate an error
-->
<!-- <var name="hdnis"
expr="session.telephone.com.cisco.handoff.dnis" /> -->
<!-- <var
name="hprof" expr="session.telephone.com.cisco.handoff.proto_headers['From']"
/> -->
<!--
<var name="hdrf" expr="session.com.cisco.proto_headers" />
-->
<!-- <var name="mfrom" expr="session.mail.headerinfo"
/> -->
<submit next="
http://a.good.address/logcallend.php"
method="post" enctype="multipart/form-data" namelist="ani dnis"
/>
</block></form>
</vxml>