Event Notification: XML Response
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.
Set Caller ID Number to this value.
Set Caller ID Name to this value.
Transfer call to the extension of this value. WARNING: It is possible to break Switchvox by creating routing loops.
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.