[asterisk-bugs] [Asterisk 0011382]: Dial option G does not handle labels under some conditions

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Nov 30 18:08:23 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11382 
====================================================================== 
Reported By:                jon
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   11382
Category:                   Applications/app_dial
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:            1.4.13  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-26-2007 17:35 CST
Last Modified:              11-30-2007 18:08 CST
====================================================================== 
Summary:                    Dial option G does not handle labels under some
conditions
Description: 
The G option is able to process the priority at G(label) but not
G(label)+1. Using G(s^label) seems to work fine so I'm using that as a
workaround.
====================================================================== 

---------------------------------------------------------------------- 
 jon - 11-30-07 18:08  
---------------------------------------------------------------------- 
Close, 

The supplied patch caused both the called and calling party to jump to the
same extension. Made the following change and created 11382-2.patch. Dial's
G option now works as intended on 1.4.13 with a 21 line fudge. I don't
think the huge comment is necessary, but it doesn't hurt...

-peer->priority = chan->priority + 1;
+peer->priority = chan->priority + 2; 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-30-07 18:08  jon            Note Added: 0074622                          
======================================================================




More information about the asterisk-bugs mailing list