[SR-Users] Dispatcher Usage and change of $rU
David Villasmil
david.villasmil.work at gmail.com
Fri Apr 29 11:24:36 CEST 2022
There’s a typo here:
ds_select_dst("2000"),"6");
On Fri, 29 Apr 2022 at 09:49, Benoît Panizzon <benoit.panizzon at imp.ch>
wrote:
> Hi Gang
>
> I have a observation which I don't understand...
>
> Let's assume we have an inbound $rU = 12345
>
> And I want to change $rU outbound to 0012345
>
> Doing:
>
> $rU = "0012345";
> ds_select_dst("2000"),"6");
> route(RELAY)
>
> The call is being sent out with unaltered R-URI Username: 12345
>
> Doing:
>
> $rU = "0012345";
> ds_select_domain("2000", "6");
> route(RELAY);
>
> The call is being sent out with the intended new R-URI Username: 0012345
>
> Looking at the docs:
>
> https://kamailio.org/docs/modules/5.4.x/modules/dispatcher.html#dispatcher.f.ds_select_dst
>
> I can not figure out, why I see this difference.
>
> --
> Mit freundlichen Grüssen
>
> -Benoît Panizzon- @ HomeOffice und normal erreichbar
> --
> I m p r o W a r e A G - Leiter Commerce Kunden
> ______________________________________________________
>
> Zurlindenstrasse 29
> <https://www.google.com/maps/search/Zurlindenstrasse+29?entry=gmail&source=g>
> Tel +41 61 826 93 00
> CH-4133 Pratteln Fax +41 61 826 93 01
> Schweiz Web http://www.imp.ch
> ______________________________________________________
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
> * sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
> Edit mailing list options or unsubscribe:
> * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
--
Regards,
David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220429/caa198a6/attachment.htm>
More information about the sr-users
mailing list