[OpenSIPS-Devel] [ opensips-Bugs-2723978 ] Problem with DialPlan module

SourceForge.net noreply at sourceforge.net
Fri Apr 3 05:10:12 CEST 2009


Bugs item #2723978, was opened at 2009-03-31 17:43
Message generated for change (Comment added) made by padraigf65
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2723978&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.5.x
Status: Open
Resolution: Fixed
Priority: 7
Private: No
Submitted By: Patrick F. (padraigf65)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: Problem with DialPlan module

Initial Comment:
I've encountered a problem with dialplan that worked in 1.4.4 & 1.4.5.   I'm using it to simply take an input number and replace it with a different number:

in the cfg file:
        dp_translate("0", "$ruri.user/$ruri.user");

and there is only one entry in my mysql database:

+----+------+----+----------+------------+-----------+-----------+----------------+-------+
| id | dpid | pr | match_op | match_exp  | match_len | subst_exp | repl_exp       | attrs |
+----+------+----+----------+------------+-----------+-----------+----------------+-------+
|  1 |    0 |  1 |        0 | 2022310000 |        10 |           | 05052022310000 |       | 
+----+------+----+----------+------------+-----------+-----------+----------------+-------+


Mar 31 17:37:42 artery osips-artery[96677]: DBG:dialplan:dp_get_ivalue: integer value
Mar 31 17:37:42 artery osips-artery[96677]: DBG:dialplan:dp_translate_f: dpid is 0
Mar 31 17:37:42 artery osips-artery[96677]: DBG:dialplan:dp_get_svalue: searching 15 
Mar 31 17:37:42 artery osips-artery[96677]: DBG:dialplan:dp_translate_f: input is 2022310000
Mar 31 17:37:42 artery osips-artery[96677]: DBG:dialplan:translate: equal operator testing
Mar 31 17:37:42 artery osips-artery[96677]: DBG:dialplan:translate: found a matching rule 0x2871c6c8: pr 1, match_exp 2022310000
Mar 31 17:37:42 artery osips-artery[96677]: DBG:dialplan:rule_translate: simply replace the string, subst_comp 0x0, n_escapes 0
Mar 31 17:37:42 artery osips-artery[96677]: DBG:dialplan:dp_translate_f: input 2022310000 with dpid 0 => output 05052022310000
Mar 31 17:37:42 artery osips-artery[96677]: ALERT:core:do_action: BUG in set*() type 1
Mar 31 17:37:42 artery osips-artery[96677]: ERROR:dialplan:dp_update: failed to set the output
Mar 31 17:37:42 artery osips-artery[96677]: ERROR:dialplan:dp_translate_f: cannot set the output


----------------------------------------------------------------------

Comment By: Patrick F. (padraigf65)
Date: 2009-04-02 23:10

Message:
Updated and all seems to be testing correctly now.

Thanks

----------------------------------------------------------------------

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-04-01 14:32

Message:
Bug fixed on SVN. Please update and confirm the fixing.

Thanks and regards,
Bogdan

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2723978&group_id=232389



More information about the Devel mailing list