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

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Sep 7 10:11:56 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 10:11 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 10:11  
---------------------------------------------------------------------- 
Ok, i managed to get my * box back up..

This patch doesn't help me in any way. I tested with chan->pbx = NULL, and
also with added chan2->pbx = NULL. 

I think this is completely unrelated issue - i got problems with third
channel, my redirects are going just fine.

I'm using SVN-branch-1.4-r81832.

P.S. 
junky, your log is quite unreadable. You have two different channel names
(and destination contexts) in Redirect samples, and log have another
channel name. You could provide "core show channels verbose", then Redirect
sample, then again "core show channels", and then log with the same channel
names. 

P.P.S. 
I really don't understand - you are in meetme room, and then you redirect
again to meetme room? why would you? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-07-07 10:11  atis           Note Added: 0070105                          
======================================================================




More information about the asterisk-bugs mailing list