<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:248000411;
mso-list-type:hybrid;
mso-list-template-ids:-2103556738 -803155124 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:-;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Calibri",sans-serif;
mso-fareast-font-family:Calibri;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l1
{mso-list-id:1285312890;
mso-list-template-ids:194283710;}
@list l1:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level2
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:1.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level3
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level4
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level5
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level6
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level7
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level8
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level9
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hello, <o:p></o:p></p><p class=MsoNormal>Is there any update on this blocking issue for my 3.0 rollout ?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>BR, <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> johan de clercq <johan@democon.be> <br><b>Sent:</b> Monday, July 1, 2019 11:37 AM<br><b>To:</b> 'OpenSIPS users mailling list' <users@lists.opensips.org><br><b>Subject:</b> RE: problem in dialplan <o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>In addition, when I use $var(i) I have more output <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Jul 1 09:32:39 hendrix /data/opensips/sbin/opensips[4593]: DBG:dialplan:dp_translate_f: dpid is 1 partition is default<o:p></o:p></p><p class=MsoNormal>Jul 1 09:32:39 hendrix /data/opensips/sbin/opensips[4593]: DBG:dialplan:dp_translate_f: input is +32478720101/<o:p></o:p></p><p class=MsoNormal>Jul 1 09:32:39 hendrix /data/opensips/sbin/opensips[4593]: DBG:dialplan:dp_translate_f: no information available for dpid 1<o:p></o:p></p><p class=MsoNormal>Jul 1 09:32:39 hendrix /data/opensips/sbin/opensips[4593]: callid=bmWolfo6-vYkkNdSG0sYBA..: Route[normalizeforinbound]: dp_translate failed!, we drop the call<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>When I look into the db : <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>MySQL [test]> select * from dialplan;<o:p></o:p></p><p class=MsoNormal>+----+------+----+----------+--------------+-------------+----------------+----------+---------+----------+-------+<o:p></o:p></p><p class=MsoNormal>| id | dpid | pr | match_op | match_exp | match_flags | subst_exp | repl_exp | timerec | disabled | attrs |<o:p></o:p></p><p class=MsoNormal>+----+------+----+----------+--------------+-------------+----------------+----------+---------+----------+-------+<o:p></o:p></p><p class=MsoNormal>| 4 | 1 | 1 | 1 | ^(00|\+|0).* | 0 | ^(00|\+|0)(.*) | \2 | NULL | 0 | |<o:p></o:p></p><p class=MsoNormal>| 5 | 33 | 1 | 1 | ^(0).* | 1 | ^(0)(.*) | 33\2 | NULL | 0 | |<o:p></o:p></p><p class=MsoNormal>| 6 | 33 | 1 | 1 | ^(00|\+).* | 1 | ^(00|\+)(.*) | \2 | NULL | 0 | |<o:p></o:p></p><p class=MsoNormal>| 11 | 32 | 1 | 1 | ^(00|\+).* | 1 | ^(00|\+)(.*) | \2 | NULL | 0 | |<o:p></o:p></p><p class=MsoNormal>| 13 | 32 | 1 | 1 | ^(0).* 1 | 1 | ^(0)(.*) | 32\2 | NULL | 0 | |<o:p></o:p></p><p class=MsoNormal>+----+------+----+----------+--------------+-------------+----------------+----------+---------+----------+-------+<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>So there are 2 problems : <o:p></o:p></p><ul style='margin-top:0in' type=disc><li class=MsoListParagraph style='margin-left:0in;mso-list:l0 level1 lfo3'>Dp_translate when the first parameter is an integer the function does not terminate normally. <o:p></o:p></li><li class=MsoListParagraph style='margin-left:0in;mso-list:l0 level1 lfo3'>Please explain the error above. <o:p></o:p></li></ul><p class=MsoNormal>BR, <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> johan de clercq <<a href="mailto:johan@democon.be">johan@democon.be</a>> <br><b>Sent:</b> Monday, July 1, 2019 11:28 AM<br><b>To:</b> 'OpenSIPS users mailling list' <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>><br><b>Subject:</b> problem in dialplan <o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi, <o:p></o:p></p><p class=MsoNormal>Using latest opensips 3.0, there seems to be a problem in dialplan <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></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<o:p></o:p></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><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><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> }<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><img border=0 width=255 height=121 style='width:2.6541in;height:1.2583in' id="_x0034_85395db-595c-48b6-9dfb-1ae976a74568" src="cid:image001.png@01D530DF.C4C2F910" alt="cid:F3100D46-F00D-4610-87ED-3E91DA790A82"><o:p></o:p></p><p class=MsoNormal><span style='font-size:14.0pt;font-family:"Helvetica",sans-serif'>Johan De Clercq, Managing Director<span style='color:black'><br>Democon bvba - Ooigemstraat 41 - 8780 Oostrozebeke<o:p></o:p></span></span></p><p class=MsoNormal><span style='font-size:14.0pt;font-family:"Helvetica",sans-serif;color:black'>Tel +3256980990</span><span style='font-size:14.0pt;font-family:"Helvetica",sans-serif'> – GSM +32478720104</span><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>