Phone2Phone.wr
04-24-2017
This method connects two phone numbers together. First we call "tophone" and play a message to let them know we are about to connect their call. Then we connect "tophone" to "fromphone".
Parameters
- String : tophone - This is the first number that will be dialed first and a message played to them.
- String : fromphone - This is the number that will be dialed while "TO" is connected and listening.
- String : fromcallerid - This is the number that will show to "TO" as "FROM's" callerid.
Useage
Example Request
POST /phone2Phone.wr HTTP/1.1
Host: api.voicebroadcasting.com
Content-Type: application/x-www-form-urlencoded
sidtoken=000000000000000000000000000&fromcallerid=8005551212&fromphone=7695551212&tophone=8175551212
Example Response
{"fromcallerid":"8005551212","fromphone":"7695551212","p2pid":"F7RktWyQD7V","tophone":"8175551212"}