[Asterisk-Users] Asterisk Perl AGI

Greg Boehnlein damin at nacs.net
Tue Oct 5 13:20:30 MST 2004


On Tue, 5 Oct 2004, Victor Cartes wrote:

> Hello everybody:
> 
> This could be a stupid question, or may be not; I'm not sure 'cause 
> I have not a very wide experience working with Asterisk, actually I just 
> started last week. I need to make an IVR system work and I choose 
> working with AGIs, written in Perl.
> 
> The available documentation I've found show it as a very simple 
> proccess, but it doesn't work for me... and I don't know why yet. To 
> describe you my stage y must start with my configuration in the 
> extensions.conf file. This single line should describe it:
> 
> 
> exten => 771,1,AGI,myagi.agi

Victor,
	Have you looked at res_perl yet? It is included in the 
Asterisk-Addons package and allows you to load a single Perl Interpreter 
for the Asterisk process (like mod_perl for apache) and call scripts 
directly from the dial-plan. It should scale a heck of a lot better than 
AGI, and give you a lot more flexibility, as it exposes the entire 
Asterisk API.

-- 
    Vice President of N2Net, a New Age Consulting Service, Inc. Company
         http://www.n2net.net Where everything clicks into place!
                             KP-216-121-ST






More information about the asterisk-users mailing list