Attached is a small patch to facilitate managing multiple registration instances using the same credentials. It introduces a new module AVP, reg_callid_avp. If reg_callid_avp is defined and populated when registered() is invoked, the result is TRUE only if an active registration with the specified callID is found.
We use the enhanced functionality to facilitate provisioning and management of our clients -- it allows us to reliably distinguish between new registrations and re-registration of an existing sessions.
This is an updated version of patch #1824748 submitted to OpenSER that did not get accepted until after The Fork. It includes corrections by Henning Westerholt, but omits his changes to the documentation. Would you consider applying it to OpenSIPS?
Log in to post a comment.