[OpenSIPS-Users] problem in dialplan
Liviu Chircu
liviu at opensips.org
Tue Jul 2 09:11:09 EDT 2019
Hi Johan,
I was not able to reproduce your startup issue on latest 3.0, regardless
if using partitions or not.
Can you provide a minimal opensips.cfg file that exhibits the issue?
Best regards,
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 02.07.2019 15:09, johan de clercq wrote:
>
> Hello,
>
> Is there any update on this blocking issue for my 3.0 rollout ?
>
> BR,
>
> *From:* johan de clercq <johan at democon.be>
> *Sent:* Monday, July 1, 2019 11:37 AM
> *To:* 'OpenSIPS users mailling list' <users at lists.opensips.org>
> *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 <johan at democon.be <mailto:johan at democon.be>>
> *Sent:* Monday, July 1, 2019 11:28 AM
> *To:* 'OpenSIPS users mailling list' <users at lists.opensips.org
> <mailto:users at lists.opensips.org>>
> *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)");
>
> }
>
> cid:F3100D46-F00D-4610-87ED-3E91DA790A82
>
> Johan De Clercq, Managing Director
> Democon bvba - Ooigemstraat 41 - 8780 Oostrozebeke
>
> Tel +3256980990– GSM +32478720104
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190702/efa61ebd/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 15602 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20190702/efa61ebd/attachment-0001.png>
More information about the Users
mailing list