[asterisk-users] Setting Periodic-Announce filename in the dialplan

Robert Broyles robert at poornam.com
Fri Jan 2 09:49:18 CST 2009


Okay thank you.
This is something that I'm trying to avoid. I want to have one single 
Queue, but based on the incoming DID, have a different periodic-announce 
file played.

It would be awesome to be able to set all of the queue settings from the 
dialplan, if so wished:

examples of what I mean:
exten => s,1,Answer()
exten => s,n,Set(PERIODIC_ANNOUNCE=/home/Sounds/queue-announce)
exten => s,n,Set(PERIODIC_ANNOUNCE_FREQUENCY=60)
exten => s,n,Set(JOINEMPTY=1)
exten => s,n,Queue(CSR)

exten => 18001231234,1,Answer()
exten => 
18001231234,n,Set(PERIODIC_ANNOUNCE=/home/Sounds/toll-free-queue-announce)
exten => 18001231234,n,Set(PERIODIC_ANNOUNCE=30)
exten => 18001231234,n,Set(JOINEMPTY=1)
exten => 18001231234,n,Queue(CSR)


So that I could have all of the calls going to the same Queue, but 
depending on the DID, they are customized. Maybe this is something 
unique to my situation.

Maybe there's an easier way to do this...
Multiple queues, with ring groups, perhaps?





More information about the asterisk-users mailing list