summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-09-25 21:08:30 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-09-25 21:08:30 +0000
commit590f88b6fa117f8fa5c05e9ed4bf8a1287a72668 (patch)
tree67a92251a627fe65f8f93751780b3492f499171d
parent37ff3ad073935bc0ee4e05a2aef28dddc6a9d56f (diff)
* luci/app/asterisk: add default config
-rw-r--r--applications/luci-asterisk/root/etc/config/asterisk228
1 files changed, 228 insertions, 0 deletions
diff --git a/applications/luci-asterisk/root/etc/config/asterisk b/applications/luci-asterisk/root/etc/config/asterisk
new file mode 100644
index 000000000..8586a5562
--- /dev/null
+++ b/applications/luci-asterisk/root/etc/config/asterisk
@@ -0,0 +1,228 @@
+config 'asterisk'
+ option 'verbose' 3
+ option 'debug' 3
+ option 'zone' 'Australia/Perth'
+
+config 'hardware' 'reboot'
+ option 'method' 'web'
+ option 'param' 'http://ata.lan/admin/reboot'
+
+config 'feature' 'park'
+ option 'parkenabled' 'yes'
+ option 'parkext' '700'
+ option 'parkpos' '701-720'
+ option 'context' 'parkedcalls'
+ option 'parkingtime' '45'
+ option 'courtesytone' 'beep'
+ option 'parkedplay' 'caller'
+ option 'adsipark' 'yes'
+ option 'findslot' 'first'
+ option 'parkedmusicclass' 'default'
+ option 'transferdigittimeout' '3'
+ option 'xfersound' 'beep'
+ option 'xferfailsound' 'beeperr'
+ option 'pickupexten' '"*8"'
+ option 'featuredigittimeout' '500'
+ option 'atxfernoanswertimeout' '15'
+
+config 'feature' 'map'
+ option 'blindxfer' '#1'
+ option 'disconnect' '*0'
+ option 'automon' '*1'
+ option 'atxfer' '#2'
+ option 'parkcall' '#30'
+
+config 'sipgeneral'
+ option 'realm' 'sip.mydomain.net'
+ option 'allow' 'alaw'
+ option 'extension' '102'
+
+config 'module'
+ option 'res_config_mysql' 'no'
+ option 'res_crypto' 'auto'
+ option 'chan_iax2' 'yes'
+
+config 'sip' 'PAP2T'
+ option 'type' 'friend'
+ option 'extension' '101'
+ option 'username' 'PAP2T'
+ option 'secret' 'mypass'
+ option 'port' '5061'
+ option 'host' ''
+ option 'dtmfmode' 'rfc2833'
+ option 'insecure' 'very'
+ option 'context' 'internal'
+ option 'mailbox' '1001@default'
+ option 'nat' 'no'
+ option 'canreinvite' 'nonat'
+ option 'selfmailbox' 'yes'
+ option 'incoming' 'provider_inbound'
+
+config 'sip' 'PAP2T2'
+ option 'type' 'friend'
+ option 'extension' '101'
+ option 'username' 'PAP2T2'
+ option 'secret' 'mysecret'
+ option 'port' '5060'
+ option 'host' ''
+ option 'dtmfmode' 'rfc2833'
+ option 'insecure' 'very'
+ option 'context' 'internal'
+ option 'mailbox' '1001@default'
+ option 'nat' 'no'
+ option 'canreinvite' 'nonat'
+ option 'selfmailbox' 'yes'
+ option 'incoming' 'provider_inbound'
+
+config 'sip' 'providerphone'
+ option 'type' 'friend'
+ option 'timeout' '55'
+ option 'internationalprefix' '0011'
+ option 'alwaysinternational' 'no'
+ option 'countrycode' '63'
+ option 'register' 'yes'
+ option 'host' '200.200.200.200'
+ option 'username' '0899999999'
+ option 'fromuser' '0899999999'
+ option 'secret' 'mysecret'
+ option 'fromdomain' 'providerphone.provider.net.au'
+ option 'context' 'provider_inbound'
+ option 'canreinvite' 'no'
+ option 'nat' 'yes'
+ option 'qualify' 'yes'
+ option 'insecure' 'very'
+ option 'pedantic' 'no'
+ option 'qualify' '1000'
+
+config 'iaxgeneral'
+ option 'static' 'yes'
+ option 'writeprotect' 'no'
+ option 'canreinvite' 'no'
+ option 'allow' 'ulaw,gsm'
+
+config 'iax' 'nell'
+ option 'type' 'friend'
+ option 'extension' '108'
+ option 'host' ''
+ option 'username' 'nell'
+ option 'secret' 'mypass'
+ option 'context' 'internal'
+
+config 'iax' 'iax_vista'
+ option 'extension' '106'
+ option 'type' 'friend'
+ option 'host' ''
+ option 'username' 'vista'
+ option 'secret' 'mysecret'
+ option 'context' 'internal'
+
+config 'iax' 'sam'
+ option 'type' 'friend'
+ option 'extension' '103'
+ option 'host' ''
+ option 'username' 'sam'
+ option 'secret' 'mysecret'
+ option 'context' 'internal'
+
+config 'voicegeneral'
+ option 'serveremail' 'voice@sip.mydomain.net'
+
+config 'voicemail' '1001'
+ option 'context' 'default'
+ option 'password' '0000'
+ option 'name' 'Family'
+ option 'email' 'us@mydomain.net'
+ option 'zone' 'wa'
+ option 'attach' 'no'
+
+config 'voicezone' 'wa'
+ option 'zone' 'Australia/Perth'
+ option 'message' 'Q IMp'
+
+config 'voicezone' 'military'
+ option 'zone' 'Zulu'
+ option 'message' '"vm-received" q "digits/at" H N "hours" "phonetic/z_p"'
+
+config 'incominggeneral'
+ option 'allowtransfer' 'no'
+ option 'timeout' '20'
+ option 'answerfirst' 'no'
+ option 'mailbox' '1001@default'
+
+config 'dialplangeneral'
+ option 'static' 'yes'
+ option 'writeprotect' 'no'
+ option 'canreinvite' 'no'
+ option 'clearglobalvars' 'no'
+ option 'allowtransfer' 'no'
+
+config 'dialplan' 'internal'
+ option 'include' 'localcall,interstate,smartnumber,emergency,extensions'
+
+config 'dialplanvoice'
+ option 'dialplan' 'internal'
+ option 'extension' '1001'
+ option 'voicecontext' 'default'
+ option 'voicebox' '1001'
+
+config 'dialplansaytime'
+ option 'dialplan' 'internal'
+ option 'extension' '108'
+
+config 'dialplanmeetme'
+ option 'dialplan' 'internal'
+ option 'extension' '109'
+ option 'room' '101'
+
+config 'dialplanmeetme'
+ option 'dialplan' 'internal'
+ option 'extension' '1009'
+ option 'room' ''
+
+config 'dialplan' 'localinternational'
+ option 'include' 'mobile,interstate'
+
+config 'dialzone' 'interstate'
+ option 'uses' 'SIP/providerphone'
+ option 'match' '0[235-8]NXXXXXXX'
+ option 'localprefix' '0'
+
+config 'dialzone' 'mobile'
+ option 'uses' 'SIP/iinetphone'
+ option 'match' '04XXXXXXXX'
+ option 'localprefix' '0'
+
+config 'dialzone' 'smartnumber'
+ option 'uses' 'SIP/providerphone'
+ option 'match' '1[835]00.'
+ option 'match' '13ZXXX'
+
+config 'dialzone' 'emergency'
+ option 'uses' 'SIP/providerphone'
+ option 'match' '000'
+ option 'match' '112'
+
+config 'dialzone' 'localcall'
+ option 'uses' 'SIP/providerphone'
+ option 'match' 'NXXXXXXX'
+ option 'addprefix' '08'
+ option 'localprefix' '0'
+
+config 'dialzone' 'international'
+ option 'uses' 'SIP/providerphone'
+ option 'international' '0011,+'
+ option 'localzone' 'localinternational'
+ option 'localprefix' '0'
+ option 'addprefix' ''
+
+config 'meetmegeneral'
+ option 'audiobuffers' '32'
+
+config 'meetme' '101'
+ option 'pin' ''
+ option 'adminpin' ''
+
+config 'moh' 'default'
+ option 'mode' 'files'
+ option 'directory' '/opt/moh'
+ option 'random' 'no'