<div dir="auto">Thanks Sergiu,</div><div dir="auto"><br></div><div dir="auto">I ended up just removing the header and then adding it again. Worked like a charm.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Thanks</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 8 Oct 2020 at 23:46, Sergiu Pojoga <<a href="mailto:pojogas@gmail.com">pojogas@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr">You could probably use subst_hf regex to replace what's needed, something like:<div><br>subst_hf("Proxy-Authenticate", "/:test@/:best@/", "a");<br></div></div><br><div class="gmail_quote"></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 8, 2020 at 6:28 PM David Villasmil <<a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a>> wrote:<br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"></blockquote></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr">Hello guys,<div><br></div><div>I'm receiving a Proxy-Authenticate header with a special parameter, call if "myparam", something like:</div><div><br></div><div><font face="monospace" style="font-family:monospace;color:rgb(0,0,0)">Proxy-Authenticate: Digest realm="<a href="http://sip.mydomain.com" target="_blank" style="font-family:monospace">sip.mydomain.com</a>", nonce="...", algorithm=MD5, qop="auth", opaque="XXXX/YYYY"</font><br></div><div><br></div><div>I can get the parameter like so:</div><div><br></div><div><font face="monospace" style="font-family:monospace;color:rgb(0,0,0)">$var(myparam) = @proxy_authorization["<a href="http://sip.mydomain.com" target="_blank" style="font-family:monospace">sip.mydomain.com</a>"].myparam;</font><br></div><div><br></div><div>And this is great!</div><div><br></div><div>But i need to replace part of the parameter "myparam"m and I can't figure out how to do it...</div><div><br></div><div>Can anyone help me with this?</div><div><br clear="all"><div><div dir="ltr"><div dir="ltr"><div>Thanks!,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div></div></div></div></blockquote></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><br><br>_______________________________________________<br><br><br>Kamailio (SER) - Users Mailing List<br><br><br><a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br><br><br><a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br><br><br></blockquote></div><br><br>_______________________________________________<br><br>Kamailio (SER) - Users Mailing List<br><br><a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br><br><a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br><br></blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div>