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.
 
 

17 lines
596 B

<?php
require_once "Movidesk.php";
$movidesk = new Movidesk(CONF_TOKEN_API, CONF_URL_API);
if (CONF_AUDIO_ERROR) {
$movidesk->db()->setIdAudioError(CONF_AUDIO_ERROR);
}
$iddac = $movidesk->db()->getFilaPorNome($dac)['id'];
$movidesk->log()->debug("Data: " . $uid . " | " . $iddac . " | " . $argv[3] . " | " . date('Y-m-d H:i:s') . " | " . date('Y-m-d H:i:s'));
$response = $movidesk->startCanceledCall($uid, $iddac, $argv[3], date('Y-m-d H:i:s'), date('Y-m-d H:i:s'));
$movidesk->log()->debug("Response Integracao: " . print_r($response, true));