Hi,
I'm not shure what you are trying to do according to the INAP ASN1 file:
 
CallResult ::= OCTET STRING(SIZE (minCallResultLength..maxCallResultLength))

--  This parameter provides the SCF with the charging related information 
previously requested
--  using the ApplyCharging operation. This shall include the partyToCharge 
parameter as
--  received in the related ApplyCharging operation to correlate the result to 
the request.
--  The remaining content is network operator specific.
--  Examples of charging related information to be provided by the SSF may be: 
bulk counter values,
--  costs, tariff change and time of change, time stamps, durations, etc.
--  Examples of conditions on which the charging related information are to be 
reported may be:
--  threshold value reached, timer expiration, tariff change, end of connection 
configuration, etc.

Have you regenerated the dissector with the ASN1 code you indicated?
From 
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 looks like it is an OCTET STRING you are receiving not a SEQUENCE is it 
possible that that
OCTET STRING is "double encoded" so that the next octets are the actual 
SEQUENCE?
In that case you'll have to do some codeing in the .cnf file to handle this 
case.
BR
Anders

________________________________

From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED]
Sent: Wed 4/11/2007 4:19 PM
To: wireshark-dev@wireshark.org
Subject: [Wireshark-dev] Decode Octet string into sequence



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

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

<<winmail.dat>>

_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to