diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-03-11 03:05:57 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-03-11 03:05:57 +0000 |
commit | 009de7a662b9727b74dc426bd398eaaa1cdc2f65 (patch) | |
tree | e9ffd67c0cb3d4bca021a052dc7f335aae021419 /asn1/h245 | |
parent | 6285418a43543e3c2d2047c3bece47720e735156 (diff) |
From Alexandro Vaquero:
fix the call to "rtp_add_address()" to match the new signature;
fix a problem with the codec displayed in the "Voip Graph"
for H245 "RequestMode" messages.
svn path=/trunk/; revision=13709
Diffstat (limited to 'asn1/h245')
-rw-r--r-- | asn1/h245/h245.cnf | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/asn1/h245/h245.cnf b/asn1/h245/h245.cnf index 96fdd03a3c..07d99c7b20 100644 --- a/asn1/h245/h245.cnf +++ b/asn1/h245/h245.cnf @@ -164,6 +164,36 @@ OpenLogicalChannel if (h245_pi != NULL) g_snprintf(h245_pi->frame_label, 50, "%s %s", h245_pi->frame_label, codec_type); #.END #---------------------------------------------------------------------------------------- +#.FN_BODY AudioMode + guint32 value; + + offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, + ett_h245_AudioMode, AudioMode_choice, "AudioMode", + &value); + codec_type = val_to_str(value, h245_AudioMode_vals, "<unknown>"); + if (h245_pi != NULL) g_snprintf(h245_pi->frame_label, 50, "%s %s", h245_pi->frame_label, val_to_str(value, h245_AudioMode_vals, "ukn")); +#.END +#---------------------------------------------------------------------------------------- +#.FN_BODY VideoMode + guint32 value; + + offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, + ett_h245_VideoMode, VideoMode_choice, "VideoMode", + &value); + codec_type = val_to_str(value, h245_VideoMode_vals, "<unknown>"); + if (h245_pi != NULL) g_snprintf(h245_pi->frame_label, 50, "%s %s", h245_pi->frame_label, val_to_str(value, h245_VideoMode_vals, "ukn")); +#.END +#---------------------------------------------------------------------------------------- +#.FN_BODY DataModeApplication + guint32 value; + + offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, + ett_h245_DataModeApplication, DataModeApplication_choice, "DataModeApplication", + &value); + codec_type = val_to_str(value, h245_DataModeApplication_vals, "<unknown>"); + if (h245_pi != NULL) g_snprintf(h245_pi->frame_label, 50, "%s %s", h245_pi->frame_label, val_to_str(value, h245_DataModeApplication_vals, "ukn")); +#.END +#---------------------------------------------------------------------------------------- #.FN_FTR MasterSlaveDeterminationAck h245_pi->msg_type = H245_MastSlvDetAck; @@ -375,7 +405,7 @@ guint32 tsapIdentifier; src_addr.len=4; src_addr.data=(char *)&ipv4_address; - rtp_add_address(pinfo, &src_addr, ipv4_port, 0, "H245", pinfo->fd->num); + rtp_add_address(pinfo, &src_addr, ipv4_port, 0, "H245", pinfo->fd->num, 0); } if((!pinfo->fd->flags.visited) && rtcp_ipv4_address!=0 && rtcp_ipv4_port!=0 && rtcp_handle){ address src_addr; |