[Asterisk-Users] Multiple announcements in a queue ??
Richard Lyman
pchammer at dynx.net
Mon May 15 21:23:19 MST 2006
A.J. Paxson wrote:
>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
>
>
actually it would mean removing the -z and naming your files as
001.yadda 002.yadda regardless of length,
meaning if you decide to use a 10 minute file as your 'inbetween music'
then that is the time it takes..
so as you stated, if you want to 'stucture' the way moh is played, then
yes you would have to make them x long.
i guess i misunstood your question. because currently, announcements do
not work that way (unless its in the 'test tree').
so i offered a non-announcement way. if what you really meant to ask
was if anyone has written a mod that allows
multiple announcement files... i feel i have just wasted your time. <G>
More information about the asterisk-users
mailing list