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

SourceForge.net noreply at sourceforge.net
Fri Sep 18 14:46:01 CEST 2009


Bugs item #2861239, was opened at 2009-09-18 11:19
Message generated for change (Settings changed) 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: Open
Resolution: None
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

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

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