How can I access a caller's ID or DNIS in my VoiceXML applic

Answers to common Plum DEV questions

Moderators: admin, support

  • Author
  • Message
Offline

support

  • Posts: 3628
  • Joined: Mon Jun 02, 2003 3:47 pm
  • Location: Boston, MA

How can I access a caller's ID or DNIS in my VoiceXML applic

PostMon Jun 16, 2003 1:15 pm

The session variable "session.telephone.ani" can be used to access the phone number of the caller (typically available from most phone numbers in North America).

Code: Select all
<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>

Return to Plum DEV FAQs

Who is online

Users browsing this forum: No registered users and 1 guest

cron