Wireshark-dev: [Wireshark-dev] Decode Octet string into sequence
Date: Wed, 11 Apr 2007 16:19:25 +0200

Hi,


I have a problem, I would like to decode "CallResult" in  "ApplyChargingArg" for  INAP Protocol.
It 's an OCTET STRING and I would like force it in SEQUENCE :

CallResult ::= SEQUENCE {
        sequenceInfo        [01] SequenceInfoAC        ,
        partyToCharge        [02] LegId OPTIONAL        ,
        supervisionResult        [03] SupervisionResult OPTIONAL        }


instead of :

CallResult:= OCTET STRING


I have a message : "BER ERROR: Sequence expected  but class:0(UNIVERSAL) PC:0 tag:4  was unexpected".

because I have "04h" instead of "30h" in my file cap.

It is possible to decode it?


With best regards,

--------------------------------------------
François Niquel

DEVOTEAM SRIT
3 rue Blaise Pascal
22300 Lannion - France

Tél. : 02 96 48 74 16

---------------------------------------------