[OpenSIPS-Devel] [ opensips-Patches-3504627 ] Accept variables in acc_*_request

SourceForge.net noreply at sourceforge.net
Wed Mar 21 13:39:46 CET 2012


Patches item #3504627, was opened at 2012-03-14 13:05
Message generated for change (Settings changed) made by bogdan_iancu
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: Closed
>Resolution: Accepted
Priority: 7
Private: No
Submitted By: Ryan Bullock (rrb3942)
>Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
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