<div><div><p style="margin:0px 0px 0px 0px;font:13.0px Arial">Hello,</p>
<p style="margin:0px 0px 0px 0px;font:13.0px Arial">I have problem with loading perl module on Kamailio v3.2 installed from repository on Debian sqeeze amd64. Perl modules was also installed from repository package kamailio-perl-modules. I have also installed all perl dependences listed in perl module documentary.</p>
<p style="margin:0px 0px 0px 0px;font:13.0px Arial">Into Kamailio config file I added:</p>
<p style="margin:0px 0px 0px 0px;font:13.0px Arial">loadmodule "perl.so"</p>
<p style="margin:0px 0px 0px 0px;font:13.0px Arial">and</p>
<p style="margin:0px 0px 0px 0px;font:13.0px Arial">modparam("perl", "filename", "/etc/kamailio/<a href="http://skript.pl">skript.pl</a>")</p>
<p style="margin:0px 0px 0px 0px;font:13.0px Arial">Now when I'm trying to start Kamailio I'll get following:</p>
<p style="margin:0px 0px 0px 0px;font:13.0px Arial">May 1 23:13:46 server kamailio: DEBUG: <core> [cfg.y:1712]: loading module perl.so</p>
<p style="margin:0px 0px 0px 0px;font:13.0px Arial">May 1 23:13:46 server kamailio: DEBUG: <core> [sr_module.c:557]: load_module: trying to load </usr/lib64/kamailio/modules_k/perl.so></p>
<p style="margin:0px 0px 0px 0px;font:13.0px Arial">May 1 23:13:46 server kamailio: WARNING: <core> [sr_module.c:620]: /usr/lib64/kamailio/modules_k/perl.so: exports dlflags interface is deprecated and it will not be supported in newer versions; consider using mod_register() instead</p>
<p style="margin:0px 0px 0px 0px;font:13.0px Arial">May 1 23:13:46 server kamailio: DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'perl' matches module 'perl'</p>
<p style="margin:0px 0px 0px 0px;font:13.0px Arial">May 1 23:13:46 server kamailio: DEBUG: <core> [sr_module.c:763]: find_param_export: found <filename> in module perl [/usr/lib64/kamailio/modules_k/perl.so]</p>
<p style="margin:0px 0px 0px 0px;font:13.0px Arial">May 1 23:13:46 server kamailio: DEBUG: <core> [modparam.c:113]: set_mod_param_regex: found <filename> in module perl [/usr/lib64/kamailio/modules_k/perl.so]</p>
<p style="margin:0px 0px 0px 0px;font:13.0px Arial">May 1 23:13:46 server /usr/sbin/kamailio[31192]: DEBUG: <core> [sr_module.c:928]: DEBUG: init_mod: perl</p>
<p style="margin:0px 0px 0px 0px;font:13.0px Arial">May 1 23:13:46 server /usr/sbin/kamailio[31192]: ERROR: perl [perl.c:238]: failed to load perl file "/etc/kamailio/<a href="http://skript.pl">skript.pl</a>".</p>
<p style="margin:0px 0px 0px 0px;font:13.0px Arial">May 1 23:13:46 server /usr/sbin/kamailio[31192]: ERROR: <core> [sr_module.c:932]: init_mod(): Error while initializing module perl (/usr/lib64/kamailio/modules_k/perl.so)</p>
<p style="margin:0px 0px 0px 0px;font:13.0px Arial">I am confused about the WARNIG too, can it have some influence to the errors?</p>
<p style="margin:0px 0px 0px 0px;font:13.0px Arial">File <a href="http://skript.pl">skript.pl</a> is in the specified directory. I also changed permissions to 777. It's content is from sample "<a href="http://branches.pl">branches.pl</a>".</p>
<p style="margin:0px 0px 0px 0px;font:13.0px Arial">I have similar problem with module app_python.so.</p>
<p style="margin:0px 0px 0px 0px;font:13.0px Arial">Can you please give me some advice? It's important for me to get this module working.</p>
<p style="margin:0px 0px 0px 0px;font:13.0px Arial">Thank you.</p></div>-- <br>Regards Ladislav Jurak<br>
</div>