Hello, 

Is there any update on this blocking issue for my 3.0 rollout ?

 

BR, 

 

From: johan de clercq <[email protected]> 
Sent: Monday, July 1, 2019 11:37 AM
To: 'OpenSIPS users mailling list' <[email protected]>
Subject: RE: problem in dialplan 

 

In addition, when I use $var(i) I have more output 

 

Jul  1 09:32:39 hendrix /data/opensips/sbin/opensips[4593]:
DBG:dialplan:dp_translate_f: dpid is 1 partition is default

Jul  1 09:32:39 hendrix /data/opensips/sbin/opensips[4593]:
DBG:dialplan:dp_translate_f: input is +32478720101/

Jul  1 09:32:39 hendrix /data/opensips/sbin/opensips[4593]:
DBG:dialplan:dp_translate_f: no information available for dpid 1

Jul  1 09:32:39 hendrix /data/opensips/sbin/opensips[4593]:
callid=bmWolfo6-vYkkNdSG0sYBA..: Route[normalizeforinbound]: dp_translate
failed!, we drop the call

 

When I look into the db : 

 

MySQL [test]> select * from dialplan;

+----+------+----+----------+--------------+-------------+----------------+-
---------+---------+----------+-------+

| id | dpid | pr | match_op | match_exp    | match_flags | subst_exp      |
repl_exp | timerec | disabled | attrs |

+----+------+----+----------+--------------+-------------+----------------+-
---------+---------+----------+-------+

|  4 |    1 |  1 |        1 | ^(00|\+|0).* |           0 | ^(00|\+|0)(.*) |
\2       | NULL    |        0 |       |

|  5 |   33 |  1 |        1 | ^(0).*       |           1 | ^(0)(.*)       |
33\2     | NULL    |        0 |       |

|  6 |   33 |  1 |        1 | ^(00|\+).*   |           1 | ^(00|\+)(.*)   |
\2      | NULL    |        0 |       |

| 11 |   32 |  1 |        1 | ^(00|\+).*   |           1 | ^(00|\+)(.*)   |
\2       | NULL    |        0 |       |

| 13 |   32 |  1 |        1 | ^(0).* 1     |           1 | ^(0)(.*)       |
32\2     | NULL    |        0 |       |

+----+------+----+----------+--------------+-------------+----------------+-
---------+---------+----------+-------+

 

So there are 2 problems : 

*       Dp_translate when the first parameter is an integer the function
does not terminate normally. 
*       Please explain the error above. 

BR, 

 

 

From: johan de clercq <[email protected] <mailto:[email protected]> > 
Sent: Monday, July 1, 2019 11:28 AM
To: 'OpenSIPS users mailling list' <[email protected]
<mailto:[email protected]> >
Subject: problem in dialplan 

 

Hi, 

Using latest opensips 3.0,  there seems to be a problem in dialplan 

 

  1 09:23:25 hendrix /data/opensips/sbin/opensips[4197]:
ERROR:core:get_cmd_fixups: Variable in param [1] is not an integer

Jul  1 09:23:25 hendrix /data/opensips/sbin/opensips[4197]:
ERROR:core:do_action: Failed to get fixups for command <dp_translate>

 

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)");

    }

 



Johan De Clercq, Managing Director
Democon bvba - Ooigemstraat 41 - 8780 Oostrozebeke

Tel +3256980990 - GSM +32478720104

 

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

Reply via email to