summaryrefslogtreecommitdiff
path: root/configs/extensions.conf.sample
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2001-10-03 21:24:16 +0000
committerMark Spencer <markster@digium.com>2001-10-03 21:24:16 +0000
commitcb5561655e077043565def584c79ef04ab7a6f1e (patch)
tree36b7ee6cabcf2cd3871ef254c3dbcab288885688 /configs/extensions.conf.sample
parentf9e75aa6eaeae9909a4c268f78f40eb436be4676 (diff)
Version 0.1.9 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@362 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs/extensions.conf.sample')
-rwxr-xr-xconfigs/extensions.conf.sample42
1 files changed, 38 insertions, 4 deletions
diff --git a/configs/extensions.conf.sample b/configs/extensions.conf.sample
index 9ac1a4346..8f10fef2d 100755
--- a/configs/extensions.conf.sample
+++ b/configs/extensions.conf.sample
@@ -15,22 +15,55 @@
;
static=yes
+;
+; if stati=yes and writeprotect=no, you can save dialplan by
+; CLI command 'save dialplan' too
+;
+writeprotect=no
+
; Remote things always ring all phones first.
;[remote]
;exten => s,1,Dial,AdtranVoFR/4200&AdtranVoFR/4151&AdtranVoFR/4300|15
;exten => s,2,Goto,default|s|2
;include => default
+;
+; Here are the entries you need to participate in the IAXTEL
+; call routing system. Most IAXTEL numbers begin with 1-700, but
+; there are exceptions. For more information, and to sign
+; up, please go to www.gnophone.com or www.iaxtel.com
+;
+[iaxtel]
+exten => _91NXXNXXXXXX,1,StripMSD,1
+exten => _1NXXNXXXXXX,2,Dial,IAX/iaxtel.com/BYEXTENSION@iaxtel
+
; Local stuff
-;[local]
-;exten => s,1,Goto,defaults|s|2
+[local]
; Special extension for local phone numbers, long distance, etc, going
; out via the Frame Relay interface. Patterns are prefixed with "_", which
; is ignored.
+;
+; ignorepat can be used to instruct drivers to not cancel dialtone upon
+; receipt of a particular pattern. The most commonly used example is
+; of course '9' like this:
+;
+; ignorepat => 9
+;
+; so that dialtone remains even after dialing a 9.
+;
+ignorepat => 9
;exten => _9NXXXXXX,1,Dial,AdtranVoFR/BYEXTENSION
;exten => _91NXXNXXXXXX,1,Dial,AdtranVoFR/BYEXTENSION
;exten => _9911,1,Dial,AdtranVoFR/BYEXTENSION
-;include => default
+include => default
+include => iaxtel
+;
+; You can use an alternative switch type as well, to resolve
+; extensions that are not known here, for example with remote
+; IAX switching you transparently get access to the remote
+;
+; switch => IAX/user:password@bigserver/local
+
[default]
;
@@ -53,7 +86,8 @@ exten => 3,2,Goto,s|5 ; Start with the congratulations
; We also create an example user, 1234, who is on the console and has
; voicemail, etc.
;
-exten => 1234,1,Playback,transfer ; "Please hold while..."
+exten => 1234,1,Playback,transfer|skip ; "Please hold while..."
+ ; (but skip if channel is not up)
exten => 1234,2,Dial,Console/dsp|10 ; Ring the console, 10 secs max
exten => 1234,3,Playback,vm/1234/unavail ; "I'm not here right now"
exten => 1234,4,Voicemail,1234 ; Send to voicemail...