[asterisk-users] Apache for FastAGI

Tielin Xu TIELXU01 at noa.nintendo.com
Tue Aug 22 10:14:26 MST 2006


Personally I will build multi-thread server to work as AGI server.
Apache is an option if you know how to implement programs on web server,
but know how to build your server. You can hardcode the HTTP header into
a global variable in your dialplan, and send the header to Apache first,
then follow your dynamic agi request.

>>> dgarstang at oneeighty.com 08/22/06 7:59 AM >>>
I'm not sure how one would build a HTTP header on the client side,
given that all you have to work with is a single line entry in
extensions.conf.

> -----Original Message-----
> From: Tielin Xu [mailto:TIELXU01 at noa.nintendo.com] 
> Sent: Friday, August 18, 2006 12:41 PM
> To: asterisk-users at lists.digium.com 
> Subject: Re: [asterisk-users] Apache for FastAGI
> 
> 
> It is an valid option, but you have to build a HTTP header in your
> request to your web server, which CGI programs or Java servlets on
web
> server could interpret your request from Asterisk.
> 
> Tielin
> >>> dgarstang at oneeighty.com 08/18/06 11:28 AM >>>
> Here's an idea...
> 
> Rather than writing your own multi-thread socket server for use with
> FastAGI, has anyone tried to use an Apache web server instead? After
> all, it does all that for you. I just gave it a shot, but 
> Asterisk tries
> to send all the agi params to the web server, which it doesn't like
> it...
> 
> [Fri Aug 18 12:25:28 2006] [error] [client xxx.yyy.141.162] 
> Invalid URI
> in request agi_network: yes
> 
> Doug
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users 
> 
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list