<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><tt>Hello,<br>
<br>
The SIP RFC3261 says that only the registered URI contact (along
with the URI params) are to be stored by the registrar server.
The header params are not to be stored.<br>
So, should I understand the that GSMA specs may conflict with
the SIP specs ???<br>
<br>
BTW, do you have an example of such a Contact hdr ?<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
On 24.01.2014 08:00, Java Jalwa wrote:<br>
</div>
<blockquote
cite="mid:CACeRdp1axjWvxV+YEAApOT==KO1LOP4twGO5CkiKbajhn3Mz_Q@mail.gmail.com"
type="cite">
<div dir="ltr">Hello experts, I am using the registrar module and
the save() function automatically sends a 200 OK for the
REGISTER. However the Contact header built by the registrar
module removes all the feature tags such as +g.oma.sip-im,
+sip.instance etc. To be spec compliant with certain GSMA specs
I need to keep these feature tags / parameters in the Contact
header of 200 response, while at the same time want the
registrar module to add expires and received= params.
<div>
append_to_reply() is not something that is useful for
achieving this since it adds a new header. Is there anyway to
achieve this without having to hack the registrar module ?
<div><br>
</div>
<div>Using the "r" flag in save method, would force the
registrar module to not send a reply, however if I use
sl_send_reply("200", "OK") after calling
save("location","fr"); the 200 OK does not contain the
Contact header at all.</div>
</div>
<div><br>
</div>
<div>Any suggestions as to how I can achieve this ?</div>
<div><br>
</div>
<div>Thanks.</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>