#210 Accept variables in acc_*_request

trunk
closed-accepted
modules (179)
7
2012-03-21
2012-03-14
Ryan Bullock
No

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.

Discussion

  • Ryan Bullock
    Ryan Bullock
    2012-03-14

    Accept variables in acc_*_request

     
    • priority: 5 --> 7
    • assigned_to: nobody --> razvancrainea
     
    • assigned_to: razvancrainea --> bogdan_iancu
    • status: open --> closed-accepted