[sr-dev] [tracker] Task opened: app_lua: added sr.xavp.get_keys function (Attachment added)

sip-router bugtracker at sip-router.org
Mon Apr 22 11:22:28 CEST 2013


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 - app_lua: added sr.xavp.get_keys function
Task Type - Improvement
Category - Modules kamailio
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - The idea is to be able to do this in a lua script:

t = sr.xavp.get_keys("test_xavp")
if t then
  for _,v in pairs(t) do
    value = sr.pv.get(string.format("$xavp(test_xavp=>%s)", v))
    sr.log("info", string.format("key:%s value:%s\n",v, tostring(value)))
  end
end

This patch needs the changes made on xavp core part [ FS#287 ]

It needs some work to be able to access in a better way the right xavp variable([0],[1], etc...).

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=288

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