Dear List,
My Dial command:
exten => _X.,n,Dial(SIP/PBX2/1234,60,G(connect-jack^${EXTEN}^1))
exten => h,1,....
[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.
Log:
-- Executing [123...@npdb2:76] Dial("SIP/1001-00000004",
"SIP/PBX2/000123456,60,G(connect-jack^123456^1)") in new stack
== Using SIP RTP CoS mark 5
-- Called PBX2/000123456
== Begin MixMonitor Recording SIP/1001-00000004
-- SIP/PBX2-00000005 is ringing
-- SIP/PBX2-00000005 answered SIP/1001-00000004
-- Executing [123...@connect-jack:1] NoOp("SIP/1001-00000004",
"SIP/1001-00000004") in new stack
-- Executing [123...@connect-jack:2] NoOp("SIP/1001-00000004",
"SIP/1001-00000004") in new stack
-- Auto fallthrough, channel 'SIP/1001-00000004' status is 'ANSWER'
-- Executing [123...@connect-jack:2] NoOp("SIP/PBX2-00000005",
"SIP/PBX2-00000005") in new stack
-- Auto fallthrough, channel 'SIP/PBX2-00000005' status is 'UNKNOWN'
== End MixMonitor Recording SIP/1001-00000004
The question: how to execute G() right after answering (purpose behind
this: I will need to set some leg B variables), and then continue the
conversation?
Thank you,
Motiejus
--
_____________________________________________________________________
-- 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