[asterisk-commits] tilghman: branch 1.4 r245944 - /branches/1.4/configs/extensions.conf.sample

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 10 07:37:18 CST 2010


Author: tilghman
Date: Wed Feb 10 07:37:13 2010
New Revision: 245944

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=245944
Log:
Include examples of FILTER usage in extension patterns where a "." may be a risk.

Modified:
    branches/1.4/configs/extensions.conf.sample

Modified: branches/1.4/configs/extensions.conf.sample
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/configs/extensions.conf.sample?view=diff&rev=245944&r1=245943&r2=245944
==============================================================================
--- branches/1.4/configs/extensions.conf.sample (original)
+++ branches/1.4/configs/extensions.conf.sample Wed Feb 10 07:37:13 2010
@@ -308,7 +308,7 @@
 ; International long distance through trunk
 ;
 exten => _9011.,1,Macro(dundi-e164,${EXTEN:4})
-exten => _9011.,n,Dial(${GLOBAL(TRUNK)}/${EXTEN:${GLOBAL(TRUNKMSD)}})
+exten => _9011.,n,Dial(${GLOBAL(TRUNK)}/${FILTER(0123456789,${EXTEN:${GLOBAL(TRUNKMSD)}})})
 
 [trunkld]
 ;
@@ -578,7 +578,7 @@
 ; An extension like the one below can be used for FWD, Nikotel, sipgate etc.
 ; Note that you must have a [sipprovider] section in sip.conf
 ;
-;exten => _41X.,1,Dial(SIP/${EXTEN:2}@sipprovider,,r)
+;exten => _41X.,1,Dial(SIP/${FILTER(0123456789,${EXTEN:2})}@sipprovider,,r)
 
 ; Real extensions would go here. Generally you want real extensions to be
 ; 4 or 5 digits long (although there is no such requirement) and start with a




More information about the asterisk-commits mailing list