CallXML 3.0 Development Guide Home  |  Frameset Home

  tutorial Answering machine Hello world  |  TOC  |  tutorial CallerID and CalledID  

Introduction to CallerID

We all know how callerID works from an end-user perspective: our phone rings, we check the callerID, see it's the ex-girlfriend, and let the answering machine take a message. We can also grab the callerID and the calledID in CallXML, so we can beef up the answering machineapplication in our previous lesson to programatically disconnect the psychotic ex-girlfriend whenever she calls. And then we get a restraining order.

We can access these two bits of information by utilizing a few built-in session variables of CallXML, most notably, the session.callerid and session.calledid variables. We can use these variables to catch who called our app, and what number they dialed to reach the app, anywhere in our application by using the standard $Varname; syntax, as illustrated below:

$session.callerid;

You don't have to be a Nobel Prize winner to figure this one out, as it is pretty cut and dried. Let's get our hands dirty and start work on the next Lesson, shall we?


  ANNOTATIONS: EXISTING POSTS
0 posts - click the button below to add a note to this page

login
  tutorial Answering machine Hello world  |  TOC  |  tutorial CallerID and CalledID  

© 2012 Voxeo Corporation  |  Voxeo IVR  |  VoiceXML & CCXML IVR Developer Site