[OpenSIPS-Users] perl module load
Hello Guys, I was talking with a opensips users from Brazilian mail list (unofficial) https://groups.google.com/forum/#!forum/opensipsbrasil and the guy was trying to use the example from opensips website http://www.opensips.org/Documentation/Tutorials-Perl-183-to-180 After some problems with dependencies and to load the opensips libs, when the user try to start opensips the same get a crash, but, when i put the perl module as the last module to be load the opensips run's ok So, on the opensips documentation ( http://www.opensips.org/html/docs/modules/1.9.x/perl.html ) on dependencies section ( http://www.opensips.org/html/docs/modules/1.9.x/perl.html#id248936) just the sl modules need to be loaded before the perl module. There is another dependencies that are not on documentation (module to be loaded ?) , i have the cfg file and the script from the user and i can make the error, so if you guys want (and send me the instructions (if needed gdb because i dont know howto use) or another method) i can replicate the error and send Thanks ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Perl module - moduleFunction
Hi, sl_send_reply function is not considered safe by perl module as it has a fixup function, that (called multiple times) may generate a mem leak. If you take the risk, do : modparam("perl","unsafemodfnc", 1) Regards, Bogdan On 08/04/2011 10:14 AM, s...@veliko-turnovo.com wrote: Hello, I try function.pl from PERL samples of OpenSips v 1.7.0. I get follow messages: ERROR:core:moduleFunc: Module function 'sl_send_reply' is unsafe. Call is refused. ERROR:core:XS_OpenSER__Message_moduleFunction: calling module function 'sl_send_reply' failed. Missing loadmodule? Where is problem? The Perl module is stable? Thanks, PlayMen ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Bogdan-Andrei Iancu OpenSIPS eBootcamp - 19th of September 2011 OpenSIPS solutions and "know-how" ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Perl module - moduleFunction
Hello, I try function.pl from PERL samples of OpenSips v 1.7.0. I get follow messages: ERROR:core:moduleFunc: Module function 'sl_send_reply' is unsafe. Call is refused. ERROR:core:XS_OpenSER__Message_moduleFunction: calling module function 'sl_send_reply' failed. Missing loadmodule? Where is problem? The Perl module is stable? Thanks, PlayMen ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] perl module
Hi guys, I'm trying to use the perl modules available with OpenSIPS, but after installing it I encountered a problem when i tried to compile a script: Can't locate object method "bootstrap" via package "OpenSIPS" at /usr/lib/perl5/OpenSIPS/Message.pm line 32. Compilation failed in require at /usr/lib/perl5/OpenSIPS.pm line 34. BEGIN failed--compilation aborted at /usr/lib/perl5/OpenSIPS.pm line 34. Compilation failed in require at lib/opensips/perl/functions.pl line 4. BEGIN failed--compilation aborted at lib/opensips/perl/functions.pl line 4. does anybody have any idea about this issue? Thanks in advance. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] perl module
fixed. had to modify Makefile. From: alex_...@hotmail.com To: users@lists.opensips.org Date: Tue, 13 Jan 2009 16:00:33 -0500 Subject: [OpenSIPS-Users] perl module Hi, I have just installed "opensips-1.4.3-notls" (make all), but no perl modules have been created: ls /lib/opensips/modules/*perl* ls: cannot access /lib/opensips/modules/*perl*: No such file or director $ ls /lib/opensips/perl ls: cannot access /lib/opensips/perl: No such file or directory How can I install perl module in opensips? Thanks, Alex R Windows Live™ Hotmail®: Chat. Store. Share. Do more with mail. Check it out. _ Windows Live™: Keep your life in sync. http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_allup_howitworks_012009___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] perl module
Hi, I have just installed "opensips-1.4.3-notls" (make all), but no perl modules have been created: ls /lib/opensips/modules/*perl* ls: cannot access /lib/opensips/modules/*perl*: No such file or director $ ls /lib/opensips/perl ls: cannot access /lib/opensips/perl: No such file or directory How can I install perl module in opensips? Thanks, Alex R _ Windows Live™ Hotmail®: Chat. Store. Share. Do more with mail. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_hm_justgotbetter_explore_012009___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users