[asterisk-bugs] [Asterisk 0010661]: [patch] fix the redirect thru the ami

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Sep 7 02:24:03 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10661 
====================================================================== 
Reported By:                junky
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10661
Category:                   Core/PBX
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 81858 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             09-06-2007 17:28 CDT
Last Modified:              09-07-2007 02:24 CDT
====================================================================== 
Summary:                    [patch] fix the redirect thru the ami
Description: 
When you have a channel in a meetme room (and inside an AGI), if you
redirect throught the AMI, you get

Action: Redirect
Channel: SIP/10-0822b188
Context: meetme
Exten: 19
Priority: 2

Response: Success
Message: Redirect successful

but the channel is hanguped instead of being redirected correctly.

this is the command used in the AMI:
Action: Redirect
Channel: SIP/10-08231dd8
Context: meetme
Exten: 19
Priority: 1

with this patch, for an unknown reason, the chan->pbx has to be NULL so it
could branched correctly in pbx.c::ast_explicit_goto().

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

---------------------------------------------------------------------- 
 atis - 09-07-07 02:24  
---------------------------------------------------------------------- 
testing right now. i have some problems with applying this patch, it seems
to me totally unrelated to code, but i got asterisk crashes on regular
calls..

Btw, shouldn't you also set chan2? I think, it's used for ExtraChannel
argument. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-07-07 02:24  atis           Note Added: 0070088                          
======================================================================




More information about the asterisk-bugs mailing list