MCPTT: Fix dissection of FC Reject Phase field

ETSI TS 24.380 section 8.2.3.4 specifies that:
"The <Reject Phrase> value is a text string encoded the text string
in the SDES item CNAME as specified in IETF RFC 3550."

This does not mean that SDES tipe and length files are necessary,
only applies in the enconding of the text string.
This commit is contained in:
Andoni Diaz de Cerio 2022-06-13 09:26:10 +02:00 committed by Uli Heilmeier
parent 17f5e15fcc
commit 0cadfff04a
1 changed files with 2 additions and 6 deletions

View File

@ -2550,12 +2550,8 @@ dissect_rtcp_app_mcpt(tvbuff_t* tvb, packet_info* pinfo, int offset, proto_tree*
break;
}
/* Reject Phrase */
proto_tree_add_item(sub_tree, hf_rtcp_sdes_type, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
proto_tree_add_item(sub_tree, hf_rtcp_sdes_length, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
proto_tree_add_item(sub_tree, hf_rtcp_mcptt_rej_phrase, tvb, offset, mcptt_fld_len - 4, ENC_UTF_8 | ENC_NA);
offset += (mcptt_fld_len - 4);
proto_tree_add_item(sub_tree, hf_rtcp_mcptt_rej_phrase, tvb, offset, mcptt_fld_len - 2, ENC_UTF_8 | ENC_NA);
offset += (mcptt_fld_len - 2);
break;
}
case 3: