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
Steve Feinstein
2006-May-15 19:24 UTC
[Asterisk-Users] Multiple announcements in a queue ??
I haven't thought it through really, so if it's a bad idea please let me know. But I think a named pipe would be a good unix-y way to do this. -Steve Feinstein 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 > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.6/339 - Release Date: 5/14/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