[OpenSIPS-Devel] [ opensips-Bugs-2861239 ] Assigning a dialog variable to an AVP fails

SourceForge.net noreply at sourceforge.net
Sat Sep 19 22:24:56 CEST 2009


Bugs item #2861239, was opened at 2009-09-18 11:19
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2861239&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: trunk
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Thomas Gelf (thomas_gelf)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: Assigning a dialog variable to an AVP fails

Initial Comment:
Steps to reproduce:
dlg_var(abc) = "hey";
$avp(efg) = dlg_var(abc);
xlog("$avp(efg) = dlg_var(abc)");
# gives "0/<null> - hey"
I'm not sure whether it was "0" or <null>, however once I assigned it to $ru the result was as follows:

$ru = "sip:" + dlg_var(abc) + "@whatever";
# -> "sip:0 at whatever"

Best regards,
Thomas Gelf

NB: Running trunk, r6130

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

>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-09-19 23:24

Message:
Indeed, there were some issues with the flag setting the default data type
and the STR ended up as being interpreting INT.

The fix is on trunk and 1.5.

Thanks and regards,
Bogdan

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

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



More information about the Devel mailing list