vgnogueira at gmail.com Guest
|
Posted: Sat Jul 26, 2014 8:49 am Post subject: [asterisk-users] Hangup check during long running macro call |
|
|
I have built a dialplan which dial to someone with option M.
Dial (SIP/1000,,M(MYMACRO))
Both parties are SIP phones.
MYMACRO expects person on SIP/1000 dial 5 (using read) then exits - and doing so it bridges my phone (SIP/2000) with SIP/1000.
If SIP/1000 hangs up before dial 5 - ok the call ends.
if SIP/2000 hangs up before SIP/1000 dial 5 - the macro is unaware and keeps waiting SIP/1000 dial out 5. When it occurs the call ends. In the meanwhile I got the following warning:
WARNING[4486]: chan_sip.c:4210 __sip_autodestruct: Autodestruct on dialog '1826448978@192.168.2.121 (1826448978@192.168.2.121)' with owner SIP/2000-00000014 in place (Method: BYE). Rescheduling destruction for 10000 ms
I am using Asterisk 1.8
Thanks
Valter |
|