[asterisk-users] Issue with Asterisk not hanging up second leg when first leg hangs up
Dovid Bender
asteriskusers at dovid.net
Mon Jan 31 06:26:09 CST 2011
Hi,
Here is my confing:
[out]
Exten => _X.,1,Noop()
Exten => _X.,2,Dial(SIP/${EXTEN}@peer,60,gcU(do_dtmf_cc-take-call,s,1))
Exten => _X.,3,Playback(tt-monkeys)
Exten => _X.,4,Playback(tt-monkeys)
Exten => _X.,5,Playback(tt-monkeys)
Exten => h,1,Noop(ABCDEFGHIJKLMNOPQRSTUVWXYZ)
[do_dtmf_cc-take-call]
Exten => s,1,AGI(agi://127.0.0.1:4579/update_call_status?status=60)
Exten => s,2,Noop()
Exten => s,3,Noop()
Exten => s,4,Noop()
Exten => s,5,Background(/etc/cb/wav/incoming_cb_call)
Exten => s,6,Noop()
Exten => s,7,Goto(s,5)
Exten => _X,1,AGI(agi://127.0.0.1:4579/update_call_status?status=80)
SIP Phone makes the call and calls an out side number. When out side number
picks up they hear the DTMF and then a message telling them to press any key
to take the call. If the called party press's DTMF then the call is bridged
and everything is fine.
If the system is playing to the called party the message to press any key
(Exten => s,5,Background(/etc/cb/wav/incoming_cb_call)) and the caller hangs
up, the called party will keep hearing the message. If they hang up then
both legs hang up. If the called party presses any key then the call hangs
up. If the caller hangs up shouldnt it hang up the second leg of the call as
well ? Whats interesting is that when the caller hangs up Asterisk see's the
BYE and replies it with a 200 OK yet it does not go to the h extension till
the second leg hangs up.
TIA.
Dovid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110131/64c6d02d/attachment.htm>
More information about the asterisk-users
mailing list