Re: [SR-Users] Accessing indexed header PV from app_lua module in Kamailio

2012-02-08 Thread Daniel-Constantin Mierla
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=8b9a98e8a8205b2214bf3503afea8aece20e2396 Can you try that patch and tell if works for you? Cheers, Daniel On 2/3/12 5:55 PM, Chris Austin wrote:

[SR-Users] Accessing indexed header PV from app_lua module in Kamailio

2012-02-03 Thread Chris Austin
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