[sr-dev] [tracker] Task opened: acc: allow pvar as first parameter for functions (Attachment added)

sip-router bugtracker at sip-router.org
Thu Jan 2 12:16:15 CET 2014


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Víctor Seva (linuxmaniac) 

Attached to Project - sip-router
Summary - acc: allow pvar as first parameter for functions
Task Type - Feature Request
Category - Module
Status - New
Assigned To - Víctor Seva
Operating System - All
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - Enable using pseudo variables in acc funtions as first parameter.

        $var(x)="403 Hola mamona";
        xlog("L_INFO", "$$var(x):$var(x)\n");
        acc_log_request("$var(x)");

        $avp(y)="503 Internal Error";
        acc_log_request("$avp(y)");



 1(13534) INFO: <script>: $var(x):403 Hola mamona
 1(13534) NOTICE: acc [acc.c:315]: acc_log_request(): ACC: request accounted: timestamp=1388661266;method=INVITE;from_tag=76ff7a07-c091-4192-84a0-d56e91fe104f;to_tag=;call_id=r10815e0-bf17-4afa-8412-d9130a793d96 at 213.20.128.35;code=403;reason=Hola mamona;src_user=jiri;src_domain=iptel.org;src_ip=127.0.0.1;dst_ouser=jiri;dst_user=7271;dst_domain=iptel.org
 1(13534) NOTICE: acc [acc.c:315]: acc_log_request(): ACC: request accounted: timestamp=1388661266;method=INVITE;from_tag=76ff7a07-c091-4192-84a0-d56e91fe104f;to_tag=;call_id=r10815e0-bf17-4afa-8412-d9130a793d96 at 213.20.128.35;code=503;reason=Internal Error;src_user=jiri;src_domain=iptel.org;src_ip=127.0.0.1;dst_ouser=jiri;dst_user=7271;dst_domain=iptel.org




One or more files have been attached.

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=386

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list