[OpenSIPS-Devel] [ opensips-Patches-3504627 ] Accept variables in acc_*_request
SourceForge.net
noreply at sourceforge.net
Fri Mar 16 11:56:11 CET 2012
Patches item #3504627, was opened at 2012-03-14 13:05
Message generated for change (Settings changed) made by vladut-paiu
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=3504627&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: 7
Private: No
Submitted By: Ryan Bullock (rrb3942)
>Assigned to: Razvan Crainea (razvancrainea)
Summary: Accept variables in acc_*_request
Initial Comment:
This patch adds support for variables in the acc_*_request methods exported by the acc module. It also supplies a default reason if just a sip code is accounted.
Examples:
acc_db_request("$T_reply_code $(<reply>rr)");
#This will be accounted with the reason 'Not Found'
acc_db_request("404");
I have only done testing with the acc_log_request and acc_db_request functions.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=3504627&group_id=232389
More information about the Devel
mailing list