aboutsummaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>1999-12-05 07:09:27 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>1999-12-05 07:09:27 +0000
commitcf38740db3247ad69d6c6ad5a2b9693aadefca02 (patch)
treede8b284e53e13ef2e2a40b595eac7d961aed9d44 /configs
parent8e2d6060131752f269b65bcb7bc5077a772a31c4 (diff)
Version 0.1.0 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@90 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs')
-rwxr-xr-xconfigs/adtranvofr.conf.sample37
-rwxr-xr-xconfigs/extensions.conf.sample118
-rwxr-xr-xconfigs/ixj.conf.sample19
-rwxr-xr-xconfigs/modules.conf.sample14
-rwxr-xr-xconfigs/voicemail.conf.sample14
5 files changed, 202 insertions, 0 deletions
diff --git a/configs/adtranvofr.conf.sample b/configs/adtranvofr.conf.sample
new file mode 100755
index 000000000..df19e094e
--- /dev/null
+++ b/configs/adtranvofr.conf.sample
@@ -0,0 +1,37 @@
+;
+; Voice over Frame Relay (Adtran style)
+;
+; Configuration file
+;
+[interfaces]
+;
+; Lines for which we are the user termination. They accept incoming
+; and outgoing calls.
+;
+;user=voice00
+;user=voice01
+;user=voice02
+;user=voice03
+;user=voice04
+;user=voice05
+;user=voice06
+;user=voice07
+context=default
+user=voice13
+user=voice14
+user=voice15
+; Calls on 16 and 17 come from the outside world, so they get
+; a little bit special treatment
+context=remote
+user=voice16
+user=voice17
+;
+; Next we have lines which we only accept calls on, and typically
+; do not send outgoing calls on (i.e. these are where we are the
+; network termination)
+;
+;network=voice08
+;network=voice09
+;network=voice10
+;network=voice11
+;network=voice12
diff --git a/configs/extensions.conf.sample b/configs/extensions.conf.sample
new file mode 100755
index 000000000..e654c4597
--- /dev/null
+++ b/configs/extensions.conf.sample
@@ -0,0 +1,118 @@
+;
+; Static extension configuration files, used by
+; the pbx_config module.
+;
+; The "General" category is for certain variables. All other categories
+; are interpreted as extension contexts
+;
+[general]
+;
+; If static is set to no, or omitted, then the pbx_config will rewrite
+; this file when extensions are modified. Remember that all comments
+; made in the file will be lost when that happens.
+;
+static=yes
+
+; 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
+
+; Local stuff
+[local]
+exten=s,1,Goto,defaults|s|2
+; Special extension for local phone numbers, long distance, etc, going
+; out via the Frame Relay interface. Patterns are prefixed with "_", which
+; is ignored.
+exten=_9NXXXXXX,1,Dial,AdtranVoFR/BYEXTENSION
+exten=_91NXXNXXXXXX,1,Dial,AdtranVoFR/BYEXTENSION
+exten=_9911,1,Dial,AdtranVoFR/BYEXTENSION
+
+[default]
+exten=s,1,Wait,0
+exten=s,2,Answer
+exten=s,3,DigitTimeout,5
+exten=s,4,ResponseTimeout,10
+exten=s,5,BackGround,welcome
+exten=*,1,Directory,default
+exten=*,2,Goto,s|4
+exten=#,1,Playback,goodbye
+exten=#,2,Hangup
+exten=100,1,Goto,other|s|1
+exten=200,1,Intercom
+exten=400,1,MP3Player,song8.mp3
+exten=401,1,MP3Player,sample.mp3
+exten=402,1,MP3Player,sunscreen.mp3
+exten=403,1,MP3Player,http://trode.vergenet.net:8000
+exten=404,1,MP3Player,http://216.32.166.94:14900
+exten=405,1,Playback,sample
+;
+; Here's the template for a typical extension, carefully broken apart
+; for analysis. The others are pretty much the same, but not as well
+; documented.
+;
+; Step 1: Play back a "Please hold while I try that extension" message
+exten=4300,1,Playback,transfer
+; Step 2: Dial the numbers where Ben is likely to be. Try for no more
+; than 15 seconds.
+exten=4300,2,Dial,AdtranVoFR/4300|15
+; Step 3: If there is no answer, play back a message stating that Ben is
+; unavailable. Alternatively, we could have rung an operator first.
+exten=4300,3,Playback,vm/4300/unavail
+; Step 4: Send them to voicemail.
+exten=4300,4,Voicemail,4300
+; Step 5: If they return from voicemail, go back to the top
+exten=4300,5,Goto,s|4
+; Step 103: If the Dialing is busy, it will try here first. We'll play a
+; special "I'm busy" message...
+exten=4300,103,Playback,vm/4300/busy
+; Step 104: And then continue as if it had been busy in the first place.
+exten=4300,104,Goto,4
+; Exten. 4301: Provide a short-circuit so we can transfer striaght to
+; voicemail.
+exten=4301,1,Goto,4300|3
+; Exten. 4302: Provide a way to ring a given phone indefinitely
+exten=4302,1,Dial,AdtranVoFR/4300
+
+exten=4200,1,Playback,transfer
+exten=4200,2,Dial,AdtranVoFR/4200|15
+exten=4200,3,Playback,vm/4200/unavail
+exten=4200,4,Voicemail,4200
+exten=4200,5,Goto,s|4
+exten=4200,103,Playback,vm/4200/busy
+exten=4200,104,Goto,4
+exten=4201,1,Goto,4200|3
+exten=4202,1,Dial,AdtranVoFR/4200
+
+exten=4230,1,Dial,PhoneJack/ixj0
+
+exten=4110,1,Playback,transfer
+;exten=4110,2,Dial,AdtranVoFR/4110|15
+exten=4110,2,Wait,5
+exten=4110,3,Playback,vm/4110/unavail
+exten=4110,4,Voicemail,4110
+exten=4110,5,Goto,s|4
+exten=4110,103,Playback,vm/4110/busy
+exten=4110,104,Goto,4
+exten=4111,1,Goto,4110|3
+exten=4112,1,Dial,AdtranVoFR/4110
+exten=4113,1,Voicemail,s4110
+
+exten=8500,1,VoicemailMain
+exten=8500,2,Goto,s|4
+exten=762,1,Playback,somepeople
+exten=762,2,Wait,4
+exten=762,3,Goto,s|4
+
+; Timeout stuff... We could send to an operator, or just ditch them.
+exten=t,1,Goto,#|1
+exten=i,1,BackGround,invalid
+
+[other]
+exten=s,1,Playback,digits/9
+exten=s,2,Playback,digits/8
+exten=s,3,Playback,digits/7
+exten=s,4,Goto,100|1
+exten=100,1,Playback,digits/6
+exten=100,2,Playback,digits/5
+exten=100,3,Goto,default|s|4
diff --git a/configs/ixj.conf.sample b/configs/ixj.conf.sample
new file mode 100755
index 000000000..ed6be96c1
--- /dev/null
+++ b/configs/ixj.conf.sample
@@ -0,0 +1,19 @@
+;
+; Internet Phone Jack
+;
+; Configuration file
+;
+[interfaces]
+;
+; Select a mode, either the line jack provides dialtone, reads digits,
+; then starts PBX with the given extension (dialtone mode), or
+; immediately provides the PBX without reading any digits or providing
+; any dialtone (this is the immediate mode, the default)
+;
+;mode=immediate
+mode=dialtone
+;
+; List all devices we can use.
+;
+context=local
+device=/dev/ixj0
diff --git a/configs/modules.conf.sample b/configs/modules.conf.sample
new file mode 100755
index 000000000..2fe03093b
--- /dev/null
+++ b/configs/modules.conf.sample
@@ -0,0 +1,14 @@
+;
+; Asterisk configuration file
+;
+; Module Loader configuration file
+;
+[modules]
+autoload=yes
+;load=pbx_gtkconsole.so
+noload=pbx_gtkconsole.so
+noload=pbx_kdeconsole.so
+noload=app_intercom.so
+;load=chan_vofr.so
+;load=chan_h323.so
+
diff --git a/configs/voicemail.conf.sample b/configs/voicemail.conf.sample
new file mode 100755
index 000000000..2d30f3fa0
--- /dev/null
+++ b/configs/voicemail.conf.sample
@@ -0,0 +1,14 @@
+;
+; Voicemail Configuration
+;
+[general]
+; Default format for writing Voicemail
+; format=g723sf|rawgsm|mp3|wav
+format=g723sf|wav
+
+[default]
+4200=2345,Mark Spencer,markster@linux-support.net
+4300=2345,Ben Rigas,ben@american-computer.net
+4310=2345,Sales,sales@marko.net
+4069=2345,Matt Brooks,matt@marko.net
+4110=1379,Rob Flynn,rflynn@blueridge.net