Configuration Queue

Hello,

I have a context contains application queue in my diaplan.
My purpose is during the music on hold, I want added a message to tell to the caller for each 2 min for example.
I mean each 2min, there is a message in additionnal of the music on hold
How does I configure my dialplan ?
Here is my context contains the queue:
[commerciale]
exten => 80002,1,Answer()
same => n,Queue(commerciale,t)
same => n,Hangup()

And here the property of the queue commerciale

[general]
persistentmembers = yes
autofill = yes
monitor-type = MixMonitor
shared_lastcall=no

queue_template
musiconhold=default
strategy=rrmemory
timeout = 20
retry = 5
maxlen = 0
wrapuptime=15
joinempty = no
leavewhenempty = yes
ringinuse=no
announce-position = yes ;annonce position client in the FA
;announce-position-limit = 1
;announce-position-only-up = yes
timeoutrestart = yes
eventmemberstatus=yes

commerciale

Thank you so much

The queue configuration provides the periodic-announce option[1] to set custom sound files to be played periodically. There is also an option for configuring the frequency[2].

[1] https://github.com/asterisk/asterisk/blob/master/configs/samples/queues.conf.sample#L382
[2] https://github.com/asterisk/asterisk/blob/master/configs/samples/queues.conf.sample#L298

Although you should note that periodic announcements cannot be interrupted when an agent becomes free whilst they are playing, and it is possible to miss your turn, so some people embed the announcements in the music on hold file.

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