[asterisk-bugs] [Asterisk 0016437]: [patch] Unable to escape back to dialplan or operator, using 'o' and 'a' extensions in dialcontext

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Dec 13 20:01:28 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16437 
====================================================================== 
Reported By:                alecdavis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16437
Category:                   Applications/app_directory
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 233619 
Request Review:              
====================================================================== 
Date Submitted:             2009-12-13 18:56 CST
Last Modified:              2009-12-13 20:01 CST
====================================================================== 
Summary:                    [patch] Unable to escape back to dialplan or
operator, using 'o' and 'a' extensions in dialcontext
Description: 
Users cannot get back to the main menu that called app_directory by
pressing the '*' which is configured to start over and beginning of
dialplan entry.

Likewise, the option of dialling '0' while in the Directory application
should execute the 'exten => o,1,NoOp(The Operator) ...

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

---------------------------------------------------------------------- 
 (0115176) alecdavis (reporter) - 2009-12-13 20:01
 https://issues.asterisk.org/view.php?id=16437#c115176 
---------------------------------------------------------------------- 
uploaded extensions_o_a.diff.txt

If valid 'o' or 'a' extension exist in the dialcontext then let pbx
execute them.

<u>Previously:</u>
  pressing '0' or '*' caused do_directory() to return 0.

  returning 0 from do_directory, keeps user in 'directory_exec' for(;;)
loop.
  returning -1 from do_directory, breaks out of 'directory_exec' for(;;)
loop.

<u>Now:</u>
  pressing '0' or '*' causes do_directory() to return '0' or '*'.

  returning 0 from do_directory, keeps user in 'directory_exec' for(;;)
loop.
  returning NonZero from do_directory, breaks out of 'directory_exec'
for(;;) loop, and will dialplan will continue on at appropriate extension
dialcontext:exten=>o,1,... or dialcontext:exten=>a,1,...
  returning -1 from do_directory, breaks out of 'directory_exec' for(;;)
loop, and will cause a Hangup. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-13 20:01 alecdavis      Note Added: 0115176                          
======================================================================




More information about the asterisk-bugs mailing list