Page 1 of 1
Identifying inbound and related outbound calls
Posted: Thu Mar 06, 2008 3:30 pm
by sking@xosphere.com
Hello guys, we have an application that generates outbound calls. We would like to identify which outbound call were generated from which inbound calls.
Is there any ID already defined that we can use in both?
Thank you
IVR code that uses session.id to identify in and outbound
Posted: Thu Mar 06, 2008 4:35 pm
by support
Hi,
Yes, you can use
"session.id" to identify IVR inbound and IVR outbound calls. Here is an IVR code example that shows how to use session.id:
Code: Select all
<?xml version="1.0" encoding="latin-1"?>
<vxml version="2.0">
<form>
<block>
<prompt>
Your phone number is
<say-as type="acronym">
<value expr="session.telephone.ani"/>
</say-as>.
You called from
<say-as type="acronym">
<value expr="session.telephone.dnis"/>
</say-as>.
Your session id is
<say-as type="acronym">
<value expr="session.id"/>
</say-as>.
</prompt>
</block>
</form>
</vxml>
For the session id, the IVR application would return a unique id such as "000005;000;1190752725" where the number before the first semicolon is a six character server identifier, the number before the second semicolon is a three digit channel identifier, and the last number is a timestamp of when the channel was ready to receive the next IVR call.
Hope this helps.
Regards,
Plum Support