This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

How to decode a Diameter AVP if there are more AVPs of same code?

0

Hi,

I am trying to decode some Diameter AVPs using wireshark, but I found that same AVP code is defined at two places differently like below:

imscxdx.xml: <avp name="SIP-Auth-Data-Item" code="13" mandatory="must" vendor-bit="must" vendor-id="TGPP" may-encrypt="yes">

TGPPGmb.xml: <avp name="3GPP-Charging-Characteristics" code="13" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">

imscxdx.xml: <avp name="Public-Identity" code="2" mandatory="must" vendor-bit="must" vendor-id="TGPP" may-encrypt="yes">

TGPPGmb.xml: <avp name="3GPP-Charging ID" code="2" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">

imscxdx.xml: <avp name="Mandatory-Capability" code="5" mandatory="must" vendor-bit="must" vendor-id="TGPP" may-encrypt="no">

TGPPGmb.xml: <avp name="3GPP-GPRS Negotiated QoS profile" code="5" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">

I want to decode the AVPs as defined in file "TGPPGmb.xml". But currently the wireshark decode this as it is defined in file "imscxdx.xml" How can I change this, so that wireshark decode it as I wanted.

asked 20 Apr '11, 15:29

sunil's gravatar image

sunil
11223
accept rate: 0%


One Answer:

1

Check out the comments at the beginning of the files: And <!-- These AVP:s collide(share AVP code number) with other 3GPP AVP:s (TGPPGmb.xml) uncomment 1 - 28 here and uncomment the ones in TGPPGmb.xml if you want to use these.

answered 20 Apr '11, 21:43

Anders's gravatar image

Anders ♦
4.6k952
accept rate: 17%