[Asterisk-Users] Multiple announcements in a queue ??
Richard Lyman
pchammer at dynx.net
Tue May 16 09:31:05 MST 2006
*snipped
>
> I like the idea that I can just pick up the phone, dial an extension, record
> an announcement, and be sure that announcement will play during extended
> hold times.
>
> Thanks for the ideas, Richard!
>
> It just came to me, about using timeouts on the queues, play an announcment,
> update the caller's priority, and then putting them back in the queue.
> Maybe?
>
> Pseudo-code. Syntax and structure maybe incorrect.
>
> Exten => 1111,1,Queue(techsupport||||120)
> Exten => 1111,n, Play(announcment-1)
> Exten => 1111,n, setVar(QUEUE_PRIO+1)
> Exten => 1111,n,Queue(techsupport||||120)
> .........
>
> Basically, the priority was increased by one, so when I placed them back in
> the queue, even though the caller lost their place, their priority should be
> high enough to still receive the call.
>
> The only problem with that is, if my announcement-1 is 30 seconds long,
> another caller could have been answered while this caller was listening to
> the playback.
>
> Sigh....nothing is ever easy. ((grin))
>
> Thanks for the discussion and replies, Richard!
>
> _______________________________________________
> --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
>
>
well the thing to watch for is that if you have a 't' extension,
because you are waiting for a 120 timeout it will jump there.
but you could use that just as well, to set the priority there,
and toss back into the queue, or a diff queue for that matter.
More information about the asterisk-users
mailing list