[asterisk-users] Re: agi script as member in queue

nik600 nik600 at gmail.com
Mon Feb 12 10:04:55 MST 2007


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 <nik600 at gmail.com> 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
>


More information about the asterisk-users mailing list