I been trying to recognize the callers id. I am using a demo account for testing.
this is my code:
<?xml version="1.0" encoding="UTF-8"?>
<vxml version = "2.0">
<var name='callerID' expr='session.callerid'/>
<form id="welcome">
<block>
<prompt>
Your mobile just got way cooler
</prompt>
<goto next="#enterKey"/>
</block>
</form>
<form id="enterKey">
<field name="keyCode" type="digits?length=1">
</field>
<filled namelist="keyCode" mode="all">
<prompt>
You pressed <value expr="keyCode" />
your number is <value expr="callerID"/>
</prompt>
</form>
</vxml>
it ends in a serious error. I checked the documentations on both plum and voxeo, but no luck so far, any ideas?
Marcus
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
trouble reading callerid
Change IVR code to support "session.telephone.ani"
Hi,
We don't support "session.callerid". Our implementation of caller ID is "session.telephone.ani". So, you should change your IVR code to this:
Hope this helps.
Regards,
Plum Support
We don't support "session.callerid". Our implementation of caller ID is "session.telephone.ani". So, you should change your IVR code to this:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<vxml version = "2.0">
<var name='callerID' expr='session.telephone.ani'/>
<form id="welcome">
<block>
<prompt>
Your mobile just got way cooler
</prompt>
<goto next="#enterKey"/>
</block>
</form>
<form id="enterKey">
<field name="keyCode" type="digits?length=1">
</field>
<filled namelist="keyCode" mode="all">
<prompt>
You pressed <value expr="keyCode" />
your number is <say-as type="acronym"> <value expr="callerID"/> </say-as>
</prompt>
</filled>
</form>
</vxml>
Regards,
Plum Support
Last edited by support on Tue Jan 12, 2010 1:37 pm, edited 2 times in total.
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com
-
- Posts: 16
- Joined: Mon Dec 10, 2007 6:33 am
IVR issue could be due to ANI being blocked
Hi,
Is the ANI showing up in your IVR call logs? If not, then it could be possible that your ANI is being blocked. This could be due to various reasons:
1) The caller can opt to block their ANI from being transmitted.
2) If the caller calls from behind a company PBX, the corporate PBX may block or mask ANI.
3) Finally, ANI can be lost if the IVR call is being made to a switched toll-free number that forwards to a local number.
Regards,
Plum Support
Is the ANI showing up in your IVR call logs? If not, then it could be possible that your ANI is being blocked. This could be due to various reasons:
1) The caller can opt to block their ANI from being transmitted.
2) If the caller calls from behind a company PBX, the corporate PBX may block or mask ANI.
3) Finally, ANI can be lost if the IVR call is being made to a switched toll-free number that forwards to a local number.
Regards,
Plum Support
Last edited by support on Fri Feb 19, 2010 1:00 pm, edited 2 times in total.
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com
-
- Posts: 16
- Joined: Mon Dec 10, 2007 6:33 am