redirect_call

The redirect_call method is used for redirecting a call to another extension or external number. For this to work, the redirected call must be placed using the do_send_call method, in order to identify the call with a unique ID.


parameter
purpose
username
The user's login name.
password
The user's login password.
uniqueid
A call's unique ID - generated after making a call using the do_send_call API.
cnumber
The three or four digit extension number used for call redirection (technically, it can also be an eleven digit external number.)



Sample Request
<soapenv:Envelopexmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:urn="urn:TelebroadWebServices">
   <soapenv:Header/>
   <soapenv:Body>
<urn:redirect_callsoapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <usernamexsi:type="xsd:string">xxxxxxxxxx</username>
         <passwordxsi:type="xsd:string">xxxxxxxxxx</password>
         <uniqueidxsi:type="xsd:string">1389081166.19433109</uniqueid>
         <cnumberxsi:type="xsd:string">1023</cnumber>
      </urn:redirect_call>
</soapenv:Body>



Sample Response
SOAP-ENV:EnvelopeSOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/
"xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
   <SOAP-ENV:Body>
      <ns1:redirect_callResponsexmlns:ns1="urn:TelebroadWebServices"/>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.