Vincent Luba
2005-Jul-11 03:01 UTC
[Asterisk-Users] Calls dropped upon 'native bridging' after IAX2 transfer
Skipped content of type multipart/alternative-------------- next part -------------- ############ # amd BOX # ############ ## Step 1 ## Bob(ext. 6202) place a remote IAX2 call to the operator (ext. 6302) ## Reminder : _62XX are register on 'amd' and _63XX on 'dell' -- Executing SetGroup("SIP/6202-d193", "IAX") in new stack -- Executing NoOp("SIP/6202-d193", "") in new stack -- Executing GotoIf("SIP/6202-d193", "0?4:7") in new stack -- Goto (from-ip-phones,6302,7) -- Executing SetVar("SIP/6202-d193", "NumToDial=6302") in new stack -- Executing Dial("SIP/6202-d193", "IAX2/amd:$password$@$DELL_IP$/6302|300|tTrF") in new stack -- Called amd:$password$@$DELL_IP$/6302 -- Call accepted by $DELL_IP$ (format gsm) -- Format for call is gsm -- IAX2/$DELL_IP$:4569/1 is ringing -- IAX2/$DELL_IP$:4569/1 answered SIP/6202-d193 amd1-itbx*CLI> show channels Channel (Context Extension Pri ) State Appl. Data IAX2/$DELL_IP$:4569/1 ( s 1 ) Up Bridged Call SIP/6202-d193 SIP/6202-d193 (from-ip-phones 6302 10 ) Up Dial IAX2/amd:$password$@$DELL_IP$/6302|300|tTrF 2 active channel(s) ## Step 2 ## The operator transfers the call to Bradd (ext. 6203) ## Reminder : _62XX are register on 'amd' and _63XX on 'dell' -- Accepting AUTHENTICATED call from $DELL_IP$, requested format = 2, actual format = 2 -- Executing SetVar("IAX2/dell@$DELL_IP$:4569/2", "CALLEDID=6203") in new stack -- Executing GotoIf("IAX2/dell@$DELL_IP$:4569/2", "0?3:7") in new stack -- Goto (from-remote-hosts,6203,7) -- Executing Macro("IAX2/dell@$DELL_IP$:4569/2", "dialuser|6203|30|tTrF") in new stack -- Executing DBget("IAX2/dell@$DELL_IP$:4569/2", "temp=FM/6203") in new stack -- DBget: varname=temp, family=FM, key=6203 -- DBget: Value not found in database. -- Executing Dial("IAX2/dell@$DELL_IP$:4569/2", "SIP/6203|30|tTrF") in new stack -- Called 6203 -- SIP/6203-078d is ringing -- SIP/6203-078d answered IAX2/dell@$DELL_IP$:4569/2 amd1-itbx*CLI> show channels Channel (Context Extension Pri ) State Appl. Data SIP/6203-078d (from-ip-phones 1 ) Up Bridged Call IAX2/dell@$DELL_IP$:4569/2 IAX2/dell@$DELL_IP$:4569/2 (macro-dialuser s 102 ) Up Dial SIP/6203|30|tTrF IAX2/$DELL_IP$:4569/1 ( s 1 ) Up Bridged Call SIP/6202-d193 SIP/6202-d193 (from-ip-phones 6302 10 ) Up Dial IAX2/amd:$password$@$DELL_IP$/6302|300|tTrF 4 active channel(s) == Spawn extension (from-ip-phones, 6303, 0) exited non-zero on 'IAX2/dell@$DELL_IP$:4569/2' in macro 'dialuser' == Spawn extension (from-ip-phones, 6303, 0) exited non-zero on 'IAX2/dell@$DELL_IP$:4569/2' ## Step 3 ## Place a remote IAX2 incoming call from Bob (ext. 6202) to the Bert (ext. 6303) transfered by Brad (ext. 6203) ## Reminder : _62XX are register on 'amd' and _63XX on 'dell' -- Executing SetGroup("IAX2/dell@$DELL_IP$:4569/2", "IAX") in new stack -- Executing NoOp("IAX2/dell@$DELL_IP$:4569/2", "") in new stack -- Executing GotoIf("IAX2/dell@$DELL_IP$:4569/2", "0?4:7") in new stack -- Goto (from-ip-phones,6303,7) -- Executing SetVar("IAX2/dell@$DELL_IP$:4569/2", "NumToDial=6303") in new stack -- Executing Dial("IAX2/dell@$DELL_IP$:4569/2", "IAX2/amd:$password$@$DELL_IP$/6303|300|tTrF") in new stack -- Called amd:$password$@$DELL_IP$/6303 -- Call accepted by $DELL_IP$ (format gsm) -- Format for call is gsm -- IAX2/$DELL_IP$:4569/3 is ringing -- IAX2/$DELL_IP$:4569/3 answered IAX2/dell@$DELL_IP$:4569/2 -- Attempting native bridge of IAX2/dell@$DELL_IP$:4569/2 and IAX2/$DELL_IP$:4569/3 -- Channel 'IAX2/dell@$DELL_IP$:4569/2' ready to transfer -- Channel 'IAX2/$DELL_IP$:4569/3' ready to transfer -- Releasing IAX2/$DELL_IP$:4569/3 and IAX2/dell@$DELL_IP$:4569/2 -- Hungup 'IAX2/$DELL_IP$:4569/1' == Spawn extension (from-ip-phones, 6302, 10) exited non-zero on 'SIP/6202-d193' -- Executing Macro("SIP/6202-d193", "hangup") in new stack -- Executing Hangup("SIP/6202-d193", "SIP/6303") in new stack == Spawn extension (macro-hangup, s, 1) exited non-zero on 'SIP/6202-d193' in macro 'hangup' == Spawn extension (from-ip-phones, h, 1) exited non-zero on 'SIP/6202-d193' -- Hungup 'IAX2/$DELL_IP$:4569/3' == Spawn extension (from-ip-phones, 6303, 10) exited non-zero on 'IAX2/dell@$DELL_IP$:4569/2' -- Executing Macro("IAX2/dell@$DELL_IP$:4569/2", "hangup") in new stack -- Executing Hangup("IAX2/dell@$DELL_IP$:4569/2", "SIP/6303") in new stack ## Call is dropped upon IAX2 release == Spawn extension (macro-hangup, s, 1) exited non-zero on 'IAX2/dell@$DELL_IP$:4569/2' in macro 'hangup' == Spawn extension (from-ip-phones, h, 1) exited non-zero on 'IAX2/dell@$DELL_IP$:4569/2' -- Hungup 'IAX2/dell@$DELL_IP$:4569/2' amd1-itbx*CLI> show channels Channel (Context Extension Pri ) State Appl. Data 0 active channel(s) amd1-itbx*CLI> -------------- next part -------------- ############ # dell BOX # ############ ## Step 1 ## Receives a remote IAX2 incoming call from Bob (ext. 6202) to the operator (ext. 6302) ## Reminder : _62XX are register on 'amd' and _63XX on 'dell' -- Accepting AUTHENTICATED call from $AMD_IP$, requested format = 2, actual format = 2 -- Executing SetVar("IAX2/amd@$AMD_IP$:4569/1", "CALLEDID=6302") in new stack -- Executing GotoIf("IAX2/amd@$AMD_IP$:4569/1", "0?3:7") in new stack -- Goto (from-remote-hosts,6302,7) -- Executing Macro("IAX2/amd@$AMD_IP$:4569/1", "dialuser|6302|30|tT") in new stack -- Executing Dial("IAX2/amd@$AMD_IP$:4569/1", "SIP/6302|30|tT") in new stack -- Called 6302 -- SIP/6302-21f8 is ringing -- SIP/6302-21f8 answered IAX2/amd@$AMD_IP$:4569/1 dell-itbx1*CLI> show channels Channel (Context Extension Pri ) State Appl. Data SIP/6302-21f8 (from-ip-phones 1 ) Up Bridged Call IAX2/amd@$AMD_IP$:4569/1 IAX2/amd@$AMD_IP$:4569/1 (macro-dialuser s 102 ) Up Dial SIP/6302|30|tT 2 active channel(s) == Spawn extension (from-ip-phones, 6203, 0) exited non-zero on 'IAX2/amd@$AMD_IP$:4569/1' in macro 'dialuser' == Spawn extension (from-ip-phones, 6203, 0) exited non-zero on 'IAX2/amd@$AMD_IP$:4569/1' ## Step 2 ## The operator transfers the call to Bradd (ext. 6203) ## Reminder : _62XX are register on 'amd' and _63XX on 'dell' -- Executing SetGroup("IAX2/amd@$AMD_IP$:4569/1", "IAX") in new stack -- Executing NoOp("IAX2/amd@$AMD_IP$:4569/1", "") in new stack -- Executing GotoIf("IAX2/amd@$AMD_IP$:4569/1", "0?4:7") in new stack -- Goto (from-ip-phones,6203,7) -- Executing SetVar("IAX2/amd@$AMD_IP$:4569/1", "NumToDial=6203") in new stack -- Executing Dial("IAX2/amd@$AMD_IP$:4569/1", "IAX2/dell:$password$@$AMD_IP$/6203|300|rF") in new stack -- Called dell:$password$@$AMD_IP$/6203 -- Call accepted by $AMD_IP$ (format gsm) -- Format for call is gsm -- IAX2/$AMD_IP$:4569/2 is ringing -- IAX2/$AMD_IP$:4569/2 answered IAX2/amd@$AMD_IP$:4569/1 -- Attempting native bridge of IAX2/amd@$AMD_IP$:4569/1 and IAX2/$AMD_IP$:4569/2 -- Channel 'IAX2/amd@$AMD_IP$:4569/1' ready to transfer -- Channel 'IAX2/$AMD_IP$:4569/2' ready to transfer -- Releasing IAX2/$AMD_IP$:4569/2 and IAX2/amd@$AMD_IP$:4569/1 -- Hungup 'IAX2/$AMD_IP$:4569/2' == Spawn extension (from-ip-phones, 6203, 10) exited non-zero on 'IAX2/amd@$AMD_IP$:4569/1' -- Executing Macro("IAX2/amd@$AMD_IP$:4569/1", "hangup") in new stack -- Executing Hangup("IAX2/amd@$AMD_IP$:4569/1", "SIP/6203") in new stack == Spawn extension (macro-hangup, s, 1) exited non-zero on 'IAX2/amd@$AMD_IP$:4569/1' in macro 'hangup' == Spawn extension (from-ip-phones, h, 1) exited non-zero on 'IAX2/amd@$AMD_IP$:4569/1' -- Hungup 'IAX2/amd@$AMD_IP$:4569/1' dell-itbx1*CLI> show channels Channel (Context Extension Pri ) State Appl. Data 0 active channel(s) ## Step 3 ## Receives a remote IAX2 incoming call from Bob (ext. 6202) to the Bert (ext. 6303) transfered by Brad (ext. 6203) ## Reminder : _62XX are register on 'amd' and _63XX on 'dell' -- Accepting AUTHENTICATED call from $AMD_IP$, requested format = 2, actual format = 2 -- Executing SetVar("IAX2/amd@$AMD_IP$:4569/3", "CALLEDID=6303") in new stack -- Executing GotoIf("IAX2/amd@$AMD_IP$:4569/3", "0?3:7") in new stack -- Goto (from-remote-hosts,6303,7) -- Executing Macro("IAX2/amd@$AMD_IP$:4569/3", "dialuser|6303|30|tT") in new stack -- Executing Dial("IAX2/amd@$AMD_IP$:4569/3", "SIP/6303|30|tT") in new stack -- Called 6303 -- SIP/6303-f794 is ringing -- SIP/6303-f794 answered IAX2/amd@$AMD_IP$:4569/3 dell-itbx1*CLI> show channels Channel (Context Extension Pri ) State Appl. Data SIP/6303-f794 (from-ip-phones 1 ) Up Bridged Call IAX2/amd@$AMD_IP$:4569/3 IAX2/amd@$AMD_IP$:4569/3 (macro-dialuser s 102 ) Up Dial SIP/6303|30|tT 2 active channel(s) dell-itbx1*CLI> ## Call have been dropped on 'amd', but the channels will stay active until Bert (ext 6303) hangs up