SIP custom headers and LUA

asked 2018-12-18 07:05:33 +0000

Konstantin gravatar image

Hello, guys.

I did create SIP custom (sip.p-rc-custom) header in Wireshark parameters and can you it for filtering and so forth. But when I do "sip_cust_header_f = Field.new("sip.p-rc-custom")" in init.lua I have an error "bad argument #1 to 'new' (Field_new: a field with this name must exist)".

Is it a feature or a bug? Is it possible to work with custom SIP headers in init.lua without manual raw message parsing (via regexp, very slow)?

edit retag flag offensive close merge delete