<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hello Kirill,<br>
<br>
The drouting module is fetching the original FROM header, as
received from the network. So your changes from the script will be
ignored.<br>
<br>
An alternative is to determine the routing group by yourself, at
script level (like doing a DB query, even to the same dr_groups
table, but using whatever value you want for the user) and push
the group as parameter to the do_routing() function.<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 Summit 2018
<a class="moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2018Amsterdam">http://www.opensips.org/events/Summit-2018Amsterdam</a>
</pre>
<div class="moz-cite-prefix">On 06/01/2018 05:05 PM, Kirill
Galinurov wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAPDUut8sfJoKFcGktM8v_WvjgPsPEY-Wmdk4Ug0CX=vSBtQAew@mail.gmail.com">
<div dir="ltr">Hi all. I use drouting module for LCR. No i use
do_routing function in request_route() But i
want normalize username in From before do_routing.
<div>How I can do it. Now do_routing() use old username for
discover group.</div>
<div>Also I want to change username in contact field before
topology hiding.</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>