kit/asterisk/conf/queues.conf

50 lines
1.3 KiB
Plaintext

; /etc/asterisk/queues.conf
;
; Global queue settings go in this section.
;
; Modifed and "borrowed" (read: stolen) https://www.sacredheartsc.com/blog/building-a-personal-voip-system/
;
[general]
; Persist dynamic member lists in the astdb.
persistentmembers = yes
; Some options for more intuitive queue behavior.
autofill = yes
monitor-type = MixMonitor
shared_lastcall = yes
log_membername_as_agent = yes
;;;;;;;;;;;;;;;;;;;
; Queue Definitions
;;;;;;;;;;;;;;;;;;;
; The first queue is for incoming calls to our lines.
[queue-one]
; For each incoming call, ring all members of the queue.
strategy = ringall
; Max number of seconds a caller waits in the queue.
timeout = 90
; Don't announce estimated hold time, etc.
announce-frequency = 0
announce-holdtime = no
announce-position = no
periodic-announce-frequency = 0
; Allow ringing even when no queue members are present.
joinempty = yes
leavewhenempty = no
; Ring member phones even when they are on another call.
ringinuse = yes
; Queue Members
;
; Each member is specified with the following format:
; member => INTERFACE,PENALTY,FRIENDLY_NAME,PRESENCE_INTERFACE
;
; The "penalty" value is not interesting for our use case.
; With PJSIP, the BLF/Presence interface is identical to the standard interface name.
member => Local/1000@to-ext,0