[Asterisk-Users] asterisk perl radiusclient

Kamran Ahmad p_kami at yahoo.com
Wed Jul 6 13:08:51 MST 2005


hello

how to solve these errors

/var/lib/asterisk/agi-bin/agi-rad-auth.pl line 10
use Asterisk::AGI;

vi /etc/asterisk/extensions.conf
exten =>
_X.,1,agi,agi-rad-auth.pl|Routing=SIP&AuthorizeBy=SIP

vi /etc/asterisk/modules.conf
load => res_agi.so

<---------------errors------------------------>

*CLI>  Can't locate Asterisk/AGI.pm in @INC (@INC
contains: /usr/lib/perl5/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/5.8.5
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.1
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.3
/usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.1
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl .) at
/var/lib/asterisk/agi-bin/agi-rad-auth.pl line 10.
BEGIN failed--compilation aborted at
/var/lib/asterisk/agi-bin/agi-rad-auth.pl line 10.
Jul  6 19:38:54 WARNING[30695]: app_dial.c:516
dial_exec: Dial argument takes format
(technology1/number1&technology2/number2...|optional timeout)


		
____________________________________________________
Sell on Yahoo! Auctions – no fees. Bid on great items.  
http://auctions.yahoo.com/



More information about the asterisk-users mailing list