Ask Your Question

Revision history [back]

SIP custom headers and LUA

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)?