[asterisk-users] AGI script
michel freiha
michofr at gmail.com
Fri Feb 20 16:06:06 CST 2009
Dear All,
i found the issue...it was just the #!/user/bin/perl instead of
#!user/bin/perl
Thanks a lot for all help
Regards
On Fri, Feb 20, 2009 at 11:58 PM, michel freiha <michofr at gmail.com> wrote:
> Dear Kai,
>
> If I change directory to /usr/bin and type the following command I got:
>
> [root at switch1 bin]# ./perl /var/lib/asterisk/agi-bin/dial.pl
>
> VERBOSE "AGI Environment Dump:" 3
>
> GET VARIABLE extension
>
> VERBOSE "my dialed no is :"
>
> VERBOSE "Query is:SELECT dst_nb FROM test where extension = ''"
>
> SET VARIABLE DestNo
>
> Regards
>
>
> On Fri, Feb 20, 2009 at 11:44 PM, Tilghman Lesher <
> tilghman at mail.jeffandtilghman.com> wrote:
>
>> On Friday 20 February 2009 14:36:57 Danny Nicholas wrote:
>> > You will need to download AGI from www.cpan.org <http://www.cpan.org/>
>> and
>> > install it. Here it is in simple steps
>> >
>> >
>> >
>> > Cd /usr/src
>> >
>> > Wget
>> >
>> http://search.cpan.org/CPAN/authors/id/J/JA/JAMESGOL/asterisk-perl-0.10.tar
>> >. gz
>> >
>> > Tar xvf asterisk-perl-0.10.tar.gz
>> >
>> > Cd asterisk-perl-0.10
>> >
>> > Make && make install
>>
>> Even easier:
>>
>> perl -MCPAN -e'install Asterisk::AGI'
>>
>> --
>> Tilghman
>>
>> _______________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090221/f47826a5/attachment.htm
More information about the asterisk-users
mailing list