summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-asterisk/root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-asterisk/root/etc')
-rw-r--r--applications/luci-app-asterisk/root/etc/config/asterisk231
-rwxr-xr-xapplications/luci-app-asterisk/root/etc/uci-defaults/40_luci-asterisk11
2 files changed, 0 insertions, 242 deletions
diff --git a/applications/luci-app-asterisk/root/etc/config/asterisk b/applications/luci-app-asterisk/root/etc/config/asterisk
deleted file mode 100644
index 248409793c..0000000000
--- a/applications/luci-app-asterisk/root/etc/config/asterisk
+++ /dev/null
@@ -1,231 +0,0 @@
-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 'provider' 'yes'
- 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'
- option 'number' '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/providerphone'
- 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'
- option 'room' '101'
- option 'pin' ''
- option 'adminpin' ''
-
-config 'moh' 'default'
- option 'mode' 'files'
- option 'directory' '/opt/moh'
- option 'random' 'no'
diff --git a/applications/luci-app-asterisk/root/etc/uci-defaults/40_luci-asterisk b/applications/luci-app-asterisk/root/etc/uci-defaults/40_luci-asterisk
deleted file mode 100755
index e45819f602..0000000000
--- a/applications/luci-app-asterisk/root/etc/uci-defaults/40_luci-asterisk
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-uci -q batch <<-EOF >/dev/null
- delete ucitrack.@asterisk[-1]
- add ucitrack asterisk
- set ucitrack.@asterisk[-1].init=asterisk
- commit ucitrack
-EOF
-
-rm -f /tmp/luci-indexcache
-exit 0