[OpenSIPS-Devel] [ opensips-Patches-2123828 ] registrar: new AVP to add extra headers to the REGISTER repl
SourceForge.net
noreply at sourceforge.net
Tue Sep 23 12:08:04 CEST 2008
Patches item #2123828, was opened at 2008-09-23 02:49
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2123828&group_id=232389
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.4.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Phil Vandry (vandry)
Assigned to: Nobody/Anonymous (nobody)
Summary: registrar: new AVP to add extra headers to the REGISTER repl
Initial Comment:
This patch adds the ability to add custom headers to the successful reply to a REGISTER request.
The user must load the extra headers into an AVP from the request route before calling save(). During the construction of the 200 OK reply inside save() this AVP is consulted and its contents are inserted into the reply.
Motivating use case:
In IMS environments, the SIP registrar supplies the terminal with a list of PUIs (public user identities) that are associated with the registering endpoint. This list is passed in the reply to a successful REGISTER by the endpoint as a list of "P-Associated-URI" headers.
In OpenSIPS there is no existing general way to customize the reply to a REGISTER request.
The patch is for opensips-1.4.1-tls
-Phil
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2008-09-23 10:08
Message:
I just wonder if save_no_reply(), append_to_reply() and
sl_send_reply("200","")
does not work
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2123828&group_id=232389
More information about the Devel
mailing list