<div dir="ltr">Dear Kai,<br><br>If I change directory to /usr/bin and type the following command I got:<br><br>[root@switch1 bin]# ./perl /var/lib/asterisk/agi-bin/dial.pl<br><br>VERBOSE "AGI Environment Dump:" 3<br>
<br>GET VARIABLE extension<br><br>VERBOSE "my dialed no is :" <br><br>VERBOSE "Query is:SELECT dst_nb FROM test where extension = ''" <br><br>SET VARIABLE DestNo <br><br>Regards<br><br><div class="gmail_quote">
On Fri, Feb 20, 2009 at 11:44 PM, Tilghman Lesher <span dir="ltr"><<a href="mailto:tilghman@mail.jeffandtilghman.com">tilghman@mail.jeffandtilghman.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Friday 20 February 2009 14:36:57 Danny Nicholas wrote:<br>
> You will need to download AGI from <a href="http://www.cpan.org" target="_blank">www.cpan.org</a> <<a href="http://www.cpan.org/" target="_blank">http://www.cpan.org/</a>> and<br>
<div class="Ih2E3d">> install it. Here it is in simple steps<br>
><br>
><br>
><br>
> Cd /usr/src<br>
><br>
> Wget<br>
> <a href="http://search.cpan.org/CPAN/authors/id/J/JA/JAMESGOL/asterisk-perl-0.10.tar" target="_blank">http://search.cpan.org/CPAN/authors/id/J/JA/JAMESGOL/asterisk-perl-0.10.tar</a><br>
>. gz<br>
><br>
> Tar xvf asterisk-perl-0.10.tar.gz<br>
><br>
> Cd asterisk-perl-0.10<br>
><br>
> Make && make install<br>
<br>
</div>Even easier:<br>
<br>
perl -MCPAN -e'install Asterisk::AGI'<br>
<br>
--<br>
<font color="#888888">Tilghman<br>
</font><div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br></div>