[Asterisk-Users] Multiple announcements in a queue ??

Richard Lyman pchammer at dynx.net
Mon May 15 19:55:51 MST 2006


A.J. Paxson wrote:

>Hi All!
>
>I've really been struggling trying to get around this.  Instead of the same
>announcement being played over and over again, I want to be able to play
>more than 1 announcement in a queue.
>
>Does anyone have any brainstorming ideas on how I can try this?
>
>Once a caller is in a queue, I no longer have any control inside that queue.
>I can have that queue timeout, play a different announcement, and place them
>back in the queue, but then the caller loses it's place.
>
>Any ideas?
>
>~~Aaron
>
>  
>
i'd suggest not using 'announcements' and use moh.
you can setup any number of subdirs and assign that as moh for a queue,
it just randomly plays the files within the dir. remove -z  for fifo (iirc)

<>op => mp3:/var/lib/asterisk/mohmp3/op,-z      ; randomly play all 
files in op directory
vr => mp3:/var/lib/asterisk/mohmp3/vr,-z        ; randomly play all 
files in vr directory






More information about the asterisk-users mailing list