<div dir="ltr"><div dir="ltr">Try enclosing the 1 in quotes<div><br></div><div>dp_translate("1","$ruri.user/$var(rU)")<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"> </p><div dir="ltr" style="margin-left:0pt"><table style="border:none;border-collapse:collapse"><colgroup><col width="150"><col width="474"></colgroup><tbody><tr style="height:93pt"><td style="vertical-align:top;padding:5pt 5pt 5pt 5pt"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><img src="https://lh6.googleusercontent.com/RHbmOLdT6iYkO7QryjK_2Cp5MZ6rur2H4QGOu09yDtXiT6OXl687J-UpI-8Bt2aDI_EA4WKBBpCrPWaIWdF5RkhjruxRoI7GfYE89_m8r2IBg73T8mPpsJOOOJylFwGMVNyuXZZ2" width="136" height="99" style="border:none" alt="BandwidthMaroon.png"></span></p></td><td style="vertical-align:top;padding:5pt 5pt 5pt 5pt"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"> </p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:700;vertical-align:baseline;white-space:pre-wrap">Richard Revels</span><span style="font-size:9pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">  </span><span style="font-size:9pt;font-family:Arial;color:rgb(195,195,230);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">•</span><span style="font-size:9pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">  </span><span style="font-size:12.8px">System Architect II</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">900 Main Campus Drive, Suite 100, Raleigh, NC 27606</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"> </p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9pt;font-family:Arial;color:rgb(166,77,121);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">m:</span><span style="font-size:9pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"> <span title="Call with Google Voice"><span id="gc-number-0" class="gc-cs-link" title="Call with Google Voice">919-578-3421</span></span>  </span><span style="font-size:9pt;font-family:Arial;color:rgb(195,195,230);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">•</span><span style="font-size:9pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"> </span><span style="font-size:9pt;font-family:Arial;color:rgb(166,77,121);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"> o: </span><span style="font-size:9pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><span title="Call with Google Voice"><span id="gc-number-1" class="gc-cs-link" title="Call with Google Voice">919-727-4614</span></span></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9pt;font-family:Arial;color:rgb(166,77,121);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">e: </span><span style="font-size:9pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><a href="mailto:rrevels@bandwidth.com" target="_blank">rrevels@bandwidth.com</a></span></p></td></tr></tbody></table></div></span></div></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 1, 2019 at 5:28 AM johan de clercq <<a href="mailto:johan@democon.be">johan@democon.be</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_7006007056259239123WordSection1"><p class="MsoNormal">Hi, <u></u><u></u></p><p class="MsoNormal">Using latest opensips 3.0,  there seems to be a problem in dialplan <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">  1 09:23:25 hendrix /data/opensips/sbin/opensips[4197]: ERROR:core:get_cmd_fixups: Variable in param [1] is not an integer<u></u><u></u></p><p class="MsoNormal">Jul  1 09:23:25 hendrix /data/opensips/sbin/opensips[4197]: ERROR:core:do_action: Failed to get fixups for command <dp_translate><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">This the code : <u></u><u></u></p><p class="MsoNormal">    if (dp_translate(1,"$ruri.user/$var(rU)"))<u></u><u></u></p><p class="MsoNormal">    {<u></u><u></u></p><p class="MsoNormal">        xlog("callid=$ci: Route[normalizeforinbound]: we dropped 0,00,+ from $rU, result is var(rU) $var(rU)");<u></u><u></u></p><p class="MsoNormal">    }<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><img width="255" height="121" style="width: 2.6583in; height: 1.2625in;" id="gmail-m_7006007056259239123_x0034_85395db-595c-48b6-9dfb-1ae976a74568" src="cid:16baf5cafbf4cff311" alt="cid:F3100D46-F00D-4610-87ED-3E91DA790A82"><u></u><u></u></p><p class="MsoNormal"><span style="font-size:14pt;font-family:Helvetica,sans-serif">Johan De Clercq, Managing Director<span style="color:black"><br>Democon bvba - Ooigemstraat 41 - 8780 Oostrozebeke</span></span><span style="font-size:14pt;font-family:Helvetica,sans-serif;color:black"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:14pt;font-family:Helvetica,sans-serif;color:black">Tel +3256980990</span><span style="font-size:14pt;font-family:Helvetica,sans-serif"> – GSM +32478720104</span><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div></div>