Accessing caller's phone number
Posted: Tue Jan 06, 2009 11:53 am
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?
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?