[OpenSIPS-Users] CRITICAL <is_contact_registered>
Ionut Ionita
ionutionita at opensips.org
Tue Nov 3 16:35:53 CET 2015
Hi,
If you look into the documentation[1], the comma is not optional. So you
should call something like:
if (!is_contact_registered("location","$fu",,)) {
....
Regards,
Ionut Ionita
[1] http://www.opensips.org/html/docs/modules/2.2.x/registrar.html#id294862
On 02.11.2015 21:58, Dragomir Haralambiev wrote:
> Hello,
>
> I try to test latest version: opensips 2.2-dev.
>
> When use:
> if (!registered("location","$fu")) {
> ....
> I receive follow message:
> WARNING:registrar:registered: Deprecated! Use is_contact_registered()
> instead!
>
> when use:
> if (!is_contact_registered("location","$fu")) {
> .....
>
> I receive :
> CRITICAL:core:yyerror: parse error in config file /opensips.cfg,
> unknown command <is_contact_registered>, missing loadmodule?
>
> Regards,
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list