The dialer of SMS is for scheduler SMS and the dialer will execute in the right moment, for this type exist a Web service REST schedule that allows them. And it is possible from Froms, Workflows or from external systems.
Basically the process is that there is a table where are the calls that are scheduled with all pertinent information.
sms_scheduler:
calldate | campaign | phone destiny | data |
---|
date and time when you have to run | test1 | 098344484
| The message |
The scheduler be placing on the sms_spool with priority 1 to the messages that have to run in that minute, which will make the dialer take it as soon as possible to send the message, is named based Schedule and Date to see which they are the sms that were scheduled and when they should be performed in order to compare with the sms_repo dateprocessed.
Post
Relative URL: Integra/resources/SMS/ScheduleDialerSMS
Method: POST
content-type:application/x-www-form-urlencoded; charset=UTF-8
Params: sms (JSON Object)
Result: 1
Json Object
{
"calldate" : "2015-10-11 15:00:00", // Sms date
"campaign" : "Ventas->", // Sms dialer campaign
"destination" : "098344484", // Sms destination
"data" : "Message" // Sms text message
}