[asterisk-dev] Status of another channel from AGI

Alistair Cunningham acunningham at integrics.com
Fri Mar 3 15:49:58 MST 2006


Eric "ManxPower" Wieling wrote:
> Steven Critchfield wrote:
> 
>> On Fri, 2006-03-03 at 11:20 -0500, Paul wrote:
>>
>>> Steven wrote:
>>>
>>> <snip>
>>>
>>>> Performance and security is not special to any interface of asterisk.
>>>> Performance isn't usually a quality of AGI that is taken really
>>>> seriously. Look at the many applications Tilghman has written so that
>>>> one doesn't need to spawn out to AGI to accomplish certain tasks. He 
>>>> has
>>>> mentioned before that he is trying to eliminate most needs for AGI and
>>>> help keep the development in the dialplan.
>>>
>>> If I were to take an existing dialplan and simply change all existing
>>> AGI invocations to use macros would it affect performance other than
>>> startup and reload when the macros are parsed? That would allow me to
>>> replace AGI with applications by simply changing a macro.
>>
>>
>> Startup is where my company is seeing the biggest hit. Granted our app
>> is a pretty large perl app, but it takes more than a second and
>> sometimes as much as two seconds to start. We have had to mask startup
>> by providing ringing after answer.
> 
> 
> Isn't this what FastAGI was designed for?

Indeed, and that's what we're using. We find this to give better 
performance than the manager interface.

To get back to the original question, we need to tell the current caller 
(the one this AGI is connected to) whether another caller is still 
connected. The AGI has an array of other uniqueids it pulls from a 
database, but it needs to verify these with Asterisk as the database can 
be out of date.

 From what I'm hearing so far, it sounds like we're going to have to use 
the managaer interface.

Alistair Cunningham,
Integrics Ltd,
+44 20 799 39 799
sip:acunningham at integrics.com
http://integrics.com/



More information about the asterisk-dev mailing list