<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="monospace">Hi Andrei,<br>
<br>
You MUST NOT change the auth username as you will break the whole
authentication process. The username is part of alg. for computing
the auth result. So, if you change the auth uername, the auth
result will become invalid.<br>
<br>
Regards,<br>
</font>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS eBootcamp 23rd May - 3rd June 2022
<a class="moz-txt-link-freetext" href="https://opensips.org/training/OpenSIPS_eBootcamp_2022/">https://opensips.org/training/OpenSIPS_eBootcamp_2022/</a></pre>
<div class="moz-cite-prefix">On 3/28/22 10:55 AM, Andrei G. wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CALUe069Kibr2R0ZyWkjJWDqgb7Z51vbDUh0DG12y466XFvLCHA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi,
<div><br>
</div>
<div>How do I modify the field "Authorization: Digest username"
in REGISTER packet?</div>
<div><br>
</div>
<div>tried with uac_replace_to(,"user@asterisk1") and
uac_replace_from(,"user@asterisk1") but it does affect only to
and from headers not digest username</div>
<div><br>
</div>
<div>thanks</div>
<div>Andrei</div>
<div>
<h3 class="gmail-iw"
style="overflow:hidden;white-space:nowrap;font-size:0.75rem;font-weight:inherit;margin:inherit;text-overflow:ellipsis;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;letter-spacing:0.3px;color:rgb(95,99,104);line-height:20px"><br>
</h3>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Mar 24, 2022 at 4:20
AM Artiom Druz <<a href="mailto:artiom.druz@gmail.com"
moz-do-not-send="true">artiom.druz@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="auto">
<div>Hello, Andrei.</div>
<div dir="auto">You can do that by taking $tU (user from
"To" header) and using some transformation function. In
your example can be used s.select function. (<a
href="https://www.opensips.org/Documentation/Script-Tran-3-2#toc7"
target="_blank" moz-do-not-send="true">https://www.opensips.org/Documentation/Script-Tran-3-2#toc7</a>)</div>
<div dir="auto"><br>
</div>
<div dir="auto">Best regards,</div>
<div dir="auto">Artiom Druz</div>
<div dir="auto"><br>
<div class="gmail_quote" dir="auto">
<div dir="ltr" class="gmail_attr">ср, 23 мар. 2022 г.,
21:11 Andrei G. <<a
href="mailto:andreigrav@gmail.com" target="_blank"
moz-do-not-send="true">andreigrav@gmail.com</a>>:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Hey guys,
<div><br>
</div>
<div>I successfully tested opensips with
mid_registrar for one domain</div>
<div><br>
</div>
<div>Is it possible to use opensips in front of 2
asterisk boxes and redirect registrations based on
a prefix username, not domain prefix? </div>
<div><br>
</div>
<div>Something like </div>
<div><a class="moz-txt-link-abbreviated" href="mailto:asterisk1-user@mid-registrar.domain">asterisk1-user@mid-registrar.domain</a> - where
opensips manage registration for user@asterisk1</div>
<div>
<div><a class="moz-txt-link-abbreviated" href="mailto:asterisk2-user@mid-registrar.domain">asterisk2-user@mid-registrar.domain</a> - where
opensips manage registration for user@asterisk2</div>
<div><br>
</div>
</div>
<div>Regards</div>
<div>Andrei G.</div>
<div><br>
</div>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org"
rel="noreferrer" target="_blank"
moz-do-not-send="true">Users@lists.opensips.org</a><br>
<a
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
</div>
</div>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank"
moz-do-not-send="true">Users@lists.opensips.org</a><br>
<a
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-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>