[asterisk-users] hangup from which side
Danny Nicholas
danny at debsinc.com
Tue Oct 27 08:16:38 CDT 2009
That will work on an outgoing call. Apparently (AFAICS) there is no feature
in Answer to jump to H or continue like the Dial command has.
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Martin
Sent: Tuesday, 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
On Mon, Oct 26, 2009 at 9:05 AM, Danny Nicholas <danny at debsinc.com> wrote:
> So this *should* work??
> [outgoing]
> - exten => s,1,Dial(DAHDI/1/5551212,20)
> - exten => s,2,Noop(I hung up)
> - exten => s,3,Hangup
> - exten => h,1,Noop(you hung up)
> - exten => h,2,Hangup
>
> [incoming]
> - exten => s,1,Answer
> - exten => s,2,Noop(I hung up)
> - exten => s,3,Hangup
> - exten => h,1,noop(you hung up)
> - exten => h,2,hangup
>
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at 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 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
> Dial(,,g) is used
>
> also there is a channel variable HANGUPCAUSE and you can check what it
> does on the next step
> with Dial(,,g) and on h,1 ... since I don't know :)
>
> Martin
>
> On Thu, Oct 22, 2009 at 12:12 PM, B.Masoud @ SH <info at saudihome.com>
wrote:
>> 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 mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list