<div dir="ltr"><div>Now worked fine!</div>Thanks for your help!<div><br></div><div>BR</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-03 17:35 GMT+02:00 Ionut Ionita <span dir="ltr">&lt;<a href="mailto:ionutionita@opensips.org" target="_blank">ionutionita@opensips.org</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
If you look into the documentation[1], the comma is not optional. So you should call something like:<br>
if (!is_contact_registered(&quot;location&quot;,&quot;$fu&quot;,,)) {<br>
....<br>
<br>
Regards,<br>
Ionut Ionita<br>
<br>
[1] <a href="http://www.opensips.org/html/docs/modules/2.2.x/registrar.html#id294862" rel="noreferrer" target="_blank">http://www.opensips.org/html/docs/modules/2.2.x/registrar.html#id294862</a><div><div class="h5"><br>
On <a href="tel:02.11.2015" value="+3592112015" target="_blank">02.11.2015</a> 21:58, Dragomir Haralambiev wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hello,<br>
<br>
I try to test latest version: opensips 2.2-dev.<br>
<br>
When use:<br>
if (!registered(&quot;location&quot;,&quot;$fu&quot;)) {<br>
....<br>
I receive follow message:<br>
WARNING:registrar:registered: Deprecated! Use is_contact_registered() instead!<br>
<br>
when use:<br>
if (!is_contact_registered(&quot;location&quot;,&quot;$fu&quot;)) {<br>
.....<br>
<br>
I receive :<br>
CRITICAL:core:yyerror: parse error in config file /opensips.cfg, unknown command &lt;is_contact_registered&gt;, missing loadmodule?<br>
<br>
Regards,<br>
<br>
<br></div></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br></div>