[OpenSIPS-Users] Perl module - moduleFunction

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Aug 8 21:51:36 CEST 2011


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, sip at 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 at 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"




More information about the Users mailing list