THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - C. Austin (vulpyne)
Attached to Project - sip-router Summary - sr.pv.get fails for retrieving index header variable in Lua Task Type - Bug Report Category - Module Status - Unconfirmed Assigned To - Operating System - All Severity - Medium Priority - Normal Reported Version - Development Due in Version - Undecided Due Date - Undecided Details - For example: $(hdr(Remote-Party-ID)[2])
Doing this causes Kamailio to output an error to the log when it fails to parse the PV: 2012-02-02 16:38:58|E| 6(26940) ERROR: app_lua [app_lua_sr.c:892]: invalid pv [$(hdr(remote-party-id)[0])] (-1/26)
This was triggered using sr.pv.get("$(hdr(remote-party-id)[0])") from within Lua.
I have also tried sr.pv.get("$hdr(remote-party-id)[0]") which also failed: 2012-02-02 18:26:28|E|15(26956) ERROR: app_lua [app_lua_sr.c:892]: invalid pv [$hdr(remote-party-id)[0]] (21/24)
More information can be found at the following URL: http://sip-router.org/tracker/index.php?do=details&task_id=202
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.