[asterisk-bugs] [Asterisk 0012499]: [patch] Channelredirect hangs until hangup

noreply at bugs.digium.com noreply at bugs.digium.com
Fri May 30 13:53:32 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12499 
====================================================================== 
Reported By:                alanmcmillan
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12499
Category:                   Applications/app_channelredirect
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-22-2008 20:45 CDT
Last Modified:              05-30-2008 13:53 CDT
====================================================================== 
Summary:                    [patch] Channelredirect hangs until hangup
Description: 
Channelredirect is not executing the context on the redirected channel when
callee activates a feature via features.conf --

The caller only continues through to the Meetme only after the CALLEE
hangsup . The callee is activating the feature by dialing the *6 once legs
are talking. 

features.conf --

conference => *6,self/callee,Macro,nway-start 

extension.conf ----

exten => _X.,1,Set(_DYNAMIC_FEATURES=conference) 
exten => _X.,n,Dial(ZAP/r1/2064792279)

[dynamic-nway] 
exten => _XXX,1,Answer 
exten => _XXX,n,Set(CONFNO=${EXTEN}) 
exten => _XXX,n,Set(MEETME_EXIT_CONTEXT=dynamic-nway-invite) 
exten => _XXX,n,Set(DYNAMIC_FEATURES=) 
exten => _XXX,n,MeetMe(${CONFNO},pdMX) 
exten => _XXX,n,Hangup 

[dynamic-invite] 
exten => 0,1,Read(DEST,dial,,i) 
exten => 0,n,Set(DYNAMIC_FEATURES=nway-inv#nway-noinv) 
exten => 0,n,Dial(ZAP/r1/${DEST}@dynamic-nway-dest,,g) 
exten => 0,n,Set(DYNAMIC_FEATURES=) 
exten => 0,n,Goto(dynamic-nway,${CONFNO},1) 
exten => i,1,Goto(dynamic-nway,${CONFNO},1) 


[dynamic-nway-dest] 
exten => _XXX,1,Dial(ZAP/r1/${EXTEN}) 

[macro-nway-start] 
exten => s,1,Set(CONFNO=300)
exten => s,n,ChannelRedirect(${BRIDGEPEER},dynamic-nway,${CONFNO},1) 
exten => s,n,Read(DEST,dial,,i) 
exten => s,n,Set(DYNAMIC_FEATURES=nway-inv#nway-noinv) 
exten => s,n,Dial(ZAP/r1/${DEST},,g) 
exten => s,n,Set(DYNAMIC_FEATURES=) 
exten => s,n,Goto(dynamic-nway,${CONFNO},1) 

The caller only continues through to the Meetme only after the CALLEE
hangus up.


====================================================================== 

---------------------------------------------------------------------- 
 alanmcmillan - 05-30-08 13:53  
---------------------------------------------------------------------- 
I tried the patch on trunk and it still hangs until the called person hangs
up. The call flow is - Aleg (caller) calls a number thru zap then asterisk
calls out to the Bleg via zap.  The Bleg decides he want to have a three
way call and dials *6. feature activation code for the conference. This
should send the ALeg to an empty conference. But it hangs until the Bleg
hangs up and then it goes into  the conference.

Thanks for helping out! 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-30-08 13:53  alanmcmillan   Note Added: 0087568                          
======================================================================




More information about the asterisk-bugs mailing list