<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><tt>Are you sure this is the intended effect? Notice how that
composite parameter of dp_translate()<br>
has been split in two parameters in 3.0 [1]. To me, it looks
like you should call:</tt></p>
<p><tt>... dp_translate(1, $ruri.user, $var(rU)) ...<br>
</tt></p>
<p><tt>To prevent other such errors with the rest of your script,
please go through the 3.0 migration<br>
document [2] and make sure to apply each change that's relevant
to your script code.</tt></p>
<p><tt>Best regards,</tt><br>
<br>
<tt><tt><tt><tt>[1]: </tt><tt><a
href="https://opensips.org/html/docs/modules/3.0.x/dialplan.html#func_dp_translate"
moz-do-not-send="true">https://opensips.org/html/docs/modules/3.0.x/dialplan.html#func_dp_translate</a></tt><br>
</tt>[2]: </tt></tt><tt><tt><a
href="https://opensips.org/Documentation/Migration-2-4-0-to-3-0-0"
moz-do-not-send="true">https://opensips.org/Documentation/Migration-2-4-0-to-3-0-0</a><a
href="https://opensips.org/html/docs/modules/3.0.x/dialplan.html#func_dp_translate">
</a></tt></tt></p>
<pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 02.07.2019 15:09, johan de clercq
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:005301d530cf$0f9bf420$2ed3dc60$@democon.be">
<p class="MsoNormal">This the code : <o:p></o:p></p>
<p class="MsoNormal"> if
(dp_translate(1,"$ruri.user/$var(rU)"))<o:p></o:p></p>
<p class="MsoNormal"> {<o:p></o:p></p>
<p class="MsoNormal"> xlog("callid=$ci:
Route[normalizeforinbound]: we dropped 0,00,+ from $rU, result
is var(rU) $var(rU)");<o:p></o:p></p>
<p class="MsoNormal"> }</p>
</blockquote>
</body>
</html>