[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
Wed Apr 2 11:35:36 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-02-2008 11:35 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-02-08 11:35  
---------------------------------------------------------------------- 
Basic functionality work as expected.

I have two corner cases though:

1. If Incomplete timeouts (and no additional digits was received), it
restarts itself (that is, it re-enters the same _8111! it originally
matched). Better would be to detect timeout and go to 't' (or to next
priority).

2. It properly detects if the additional digits make the extension
invalid. But when that happens, it apparently just hangups(?). How about
going to 'i'? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-02-08 11:35  fabled         Note Added: 0084933                          
======================================================================




More information about the asterisk-bugs mailing list