do_send_call

The do_send_call request is typically used to initiate a call using the API. The server will dial for you using your system telephone, send first a call to snumber (in most cases your telephone) and, once that call is answered (**or auto answered when True) continue by dialing the dnumber to connect the two parties.  


**If answer1 is set to "1" (true) then the system will not wait for you to answer snumber telephone, but will instead initiate an auto-answer for you using your speakers.


Note: Your can set the 'external' number in the 'snumber' if you prefer the system calling the other party before placing the call to you.  You'd then enter your own number as the 'dnumber' for it to call you after initiating the first call to the 'snumber'.  

 


Parameter
Purpose
username The user's login name
password The user's login password
snumber 7 digit identifier of internal telephone placing the call
callerids Caller ID to be used on Sender phone
dnumber Name field identifying the call's destination number
calleridd Caller ID to be used when calling destination number
answer1 If true, the system will channel calls directly to speakers. Possible settings: "1"=true", "0"=false
answer2 Possible settings: "1"=true", "0"=false (irrelevant if dnumber is not a 7 digit telephone id)



Sample Request
<soapenv:Envelope xmlns: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:do_send_call soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <username xsi:type="xsd:string">usernamehere</username>
         <password xsi:type="xsd:string">passwordhere</password>
         <snumber xsi:type="xsd:int">2220000</snumber>
         <callerids xsi:type="xsd:int">12124449999</snumber>
         <dnumber xsi:type="xsd:int">12125551234</dnumber>
         <calleridd xsi:type="xsd:int">12124449999</dnumber>
         <answer1 xsi:type="xsd:int">1</answer1>
         <answer2 xsi:type="xsd:int">0</answer1>
      </urn:do_send_call>
   </soapenv:Body>
</soapenv:Envelope>


Did you find it helpful? Yes No

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