[asterisk-bugs] [Asterisk 0012351]: [patch] Permit dialplan to control if more digits should be entered

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Apr 3 07:54:16 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12351 
====================================================================== 
Reported By:                Corydon76
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12351
Category:                   Core/NewFeature
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 112321 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-02-2008 01:32 CDT
Last Modified:              04-03-2008 07:54 CDT
====================================================================== 
Summary:                    [patch] Permit dialplan to control if more digits
should be entered
Description: 
Inspired by a post on the mailing list, this new application, Incomplete,
permits a user to specify that an extension is incomplete and that the PBX
should wait for more digits to add to the current extension.

exten => _8111!,1,Incomplete
exten => 8111222333,1,SayUnixtime

will wait until either "8111222333" is fully dialled (even if 8111 is sent
from a SIP INVITE) or until the digits entered can no longer match that
extension.
====================================================================== 

---------------------------------------------------------------------- 
 fabled - 04-03-08 07:54  
---------------------------------------------------------------------- 
The invalid part didn't work. Later on in the code, it would go to else
block with comment "keypress received, get more digits for a full
extension". Since digit would be zero, it would do whatever autofallthrough
says. I updated that to work and also added timeout functionality. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-03-08 07:54  fabled         Note Added: 0084979                          
======================================================================




More information about the asterisk-bugs mailing list