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

Reply via email to