[asterisk-users] Make the call finish after executing Dial(G())

Motiejus Jakštys desired.mta at gmail.com
Thu May 6 09:06:00 CDT 2010


Hi,

Great! I thought I won't see leg B channel while using M(), but I do!
:) M() did my day.

Thanks.

On Thu, May 6, 2010 at 4:29 PM, Philipp von Klitzing
<klitzing at pool.informatik.rwth-aachen.de> wrote:
> Hi!
>
>> [connect-jack]
>> exten => _X.,1,NoOp(${CHANNEL}) ; Leg A
>> exten => _X.,2,NoOp(${CHANNEL}) ; Leg B
>>
>> The problem is: after answering, [connect-jack] both priorities are
>> executed, and right after executing them call drops.
>
> The call legs drop because you do not do anything with them, since your
> dialplan is finished at this point. You could put them into a MeetMe
> conference, for example, or use Transfer() or ChannelRedirect().
>
>  [connect-jack]
>  exten => _X.,1,Goto(bridging,meet,1); Leg A
>  exten => _X.,2,NoOp(${CHANNEL}) ; Leg B
>  exten => _X.,n,Goto(bridging,meet,1); Leg B
>
>  [bridging]
>  exten => meet,1,MeetMe(1234)
>  exten => meet,n,Hangup  ; handle a hangup after meetme cleanly
>
> Another way to address this: Use Dial option M instead of G
>
> Philipp
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> 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