[OpenSIPS-Users] <is_from_local>, missing loadmodule?

Premalatha Kuppan premalatha at ngintech.com
Mon Jun 7 12:39:52 CEST 2010


Hi,

Can someone tell me, how to recover from this error,

Jun  7 06:17:52 [10803] DBG:core:find_cmd_export_t: found <sl_send_reply>(2)
in module sl [//lib64/opensips/modules/]
Jun  7 06:17:52 [10803] DBG:core:find_cmd_export_t: <is_from_local> not
found
Jun  7 06:17:52 [10803] DBG:core:find_cmd_export_t: <is_from_local> not
found
*Jun  7 06:17:52 [10803] CRITICAL:core:yyerror: parse error in config file,
line 351, column 22-23: unknown command <is_from_local>, missing loadmodule?
*

In my opensips.cfg file i have added the following code,

  if (!is_from_local()) {
                        send_reply("403","Forbidden access to media
service");
                        exit;
                }

hence, getting this error while staring opensips.

Pleae help.

Thanks,
Prem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100607/5c951ed5/attachment.htm 


More information about the Users mailing list