Modified asterisk configs to enable BLF #10

Merged
Dragast merged 1 commits from master into master 2018-10-26 22:20:39 +03:00
2 changed files with 72 additions and 24 deletions
Showing only changes of commit b419af0042 - Show all commits

View File

@ -225,14 +225,18 @@ TRUNKMSD=1 ; MSD digits to strip (usually 1 or 0)
[openfest] [openfest]
exten => 301,hint,SIP/reception
exten => 301,1,Dial(SIP/reception) exten => 301,1,Dial(SIP/reception)
exten => 302,1,Dial(SIP/wardrobe) exten => 302,1,Dial(SIP/wardrobe)
exten => 303,1,Dial(SIP/noc1&SIP/noc2) exten => 303,1,Dial(SIP/noc1&SIP/noc2)
exten => 304,hint,SIP/teamroom
exten => 304,1,Dial(SIP/teamroom) exten => 304,1,Dial(SIP/teamroom)
exten => 256,hint,SIP/room-c
exten => 256,1,Dial(SIP/room-c) exten => 256,1,Dial(SIP/room-c)
exten => 512,hint,SIP/room-b
exten => 512,1,Dial(SIP/room-b) exten => 512,1,Dial(SIP/room-b)
exten => 768,hint,SIP/room-a
exten => 768,1,Dial(SIP/room-a) exten => 768,1,Dial(SIP/room-a)
exten => 401,1,Dial(SIP/user-401) 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 ; depends on the operating system. On systems using glibc, AAAA records are given
; priority. ; 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) ; 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 ; 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 ; 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 ; 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 ; 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 ; is used in conjunction with its non-auto counterpart (nat=comedia,auto_comedia), then
; the non-auto option will be ignored. ; the non-auto option will be ignored.
@ -1453,6 +1452,15 @@ nat=no
context=openfest context=openfest
allow=all allow=all
qualify=yes qualify=yes
subscribecontext=openfest
callcounter=yes
allowsubscribe=yes
limitonpeers=yes
notifyringing=yes
notifyhold=yes
notifyid=yes
call-limit=4
busylevel=1
[wardrobe] [wardrobe]
type=friend type=friend
@ -1467,7 +1475,6 @@ context=openfest
allow=all allow=all
qualify=yes qualify=yes
[noc1] [noc1]
type=friend type=friend
host=dynamic host=dynamic
@ -1506,6 +1513,15 @@ nat=no
context=openfest context=openfest
allow=all allow=all
qualify=yes qualify=yes
subscribecontext=openfest
callcounter=yes
allowsubscribe=yes
limitonpeers=yes
notifyringing=yes
notifyhold=yes
notifyid=yes
call-limit=4
busylevel=1
[room-a] [room-a]
type=friend type=friend
@ -1519,6 +1535,15 @@ nat=no
context=openfest context=openfest
allow=all allow=all
qualify=yes qualify=yes
subscribecontext=openfest
callcounter=yes
allowsubscribe=yes
limitonpeers=yes
notifyringing=yes
notifyhold=yes
notifyid=yes
call-limit=4
busylevel=1
[room-b] [room-b]
type=friend type=friend
@ -1532,6 +1557,15 @@ nat=no
context=openfest context=openfest
allow=all allow=all
qualify=yes qualify=yes
subscribecontext=openfest
callcounter=yes
allowsubscribe=yes
limitonpeers=yes
notifyringing=yes
notifyhold=yes
notifyid=yes
call-limit=4
busylevel=1
[room-c] [room-c]
type=friend type=friend
@ -1545,6 +1579,15 @@ nat=no
context=openfest context=openfest
allow=all allow=all
qualify=yes qualify=yes
subscribecontext=openfest
callcounter=yes
allowsubscribe=yes
limitonpeers=yes
notifyringing=yes
notifyhold=yes
notifyid=yes
call-limit=4
busylevel=1
[user-401] [user-401]
type=friend type=friend
@ -1786,3 +1829,4 @@ nat=no
context=openfest context=openfest
qualify=yes qualify=yes