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

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Sep 7 11:10:39 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 11:10 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().

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

---------------------------------------------------------------------- 
 junky - 09-07-07 11:10  
---------------------------------------------------------------------- 
hi, maybe its unrelated to http://bugs.digium.com/view.php?id=10636.
This patch solves all issues for that customers which having more then
1100 calls per days.
Like I said earlier, this patch wasnt tested for ExtraChannel, since I
didnt need that in this install.

Just try to redirect (without ExtraChannel), with and without this patch,
you will see the difference.

the reason is quite simple:
a person is talking in a meetme room and i want that person go at some
other meetme room for talking with other people. 

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




More information about the asterisk-bugs mailing list