[asterisk-dev] Unified Asterisk Interface

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Tue Dec 11 10:43:10 CST 2007


On Tuesday 11 December 2007 09:38:24 Moises Silva wrote:
> > AGI is a channel-local interface into an active call, allowing you to do
> > things in that call like playing files, reading DTMF, setting or getting
> > variables, etc.
>
> The problem here comes when you want to do all that stuff based on
> events that happen on others channels. Since AGI is limited to its own
> private channel, it does not "see" what is going on on the rest of the
> PBX. Sometimes you want to know and re-act based on what happens on
> the rest of the PBX to execute all the nice stuff you mention.

That may be true, but AGI is still a local-channel interface.  Muddying the
water by including other channels is overkill.  Using a separate interface for
global data is the logical outcome.  That is, you get information that is
germane only to your specific connection on the generated interface, and
you MAY retrieve additional information from another.

-- 
Tilghman



More information about the asterisk-dev mailing list