[Kamailio-Users] Kamailio Perl OpenSER::AVP

Örn Arnarson orn at arnarson.net
Thu Dec 3 13:53:08 CET 2009


Hello everyone,

I've been successfully using the kamailio Perl module, but now I'm trying to
set AVPs. Unsuccessfully.

Whenever I do "use OpenSER::AVP;" and restart kamailio, the following error
messages appear and kamailio doesn't start:

Dec  3 12:42:51 proxy02 /usr/sbin/kamailio[5392]:
ERROR:core:XS_OpenSER__Message_log: perl error: Can't locate OpenSER/AVP.pm
in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0
/usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at
/etc/kamailio/checkip.pl line 4.
Dec  3 12:42:51 proxy02 /usr/sbin/kamailio[5392]:
ERROR:core:XS_OpenSER__Message_log: perl error: Can't locate OpenSER/AVP.pm
in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0
/usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at
/etc/kamailio/checkip.pl line 4. BEGIN failed--compilation aborted at
/etc/kamailio/checkip.pl line 4.
Dec  3 12:42:51 proxy02 /usr/sbin/kamailio[5392]: ERROR:perl:parser_init:
failed to load perl file "/etc/kamailio/checkip.pl".
Dec  3 12:42:51 proxy02 /usr/sbin/kamailio[5392]: ERROR:core:init_mod:
failed to initialize module perl
Dec  3 12:42:51 proxy02 /usr/sbin/kamailio[5392]: ERROR:core:main: error
while initializing modules

Now, I cannot find this AVP module within the perl package anywhere. I
downloaded the source of 1.5.0 and it's nowhere to be found. It is, however,
in the .1.5 documentation.

Does anyone have any info on this for me?

Best regards,
Örn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20091203/abbbefef/attachment.htm>


More information about the sr-users mailing list