Page 1 of 1

Accessing caller's phone number

Posted: Tue Jan 06, 2009 11:53 am
by shanthint@paydq.com
Hello,

I tried to access the caller's phone number using the following code.

<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml">
<form id="ani_test">
<block>
<prompt>
You are calling from phone number
<say-as type="acronym">
<value expr="session.telephone.ani" />
</say-as>
</prompt>
</block>
</form>
</vxml>

but this returns nothing. This code gives me only 'You are calling from phone number".
Any ideas?

IVR issue with ccessing caller's phone number

Posted: Tue Jan 06, 2009 12:42 pm
by support
Hi,

Is this IVR issue occurring from multiple phone numbers or just one? And can you reproduce this IVR issue reliably?

Also, do you have a PBX or a direct carrier?

Regards,
Plum Support