Modified asterisk configs

This commit is contained in:
Mario Mishev 2018-10-26 19:36:02 +03:00
parent 658afdbaff
commit b419af0042
2 changed files with 72 additions and 24 deletions

View File

@ -225,14 +225,18 @@ TRUNKMSD=1 ; MSD digits to strip (usually 1 or 0)
[openfest]
exten => 301,hint,SIP/reception
exten => 301,1,Dial(SIP/reception)
exten => 302,1,Dial(SIP/wardrobe)
exten => 303,1,Dial(SIP/noc1&SIP/noc2)
exten => 304,hint,SIP/teamroom
exten => 304,1,Dial(SIP/teamroom)
exten => 256,hint,SIP/room-c
exten => 256,1,Dial(SIP/room-c)
exten => 512,hint,SIP/room-b
exten => 512,1,Dial(SIP/room-b)
exten => 768,hint,SIP/room-a
exten => 768,1,Dial(SIP/room-a)
exten => 401,1,Dial(SIP/user-401)

View File

@ -64,7 +64,7 @@ allowoverlap=no ; Disable overlap dialing support. (Default is y
; depends on the operating system. On systems using glibc, AAAA records are given
; priority.
udpbindaddr=10.25.0.1 ; IP address to bind UDP listen socket to (0.0.0.0 binds to all)
udpbindaddr=10.25.0.1 ; IP address to bind UDP listen socket to (0.0.0.0 binds to all)
; Optionally add a port number, 192.168.1.1:5062 (default is port 5060)
; When a dialog is started with another SIP endpoint, the other endpoint
@ -785,7 +785,6 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
; nat = auto_comedia ; Set the comedia option if Asterisk detects NAT
;
; The nat settings can be combined. For example, to set both force_rport and comedia
; one would set nat=force_rport,comedia. If any of the comma-separated options is 'no',
; Asterisk will ignore any other settings and set nat=no. If one of the "auto" settings
; is used in conjunction with its non-auto counterpart (nat=comedia,auto_comedia), then
; the non-auto option will be ignored.
@ -1453,6 +1452,15 @@ nat=no
context=openfest
allow=all
qualify=yes
subscribecontext=openfest
callcounter=yes
allowsubscribe=yes
limitonpeers=yes
notifyringing=yes
notifyhold=yes
notifyid=yes
call-limit=4
busylevel=1
[wardrobe]
type=friend
@ -1467,7 +1475,6 @@ context=openfest
allow=all
qualify=yes
[noc1]
type=friend
host=dynamic
@ -1506,6 +1513,15 @@ nat=no
context=openfest
allow=all
qualify=yes
subscribecontext=openfest
callcounter=yes
allowsubscribe=yes
limitonpeers=yes
notifyringing=yes
notifyhold=yes
notifyid=yes
call-limit=4
busylevel=1
[room-a]
type=friend
@ -1519,6 +1535,15 @@ nat=no
context=openfest
allow=all
qualify=yes
subscribecontext=openfest
callcounter=yes
allowsubscribe=yes
limitonpeers=yes
notifyringing=yes
notifyhold=yes
notifyid=yes
call-limit=4
busylevel=1
[room-b]
type=friend
@ -1532,6 +1557,15 @@ nat=no
context=openfest
allow=all
qualify=yes
subscribecontext=openfest
callcounter=yes
allowsubscribe=yes
limitonpeers=yes
notifyringing=yes
notifyhold=yes
notifyid=yes
call-limit=4
busylevel=1
[room-c]
type=friend
@ -1545,6 +1579,15 @@ nat=no
context=openfest
allow=all
qualify=yes
subscribecontext=openfest
callcounter=yes
allowsubscribe=yes
limitonpeers=yes
notifyringing=yes
notifyhold=yes
notifyid=yes
call-limit=4
busylevel=1
[user-401]
type=friend
@ -1786,3 +1829,4 @@ nat=no
context=openfest
qualify=yes