<div dir="auto">There’s a typo here:</div><div dir="auto"><br></div><div dir="auto"><span style="color:rgb(49,49,49);word-spacing:1px">ds_select_dst("2000"),"6");</span><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 29 Apr 2022 at 09:49, Benoît Panizzon <<a href="mailto:benoit.panizzon@imp.ch">benoit.panizzon@imp.ch</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Gang<br>
<br>
I have a observation which I don't understand...<br>
<br>
Let's assume we have an inbound $rU = 12345<br>
<br>
And I want to change $rU outbound to 0012345<br>
<br>
Doing:<br>
<br>
$rU = "0012345";<br>
ds_select_dst("2000"),"6");<br>
route(RELAY)<br>
<br>
The call is being sent out with unaltered R-URI Username: 12345<br>
<br>
Doing:<br>
<br>
$rU = "0012345";<br>
ds_select_domain("2000", "6");<br>
route(RELAY);<br>
<br>
The call is being sent out with the intended new R-URI Username: 0012345<br>
<br>
Looking at the docs:<br>
<a href="https://kamailio.org/docs/modules/5.4.x/modules/dispatcher.html#dispatcher.f.ds_select_dst" rel="noreferrer" target="_blank">https://kamailio.org/docs/modules/5.4.x/modules/dispatcher.html#dispatcher.f.ds_select_dst</a><br>
<br>
I can not figure out, why I see this difference.<br>
<br>
-- <br>
Mit freundlichen Grüssen<br>
<br>
-Benoît Panizzon- @ HomeOffice und normal erreichbar<br>
-- <br>
I m p r o W a r e   A G    -    Leiter Commerce Kunden<br>
______________________________________________________<br>
<br>
<a href="https://www.google.com/maps/search/Zurlindenstrasse+29?entry=gmail&source=g">Zurlindenstrasse 29</a>             Tel  +41 61 826 93 00<br>
CH-4133 Pratteln                Fax  +41 61 826 93 01<br>
Schweiz                         Web  <a href="http://www.imp.ch" rel="noreferrer" target="_blank">http://www.imp.ch</a><br>
______________________________________________________<br>
<br>
__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the sender!<br>
Edit mailing list options or unsubscribe:<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>
</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>