[Asterisk-Users] Multiple announcements in a queue ??
A.J. Paxson
aj at thepaxson5.org
Mon May 15 20:31:28 MST 2006
On 5/15/06 10:55 PM, "Richard Lyman" wisely said:
> 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
>
>
>
> _______________________________________________
> --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
>
That's a good idea. However, that sounds like a lot of work, as I would
have to split my music on hold songs into 60 or 90 second increments, just
to get my announcements in.
And it wouldn't seem like a smooth transition if, after my announcement, I
go on to a completely different moh song.
1). Music On Hold for 60 seconds (/var/lib/asterisk/mohmp3/queue1/moh1.mp3)
2). Announcement 1 (/var/lib/asterisk/mohmp3/queue1/moh2.mp3)
3). Go back to Music where we left off, for another 60 seconds
(/var/lib/asterisk/mohmp3/queue1/moh3.mp3).
4). Announcement 2....
Etc.
Unless I failed to understand the point you were making.....
Thanks for the discussion, Richard!
~~Aaron
More information about the asterisk-users
mailing list