[asterisk-bugs] [Asterisk 0013632]: [patch] Shortcut for duplicating the last extension, so the pattern doesn't need to be repeated

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Oct 10 13:21:19 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13632 
====================================================================== 
Reported By:                blitzrage
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   13632
Category:                   PBX/pbx_config
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 146799 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-06 18:42 CDT
Last Modified:              2008-10-10 13:21 CDT
====================================================================== 
Summary:                    [patch] Shortcut for duplicating the last extension,
so the pattern doesn't need to be repeated
Description: 
As discussed with Leif Madsen at Astricon, this creates a shortcut in
extensions.conf, such that the last pattern used in extensions.conf is
repeatable by defining a "same" variable.  The value of the "same" variable
starts with the corresponding priority (usually "n"), such that an example
might be:

<pre>exten => _1NXXNXXXXXX,1,NoOp(long distance number)
same =>               n,DoSomethingElse
...</pre>
====================================================================== 

---------------------------------------------------------------------- 
 (0093495) svnbot (reporter) - 2008-10-10 13:21
 http://bugs.digium.com/view.php?id=13632#c93495 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 148325

U   trunk/CHANGES
U   trunk/pbx/pbx_config.c

------------------------------------------------------------------------
r148325 | tilghman | 2008-10-10 13:21:17 -0500 (Fri, 10 Oct 2008) | 8
lines

Add keyword "same", which allows you to create multiple steps in a
dialplan,
without needing to respecify an extension pattern multiple times.
(closes issue http://bugs.digium.com/view.php?id=13632)
 Reported by: blitzrage
 Patches: 
       20081006__bug13632.diff.txt uploaded by Corydon76 (license 14)
 Tested by: blitzrage, Corydon76

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=148325 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-10 13:21 svnbot         Checkin                                      
2008-10-10 13:21 svnbot         Note Added: 0093495                          
======================================================================




More information about the asterisk-bugs mailing list