[Asterisk-Users] Re: Options for 3rd party call control

Alistair Cunningham ac at gnu.org
Wed Dec 3 11:14:13 MST 2003


Mark Johnston wrote:
> Alistair Cunningham <ac at gnu.org> wrote:
> > I am working on a project on 3rd party call control for a call center, for
> > which I think Asterisk may be useful. What I would like to do is:
>
> This is something I've given some thought to lately, with the goal of
> writing a queueing engine to replace the basic Asterisk one.  I'll
> describe how I envision it inline.
>
> > - Have a call come in to Asterisk.
> > 
> > - Asterisk asks another machine, over a slow IP link, such as a modem, how
> > it
> >   should route the call. Asterisk passes the called and calling numbers.
> > 
> > - This other machine looks up the destination, based on called and calling
> >   numbers, in an SQL database, and responds to Asterisk.
> > 
> > - When Asterisk gets a reply, it routes the call.
> > 
> [ answer, etc. ]
> exten => s,5,AGI(router|getCallDestination)
> exten => s,6,Dial(Something/${CallDestination})
> 
> which essentially treats your AGI script as a library.  Your script
> communicates with the remote machine and uses SET VARIABLE to set
> CallDestination to whatever you like, and logic is handled in the
> dialplan.

Mark,

This sounds ideal, and will be the approach that I will take. Thank you very
much!

-- 
Alistair Cunningham,
Email: ac at gnu.org



More information about the asterisk-users mailing list