: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Martin
Sent: Friday, October 23, 2009 1:49 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] hangup from which side
if you are debugging visually
, October 27, 2009 8:10 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] hangup from which side
no, I meant this
s,1,Set(H=us)
s,n,Dial(,,g)
s,n,Set(H=them)
h,1,Noop(${H} hanged up)
That might or may not work ... since I didn't actually check it
Martin
)
- exten = h,2,hangup
-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Martin
Sent: Friday, October 23, 2009 1:49 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] hangup
B.Masoud @ SH schrieb:
When Asterisk establish a call through an outbound trunk, Is there any
way I can know who hang up the call first? The caller or the party called?
you could use the 'g' option of the Dial command together with some
logic in the hangup extensions
regards
klaus
Sent: Friday, October 23, 2009 9:21 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] hangup from which side
B.Masoud @ SH schrieb:
When Asterisk establish a call through an outbound trunk, Is there any
way I can know who hang up the call first
if you are debugging visually then look at SIP BYE message ... who sent it first
and on PRI who sent the DISCONNECT message first.
if you need to know that in the dialplan ... then if the originating
channel hanged up
then the dialplan should stop executing and go straight to h,1 even if
When Asterisk establish a call through an outbound trunk, Is there any way I
can know who hang up the call first? The caller or the party called?
Thanks.
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users