I want to write a dissector to manage some header extensions for RTP protocol. Searching in code, I saw that we need to write a sub-dissector and that it would be called instead of the generic header extension, but how do I register my dissector to the list of sub-dissectors in Lua? UpdateWhere is the payload type string locate? In the packet I want to analyses, it said that payload type is I think the real payload type is defined in a RTSP/SDF packet I received a fiew packets ago. Here is it's RTSP content:
With that said, what should be the payload_str_type? asked 26 Jan ‘12, 12:04 mdesharnais edited 27 Jan ‘12, 06:05 |
One Answer:
This should work:
where
So, you would use:
Unfortunately, Bug 5208 prevents this subdissector from being called. UPDATE: According to
You can try SVN 40834 (or later) or download an automated build. answered 26 Jan '12, 18:25 helloworld edited 05 Feb '12, 10:28 |
Tanks for your answer. But I am not sure what the payload_type_str is suppose to be in my case. I've just edit my initial question to explain further my situation. Can you please have a look?