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=;[email protected];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=;[email protected];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.

_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to