TestCall.wr

04-24-2017

This method sends a calloutset test call to a given phone number.

This method is designed to start a test call and respond with "confirmed" to the browser. If it can't start the testcall for some reason, it will respond with a JSON formatted error message.

This method requires from the browser request: "callsetid" of the calloutset record we want to test, and the "phone2dial" phone number to send the test call to. If we want to do this test call through a specific carrier, we also need the optional parameter "carrierid" from the browser request as well.

CUSTOMIZER: If this test call includes dynamic TextToSpeech custom audio, then we must also check for the "recordnumber" parameter which defines the record number of the row in the AutoDialTop10 to use as the data for this test call.

Parameters

  • Number : callsetid - calletid
  • Number : phone2dial - Phone number to send test call to.
  • Number : carrierid - (optional) Specific carrier to send test call through.
  • Number : recordnumber - (required only for custom audio campaigns) record number ( 1-10 ) in uploaded data to perform a customized call against.

Useage

Example Request

POST /testCall.wr HTTP/1.1
Host: api.voicebroadcasting.com
Content-Type: application/x-www-form-urlencoded

sidtoken=000000000000000000000000000&callsetid=55881&phone2dial=8175551212

Example Response

{"response":"confirmed"}