[SR-Users] Registrar Module

Henning Westerholt hw at kamailio.org
Mon Oct 1 22:22:47 CEST 2018


Am Sonntag, 30. September 2018, 18:38:34 CEST schrieb Dan Quinney:
> So, route[REGISTRAR_1] will, when the max_contacts is reached, reply to the
> endpoint with a 503 error containing a "P-Registrar-Error: Too many
> registered contacts" header - this seems wrong to me so I've tried to work
> around it with route[REGISTRAR_2] which returns the right response, but,
> also writes "INFO: registrar [save.c:615]: test_max_contacts(): too many
> contacts for AOR" to the log file, which is messy.
> 
> Does anyone have any pointers for doing this better?

Hi Dan,

what bothers you exactly? Do you want to get rid of the Log warning? Just 
decrease the log level above INFO level would be an easy fix.

Or is this about the additional header?

Best regards,

Henning


-- 
Henning Westerholt
https://skalatan.de/blog/



More information about the sr-users mailing list