static dissector_handle_t rtp_handle;
static dissector_handle_t stun_handle;
+static dissector_handle_t t38_handle;
static int rtp_tap = -1;
#define RTP0_INVALID 0
#define RTP0_STUN 1
+#define RTP0_T38 2
static enum_val_t rtp_version0_types[] = {
{ "invalid", "Invalid RTP packets", RTP0_INVALID },
{ "stun", "STUN packets", RTP0_STUN },
+ { "t38", "T.38 packets", RTP0_T38 },
{ NULL, NULL, 0 }
};
static guint global_rtp_version0_type = 0;
call_dissector(stun_handle, tvb, pinfo, tree);
return TRUE;
+ case RTP0_T38:
+ call_dissector(t38_handle, tvb, pinfo, tree);
+ return TRUE;
+
case RTP0_INVALID:
default:
return FALSE; /* Unknown or unsupported version */
call_dissector(stun_handle, tvb, pinfo, tree);
return;
+ case RTP0_T38:
+ call_dissector(t38_handle, tvb, pinfo, tree);
+ return;
+
case RTP0_INVALID:
default:
; /* Unknown or unsupported version (let it fall through */
{
data_handle = find_dissector("data");
stun_handle = find_dissector("stun");
+ t38_handle = find_dissector("t38");
/*
* Register this dissector as one that can be selected by a
* UDP port number.