[asterisk] Remove unused sip.conf
This commit is contained in:
parent
9a3fe988df
commit
a19b51ef8e
5 changed files with 8 additions and 128 deletions
|
@ -3,11 +3,6 @@
|
||||||
src: extensions.conf.j2
|
src: extensions.conf.j2
|
||||||
dest: /etc/asterisk/extensions.conf
|
dest: /etc/asterisk/extensions.conf
|
||||||
notify: reload dialplan
|
notify: reload dialplan
|
||||||
- name: Configure SIP devices
|
|
||||||
template:
|
|
||||||
src: sip.conf.j2
|
|
||||||
dest: /etc/asterisk/sip.conf
|
|
||||||
notify: reload sip
|
|
||||||
- name: Configure SIP clients
|
- name: Configure SIP clients
|
||||||
template:
|
template:
|
||||||
src: pjsip.conf.j2
|
src: pjsip.conf.j2
|
||||||
|
|
|
@ -6,9 +6,11 @@ exten => 700,1,Answer()
|
||||||
same = n,Playback(tt-monkeys)
|
same = n,Playback(tt-monkeys)
|
||||||
same = n,Hangup()
|
same = n,Hangup()
|
||||||
|
|
||||||
; 3-digit extensions dial their associated devices
|
3-digit extensions dial their associated devices
|
||||||
exten => _XXX,1,Dial(PJSIP/${EXTEN}, 15)
|
exten => _XXX,1,Dial(PJSIP/${EXTEN}, 15)
|
||||||
same = n,Voicemail(${EXTEN}@sailmaker)
|
same = n,Set(MAILBOXES=${PJSIP_ENDPOINT(${EXTEN},mailboxes)})
|
||||||
|
same = n,ExecIf($[${LEN(${MAILBOXES})} = 0]?Congestion(10))
|
||||||
|
same = n,Voicemail(${MAILBOXES})
|
||||||
same = n,Playback(vm-goodbye)
|
same = n,Playback(vm-goodbye)
|
||||||
same = n,Hangup()
|
same = n,Hangup()
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,7 @@ disallow=all
|
||||||
allow=ulaw
|
allow=ulaw
|
||||||
auth=100
|
auth=100
|
||||||
aors=100
|
aors=100
|
||||||
|
mailboxes=100@sailmaker
|
||||||
|
|
||||||
[100]
|
[100]
|
||||||
type=auth
|
type=auth
|
||||||
|
@ -37,6 +38,7 @@ disallow=all
|
||||||
allow=ulaw
|
allow=ulaw
|
||||||
auth=101
|
auth=101
|
||||||
aors=101
|
aors=101
|
||||||
|
mailboxes=100@sailmaker
|
||||||
|
|
||||||
[101]
|
[101]
|
||||||
type=auth
|
type=auth
|
||||||
|
@ -55,6 +57,7 @@ disallow=all
|
||||||
allow=ulaw
|
allow=ulaw
|
||||||
auth=102
|
auth=102
|
||||||
aors=102
|
aors=102
|
||||||
|
mailboxes=100@sailmaker
|
||||||
|
|
||||||
[102]
|
[102]
|
||||||
type=auth
|
type=auth
|
||||||
|
|
|
@ -1,120 +0,0 @@
|
||||||
[extension](!)
|
|
||||||
type=friend
|
|
||||||
context=extensions
|
|
||||||
host=dynamic
|
|
||||||
trustrpid=no
|
|
||||||
parkinglot=default
|
|
||||||
allowsubscribe=yes
|
|
||||||
notifyhold=no
|
|
||||||
callcounter=yes
|
|
||||||
videosupport=no
|
|
||||||
disallow=all
|
|
||||||
allow=g722,ulaw,alaw,g729
|
|
||||||
|
|
||||||
[cisco-usecallmanager](!,extension)
|
|
||||||
transport=tcp
|
|
||||||
nat=no
|
|
||||||
directmedia=no
|
|
||||||
sendrpid=rpid
|
|
||||||
rpid_update=yes
|
|
||||||
rpid_immediate=yes
|
|
||||||
send_diversion=yes
|
|
||||||
dndbusy=yes
|
|
||||||
cisco_usecallmanager=yes
|
|
||||||
cisco_pickupnotify_alert=from,to
|
|
||||||
cisco_pickupnotify_timer=5
|
|
||||||
cisco_keep_conference=no
|
|
||||||
cisco_multiadmin_conference=yes
|
|
||||||
huntgroup_default=no
|
|
||||||
|
|
||||||
[general]
|
|
||||||
; Only the following ciphers are supported, phone may fail to connect if others are specified
|
|
||||||
tlscipher=ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA
|
|
||||||
; NULL cipher is only needed if you are using Authenticated mode, otherwise is should not be enabled
|
|
||||||
;tlscipher+=:NULL
|
|
||||||
|
|
||||||
[non-secure-mode](!)
|
|
||||||
transport=tcp
|
|
||||||
|
|
||||||
[authenticated-mode](!)
|
|
||||||
transport=tls
|
|
||||||
|
|
||||||
[encrypted-mode](!)
|
|
||||||
transport=tls
|
|
||||||
; The res_srtp module must be loaded.
|
|
||||||
encryption=yes
|
|
||||||
encryption_taglen=80
|
|
||||||
|
|
||||||
[cisco-7941](!,cisco-usecallmanager)
|
|
||||||
; These should match <busyTrigger> and <maxNumCalls> in SEPMAC.cnf.xml
|
|
||||||
busylevel=3
|
|
||||||
call-limit=4
|
|
||||||
; Force huntgroup login so that the prompt does not show the logged out message
|
|
||||||
huntgroup_default=yes
|
|
||||||
|
|
||||||
[cisco-8841](!,cisco-usecallmanager)
|
|
||||||
busylevel=4
|
|
||||||
call-limit=5
|
|
||||||
|
|
||||||
[cisco-8865](!,cisco-usecallmanager)
|
|
||||||
busylevel=4
|
|
||||||
call-limit=5
|
|
||||||
; <videoCapability> also needs to be enabled in SEPMAC.cnf.xml
|
|
||||||
videosupport=yes
|
|
||||||
; Allow the video codec
|
|
||||||
allow=h264
|
|
||||||
|
|
||||||
[cisco-9951](!,cisco-usecallmanager)
|
|
||||||
busylevel=5
|
|
||||||
call-limit=6
|
|
||||||
; <videoCapability> also needs to be enabled in SEPMAC.cnf.xml
|
|
||||||
videosupport=yes
|
|
||||||
; Allow the video codec
|
|
||||||
allow=h264
|
|
||||||
|
|
||||||
[100](cisco-8841,non-secure-mode)
|
|
||||||
secret=mJzTGkXdh02OVXGOaxcH8V3To
|
|
||||||
callerid="Correl" <100>
|
|
||||||
description=Correl
|
|
||||||
callgroup=1
|
|
||||||
pickupgroup=1
|
|
||||||
mailbox=100@sailmaker
|
|
||||||
; Extensions that the phone is watching, they need to be configured in SEPMAC.cnf.xml as well
|
|
||||||
; subscribe=301
|
|
||||||
; subscribe=303
|
|
||||||
; subscribe=381
|
|
||||||
|
|
||||||
[101](extension)
|
|
||||||
secret=5KVzU5Ez77lIIv4SAyzDOnMWo
|
|
||||||
callerid="Correl" <101>
|
|
||||||
description=Correl
|
|
||||||
callgroup=1
|
|
||||||
pickupgroup=1
|
|
||||||
mailbox=100@sailmaker
|
|
||||||
; Extensions that the phone is watching, they need to be configured in SEPMAC.cnf.xml as well
|
|
||||||
; subscribe=301
|
|
||||||
; subscribe=303
|
|
||||||
; subscribe=381
|
|
||||||
|
|
||||||
[102](extension)
|
|
||||||
secret=mpHoQ29k2AiH4EN7IXL9vnE9j
|
|
||||||
callerid="Conference" <102>
|
|
||||||
description=Conference
|
|
||||||
callgroup=1
|
|
||||||
pickupgroup=1
|
|
||||||
mailbox=100@sailmaker
|
|
||||||
; Extensions that the phone is watching, they need to be configured in SEPMAC.cnf.xml as well
|
|
||||||
; subscribe=301
|
|
||||||
; subscribe=303
|
|
||||||
; subscribe=381
|
|
||||||
|
|
||||||
[pstn]
|
|
||||||
type=friend
|
|
||||||
host=dynamic
|
|
||||||
context=incoming
|
|
||||||
secret=wiUxqCvXIPPGexXj3y0htFRho
|
|
||||||
callerid="PSTN"
|
|
||||||
description=PSTN
|
|
||||||
callgroup=1
|
|
||||||
pickupgroup=1
|
|
||||||
mailbox=pstn@default
|
|
|
@ -136,7 +136,7 @@
|
||||||
<sharedLine>false</sharedLine>
|
<sharedLine>false</sharedLine>
|
||||||
<messageWaitingLampPolicy>3</messageWaitingLampPolicy>
|
<messageWaitingLampPolicy>3</messageWaitingLampPolicy>
|
||||||
<messageWaitingAMWI>0</messageWaitingAMWI>
|
<messageWaitingAMWI>0</messageWaitingAMWI>
|
||||||
<messagesNumber></messagesNumber>
|
<messagesNumber>*100</messagesNumber>
|
||||||
<ringSettingIdle>4</ringSettingIdle>
|
<ringSettingIdle>4</ringSettingIdle>
|
||||||
<ringSettingActive>5</ringSettingActive>
|
<ringSettingActive>5</ringSettingActive>
|
||||||
<forwardCallInfoDisplay>
|
<forwardCallInfoDisplay>
|
||||||
|
|
Loading…
Reference in a new issue