repositório com os arquivos utilizados para integração entre o sistema SimplesIP e diversos sistemas.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
374 B

<?php
include "IPCall.php";
$ipcall = new IPCall();
$protocolo = $agi->get_variable('PROTOCOLO_ANS', true);
$clientid = $agi->get_variable('CLIENTID', true);
$ipcall->log()->debug("enviarSMS | " . print_r([
'protocolo' => $protocolo,
'clientid' => $clientid
], true));
if($protocolo && $clientid){
$ipcall->sendsms($clientid, $numero, $protocolo);
}
?>