Hello,
it seems there was an issue fixed by Ovidiu Sas -- in git master so far:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8b9a98e8...
Can you try that patch and tell if works for you?
Cheers, Daniel
On 2/3/12 5:55 PM, Chris Austin wrote:
Hi all,
I have have been attempting to implement Remote-Party-ID support using the app_lua module in Kamailio. Since more than one Remote-Party-ID header may exist, this requires accessing the header pseudo-variable with an index. 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)
Am I doing something wrong? If not, any ideas for a workaround?
Thanks for your time.
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users