Envoyé par
cedricscha
Y'a forcement un hangup, sinon ton appel ne ferait que sonner et ne raccrocherai jamais.....
j'ai contaté ca après plusieurs test :
si j'écris seulement ca à la fin du contexte
Code:
exten => h,1,system(echo -e "resultat : Déplacement refusé" >> /tmp/ConvertFile/retour.txt)
et que je ne répond pas a un appel, ca donne ca . Trois tentatives d'appel non aboutit et l'extension h ne s'est pas acctiver
Code:
-- Attempting call on SIP/6000 for s@outboundmsg1:1 (Retry 1)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Attempting call on SIP/6000 for s@outboundmsg1:1 (Retry 2)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Attempting call on SIP/6000 for s@outboundmsg1:1 (Retry 3)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
alors que si je rajoute une extension Failed
Code:
exten => h,1,system(echo -e "resultat : Déplacement refusé" >> /tmp/ConvertFile/retour.txt)
exten => failed,1,system(echo -e "resultat : Déplacement refusé" >> /tmp/ConvertFile/retour.txt)
les deux extensions s'active pour appel non aboutit
Code:
-- Attempting call on SIP/6000 for s@outboundmsg1:1 (Retry 1)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [failed@outboundmsg1:1] System("OutgoingSpoolFailed", "echo -e "resultat : Déplacement refusé" >> /tmp/ConvertFile/retour.txt") in new stack
-- Auto fallthrough, channel 'OutgoingSpoolFailed' status is 'UNKNOWN'
-- Executing [h@outboundmsg1:1] System("OutgoingSpoolFailed", "echo -e "resultat : Déplacement refusé" >> /tmp/ConvertFile/retour.txt") in new stack
Je comprend pas , l'extension h s'active comme elle veut ?????