You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I download H235-SECURITY-MESSAGES.asn, H323-MESSAGES.asn and MULTIMEDIA-SYSTEM-CONTROL.asn from wireshark source code.
I put H235-SECURITY-MESSAGES.asn and MULTIMEDIA-SYSTEM-CONTROL.asn into directory standard-modules.
And I compiled successfully with cmd:asn1c -pdu=all -fcompound-names H323-MESSAGES.asn.
However, the generated converter example failed to parse PDU with cmd:converter-example -aper -p MultimediaSystemControlMessage h245request.bin.
Problem 1
It can't parse MultiplexCapability.
The aper support in the master branch is not very good. Try the vlm_master branch from mouse07410 fork that contains an alternative aper implementation.
I download H235-SECURITY-MESSAGES.asn, H323-MESSAGES.asn and MULTIMEDIA-SYSTEM-CONTROL.asn from wireshark source code.
I put H235-SECURITY-MESSAGES.asn and MULTIMEDIA-SYSTEM-CONTROL.asn into directory standard-modules.
And I compiled successfully with cmd:asn1c -pdu=all -fcompound-names H323-MESSAGES.asn.
However, the generated converter example failed to parse PDU with cmd:converter-example -aper -p MultimediaSystemControlMessage h245request.bin.
Problem 1
It can't parse MultiplexCapability.
It seems asn1c has problem when it parse extension. Converter successfully regconized h2250Capability if I detete "..."
Problem 2
Converter example failed to parse mediaDistributionCapability.
Error info:
Decoding member "multiUniCastConference" in MultipointCapability (constr_SEQUENCE_aper.c:130)
[PER got 1<=1430 bits => span 107 +13[3..1432]:00 (1429) => 0x0] (asn_bit_data.c:139)
BOOLEAN decoded as FALSE (BOOLEAN_aper.c:39)
Decoding member "mediaDistributionCapability" in MultipointCapability (constr_SEQUENCE_aper.c:130)
Aligning 5 bits (aper_support.c:13)
[PER got 5<=1429 bits => span 112 +13[8..1432]:00 (1424) => 0x0] (asn_bit_data.c:139)
[PER got 8<=1424 bits => span 120 +14[8..1424]:fa (1416) => 0xfa] (asn_bit_data.c:139)
Got to decode -1 elements (eff -1) (constr_SET_OF_aper.c:152)
Failed decode mediaDistributionCapability in MultipointCapability (constr_SEQUENCE_aper.c:146)
Failed decode receiveMultipointCapability in H2250Capability (constr_SEQUENCE_aper.c:146)
How to solve this problem?
Help!!!
The text was updated successfully, but these errors were encountered: