[OpenSIPS-Devel] [ opensips-Bugs-2778720 ] Using $dd in with accounting does not work.
SourceForge.net
noreply at sourceforge.net
Wed Apr 22 17:46:47 CEST 2009
Bugs item #2778720, was opened at 2009-04-22 11:46
Message generated for change (Tracker Item Submitted) made by rrb3942
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2778720&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: None
Priority: 5
Private: No
Submitted By: Ryan Bullock (rrb3942)
Assigned to: Nobody/Anonymous (nobody)
Summary: Using $dd in with accounting does not work.
Initial Comment:
When accounting to a database and using modparam("acc", "db_extra", "dst_domain=$dd") nothing ever gets recorded into the database for dst_domain.
It works if you assign the value of $dd to a variable or an avp in the script and account that instead. I only tested this is accounting to the database, not to the log.
Other pseudo variables seem to work fine for accounting, such as $rU.
Doesn't Work:
modparam("acc", "db_extra", "dst_domain=$dd")
Works:
modparam("acc", "db_extra", "dst_domain=$var(dd)")
$var(dd)=$dd;
This was on version 1.5.1 of opensips.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2778720&group_id=232389
More information about the Devel
mailing list