Page 1 of 1

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

Posted: Mon Jun 16, 2003 1:15 pm
by support
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>