i've found a solutions working like this:

1 - I set up a queue that accepts caller even if it is empty.
2 - I set up an extension that dials an Agi script
3 - Each 5 seconds i run a cron job that:

- if the Agi script is busy (i parse the Action : Status) to detect
that : DO NOTHING
- if the Agi script isn't working: transfer the caller with the
maximun waiting time to the extension

What do you think about that?
thanks nik


On 1/22/07, nik600 <[EMAIL PROTECTED]> wrote:
Hi

i want to put an AGI script in a queue, to serve once at time the callers.

Example:

Queue (8 callers waiting)
Agi script / IVR  (serving the caller)

can i do that?
Thanks

_______________________________________________
--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

Reply via email to