[SR-Users] Dispatcher Usage and change of $rU

Benoît Panizzon benoit.panizzon at imp.ch
Fri Apr 29 10:46:56 CEST 2022


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             Tel  +41 61 826 93 00
CH-4133 Pratteln                Fax  +41 61 826 93 01
Schweiz                         Web  http://www.imp.ch
______________________________________________________



More information about the sr-users mailing list