Hello all,<br><br>I've got the follow problem. I'm using opensips 1.6.1-notls version.<br><br>First, see my script conf:<br><br>loadmodule "permissions.so"<br>modparam("permissions","db_url", "mysql://opensips:opensipsrw@localhost/opensips")<br>
<br><br>if (check_address()) {<br> if (!proxy_authorize("","subscriber")) {<br> proxy_challenge("", "0");<br> exit;<br>
consume_credentials();<br> }<br clear="all"><br>When I execute opensips -c opensips.cfg I see this error:<br>Feb 10 11:38:25 [6242] DBG:core:find_cmd_export_t: <check_address> not found<br>
Feb 10 11:38:25 [6242] DBG:core:find_cmd_export_t: <check_address> not found<br>Feb 10 11:38:25 [6242] CRITICAL:core:yyerror: parse error in config file, line 210, column 27-28: unknown command <check_address>, missing loadmodule?<br>
<br>Am I missing some thing? The permissions module is module, and OpenSips documentations says It doesn`t depend any other module.<br><br>I found in opensips documentation:<br>the following functions were introduced: <strong>check_address()</strong>,
<strong>check_source_address()</strong>, <strong>get_source_group()</strong>
to replace <strong>allow_address()</strong>, <strong>allow_source_address()</strong>,
<strong>allow_trusted()</strong><br><br>So, Isn't it on 1.6.1 version yet?<br><br>Regards,<br><br>-- <br>Wesley Volcov<br>Email: <a href="mailto:wesleyvolcov@gmail.com">wesleyvolcov@gmail.com</a><br>Messenger: <a href="mailto:volcov@live.com">volcov@live.com</a><br>
Mobile: +55 11 9989-5348<br>Website: <a href="http://volcov.blogspot.com">http://volcov.blogspot.com</a><br>