[Asterisk-cvs] asterisk/configs extensions.conf.sample,1.3,1.4
markster at lists.digium.com
markster at lists.digium.com
Wed Oct 22 13:46:23 CDT 2003
Update of /usr/cvsroot/asterisk/configs
In directory mongoose.digium.com:/tmp/cvs-serv25029/configs
Modified Files:
extensions.conf.sample
Log Message:
Make STRIPMSD configurable in default extensions.conf
Index: extensions.conf.sample
===================================================================
RCS file: /usr/cvsroot/asterisk/configs/extensions.conf.sample,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- extensions.conf.sample 26 Jun 2003 01:36:29 -0000 1.3
+++ extensions.conf.sample 22 Oct 2003 19:12:24 -0000 1.4
@@ -31,6 +31,7 @@
IAXINFO=guest ; IAXtel username/password
;IAXINFO=myuser:mypass
TRUNK=Zap/g2 ; Trunk interface
+TRUNKMSD=1 ; MSD digits to strip (usually 1 or 0)
;TRUNK=IAX2/user:pass at provider
;
@@ -93,34 +94,34 @@
;
; International long distance through trunk
;
-exten => _9011.,1,Dial(${TRUNK}/${EXTEN:1})
+exten => _9011.,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _9011.,2,Congestion
[trunkld]
;
; Long distance context accessed through trunk
;
-exten => _91NXXNXXXXXX,1,Dial(${TRUNK}/${EXTEN:1})
+exten => _91NXXNXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _91NXXNXXXXXX,2,Congestion
[trunklocal]
;
; Local seven-digit dialing accessed through trunk interface
;
-exten => _9NXXXXXX,1,Dial(${TRUNK}/${EXTEN:1})
+exten => _9NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _9NXXXXXX,2,Congestion
[trunktollfree]
;
; Long distance context accessed through trunk interface
;
-exten => _91800NXXXXXX,1,Dial(${TRUNK}/${EXTEN:1})
+exten => _91800NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _91800NXXXXXX,2,Congestion
-exten => _91888NXXXXXX,1,Dial(${TRUNK}/${EXTEN:1})
+exten => _91888NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _91888NXXXXXX,2,Congestion
-exten => _91877NXXXXXX,1,Dial(${TRUNK}/${EXTEN:1})
+exten => _91877NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _91877NXXXXXX,2,Congestion
-exten => _91866NXXXXXX,1,Dial(${TRUNK}/${EXTEN:1})
+exten => _91866NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _91866NXXXXXX,2,Congestion
[international]
@@ -287,6 +288,10 @@
; Or a conference room (you'll need to edit meetme.conf to enable this room)
;
;exten => 8600,1,Meetme,1234
+;
+; Or playing an announce to the called party, as soon it answers
+;
+;exten = 8700,1,Dial(${MARK},30,A(/path/to/my/announcemsg))
;
; For more information on applications, just type "show applications" at your
; friendly Asterisk CLI prompt.
More information about the svn-commits
mailing list