[Asterisk-Users] Fast AGI

Steven Critchfield critch at basesys.com
Wed Oct 27 12:47:47 MST 2004


On Wed, 2004-10-27 at 14:43 -0400, Chris Stratton wrote:
> You are right that conventional tools for http don't make sense in
> telephony. My thoughts were more along the lines of not wanting to
> recreate a robust production worthy input/output stream handler that
> has been done a million times.
> 
> Currently, I am writing a "Connector" for Tomcat that will handle the
> "AGI" protocol. If the AGI protocol had been written to just follow
> standard http I would not have to write the Connector. An option
> instead of the connector is to just proxy the AGI request wrapping it
> with http. Really, I could probably just get by with Prepending a "GET
> /<somepath>"
> 
> Ultimately, I am just trying to pull it into a java servlet
> environment that I am comfortable with.
> 

Without stooping to calling java names, why are you wanting to add the
compexity of modifying the IO stream instead of looking and verifying
the fact there should be well documented libraries to make your IO
stream secure and robust? Seems like you are asking for a headache that
isn't necessary. 
-- 
Steven Critchfield <critch at basesys.com>




More information about the asterisk-users mailing list