<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Jeff,<br>
<br>
There is no straight function for adding a Contact URI param, but
you may abuse the fix_nated_contact(";my_param=my_val"); hopefully
the replacement of the IP in URI will be a NOP (if there is not
NAT).<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>
OpenSIPS Bootcamp 2018
<a class="moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2018/">http://opensips.org/training/OpenSIPS_Bootcamp_2018/</a>
</pre>
<div class="moz-cite-prefix">On 08/14/2018 03:32 PM, Jeff Pyle
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAPhW+0+ERT4H=J7AeFLMeeUAE8vPOYQChoRT6CvWP=K4zXwhPQ@mail.gmail.com">
<div dir="ltr">Hello,
<div><br>
</div>
<div>Is it possible to add a parameter to the Contact header as
a message passes through the proxy? Specifically I need to
add at least one parameter to the Contact user. I realize
this isn't as simple as it seems on the surface since it would
probably have to be managed on every message passing through
the proxy, not unlike how the uac_replace_from() manages
changing the From header.</div>
<div><br>
</div>
<div>In my application completely rewriting the Contact header
topology_hiding() style is fine as well as long as I can
manipulate the new parameters at the time of the initial
INVITE.</div>
<div><br>
</div>
<div><br>
</div>
<div>Regards,</div>
<div>Jeff</div>
<div><br>
</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>