Page 1 of 1

trouble reading callerid

Posted: Wed Dec 12, 2007 11:40 am
by uncleunvoid
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

Change IVR code to support "session.telephone.ani"

Posted: Wed Dec 12, 2007 12:53 pm
by support
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:

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>
Hope this helps.

Regards,
Plum Support

Posted: Thu Dec 13, 2007 6:06 am
by uncleunvoid
this did not do the trick it's still silent

I am calling from my office landline where i have to dial out, could that be a problem?

IVR issue could be due to ANI being blocked

Posted: Thu Dec 13, 2007 10:07 am
by support
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

Posted: Thu Dec 13, 2007 10:56 am
by uncleunvoid
yep you were right it was blocked it worked on my mobile, now the only thing left is the db request