| [subCreateTicket] | |
| exten=>s,1,Wait(1) | |
| same=>n,Noop( sending post with data : ${MEMBERINTERFACE} ${CRM_SOURCE} ) | |
| same=>n,Set(tikcket=${SHELL(php /var/www/html/queue_post.php ${MEMBERINTERFACE} ${CRM_SOURCE})} ) | |
| same =>n,Return() | |
| ------------------ | |
| <?php | |
| //$agent_exten="Local/633@from-queue/n"; | |
| $agent_exten=$argv[1]; | |
| $cid=$argv[2]; | |
| $agent_exten=stristr($agent_exten, '@', true); | |
| $agent_exten=stristr($agent_exten, '/'); | |
| $agent_exten= str_replace('/', '', $agent_exten); | |
| echo $post=shell_exec("curl -d \"ext=$agent_exten&cid=$cid&?key=dHhMZkN2I1t\" \"https://api.com\" "); | |
| ?> |
Soporte & Consultoria
Soporte Remoto y Consultoria skype : ambiorixg12.
Nota no se brinda ningun tipo de consulta o soporte fuera del blog de forma gratuita
martes, 28 de abril de 2020
QUEUE POST curl
Suscribirse a:
Enviar comentarios (Atom)
No hay comentarios:
Publicar un comentario