Are you sure this is the intended effect?  Notice how that composite parameter of dp_translate() has been split in two parameters in 3.0 [1].  To me, it looks like you should call:

... dp_translate(1, $ruri.user, $var(rU)) ...

To prevent other such errors with the rest of your script, please go through the 3.0 migration document [2] and make sure to apply each change that's relevant to your script code.

Best regards,

[1]: https://opensips.org/html/docs/modules/3.0.x/dialplan.html#func_dp_translate [2]: https://opensips.org/Documentation/Migration-2-4-0-to-3-0-0<https://opensips.org/html/docs/modules/3.0.x/dialplan.html#func_dp_translate>

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 02.07.2019 15:09, johan de clercq wrote:

This the code :

    if (dp_translate(1,"$ruri.user/$var(rU)"))

    {

        xlog("callid=$ci: Route[normalizeforinbound]: we dropped 0,00,+ from $rU, result is var(rU) $var(rU)");

    }

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to