Now worked fine! Thanks for your help! BR
2015-11-03 17:35 GMT+02:00 Ionut Ionita <[email protected]>: > 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 >> [email protected] >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
