<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,</p>
<p>for header body changes, one option is:</p>
<p> *
<a class="moz-txt-link-freetext" href="https://www.kamailio.org/docs/modules/stable/modules/textops.html#textops.f.subst_hf">https://www.kamailio.org/docs/modules/stable/modules/textops.html#textops.f.subst_hf</a></p>
<p>But you have to be careful with URI parts, because they may not
have enclosing <> and if you add a URI parameter, then you
have to surround with <>, otherwise are considered header
parameters.</p>
<p>Probably, for the case of Contact, I would go with building a new
header using the {tobody} transformation, removing the old one.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 15.11.20 23:59, Sergiu Pojoga wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAJZsGC=j1Yb24kmEUy_bML9b8anFRQ=rePQb_q2Q-1ggK9Utnw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi there,<br>
<div><br>
</div>
<div>Does Kamailio have a function to add URI parameters? I
looked around but couldn't find one. I refuse to believe
Kamailio doesn't have one.</div>
<div><br>
</div>
<div>There's a <i>add_uri_param(param)</i>, but that's
strictly for R-URI. I need it for something else, Contact.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>--Sergiu</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Funding: <a class="moz-txt-link-freetext" href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>
</body>
</html>