Event Notification: XML Response
From SwitchvoxExtendAPI
For certain events, your application can return XML requests for Switchvox to perform certain operations. Here is an example of an XML response that includes a request for every possible operation:
<response> <result> <call_info> <caller_id_number>8585551212</caller_id_number> <caller_id_name>John Doe</caller_id_name> <transfer_extension>850</transfer_extension> <display_url>http://intranet.example.com/cust_view?cust_id=2</display_url> </call_info> </result> </response>
All of the tags inside the call_info block are optional.
Contents |
caller_id_number
Set Caller ID Number to this value.
caller_id_name
Set Caller ID Name to this value.
transfer_extension
Transfer call to the extension of this value. WARNING: It is possible to break Switchvox by creating routing loops.
display_url
Display this URL in the Switchboard as a clickable icon. For example: your application might lookup the caller’s phone number in your company’s user database, then return the URL of the caller’s user record.