Hello,

Not sure a bug or an undocumented feature, but save() function, in case of internal error, is stopping the script.

Assuming we change that (to continue the script execution), you will failure from "save()" without actually knowing the error itself. I assume you are looking the error code/reason, right ?

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 07.02.2014 17:38, Adrien Martin wrote:
Hello,

In the registrar module I set the max_contacts parameter.
Save function work as expected, but I did not manage to log the 503
status when max contacts is reached.

It seems configuration after save function is not used by Opensips in
this case.

Is this an expected behavior and could I log the 503 in this way or
another ?

PS: I found an appropriate log at INFO level, but at the moment I would
rather keep NOTICE level. Indeed I could use INFO level if there is no
other way to check save function's return.
PS2: Opensips version is 1.8.0.

Regards,

Adrien Martin





_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to