Ringing time in queues and calls between phones


We would like to set the phone to ring 50 seconds in the case of all calls, except for calls for the queue where the rings for each phone before moving to the next in the queue must remain at 15 seconds.

Currently my configuration is as follows:

The queue in queue.conf

[queue_template] (!)
musicclass = default; play [default] music
; strategy = rrmemory; use the Round Robin Memory strategy
strategy = linear
joinempty = yes; join the queue when no members available
leavewhenempty = no; don’t leave the queue no members available
ringinuse = no; don’t ring members when already InUse

[office] (queue_template)

member => PJSIP / 9001
member => PJSIP / 9002
member => PJSIP / 9003
member => PJSIP / 9004

The dial plan in extensions.conf…where You find “—” is because I erased some lines. Queues and callsnetwork refer to each other by other contexts:

; Queues definition
exten => 9080,1,NoOp()
same => n,Macro(startmonitor,${EXTEN})
same => n,Queue(office)

exten => _XXXX,1,NoOp()
same => n,Macro(startmonitor,${EXTEN})
same => n,Dial(PJSIP/${EXTEN},15)
same => n,Hangup()

I was thinking to change [callsnetwork] to:

exten => _XXXX,1,NoOp()
same => n,Macro(startmonitor,${EXTEN})
same => n,Dial(PJSIP/${EXTEN},55)
same => n,Hangup()
but I don’t know how to do for make the ringing for the telephones when 9080 (the queue) is dialed to have a duration of 15 seconds instead of 50. Can You candly help me?

Thank You


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.