Ethereal-dev: RE: [Ethereal-dev] Patch to Packet-isup

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Anders Broman (TN/EAB)" <anders.broman@xxxxxxxxxxxx>
Date: Thu, 9 Oct 2003 07:52:01 +0200
Hi,
First - yes there's a typo.

In X.213 "The abstract syntax for the IDI is decimal digits."
in ISUP it's "BCD" + code11,code12 and the "number field" is coded with
8  -  1
2:nd  1:st

in Q.931 i beleve it's ASCII 
- so yes, a E.164 number is coded differently in different protocols.

Best regards
Anders  
 
-----Original Message-----
From: Guy Harris [mailto:gharris@xxxxxxxxx]
Sent: den 8 oktober 2003 23:06
To: Anders Broman (TN/EAB)
Cc: Ethereal (ethereal-dev@xxxxxxxxxxxx)'
Subject: Re: [Ethereal-dev] Patch to Packet-isup



On Oct 7, 2003, at 10:49 AM, Guy Harris wrote:

> Would the E.164 country codes or international network codes be useful
> in any other dissectors?

Speaking of the E.164 country codes, are they BCD, or decimal?

The list in packet-isup.c doesn't appear to have any hex values with 
digits A-F, and the entry for the UK is 0x44, so it looks as if they're 
BCD - but the entry for the Democratic Republic of Congo is 243, not 
0x243.  As it's between the 0x0242 entry for the Republic of Congo and 
the 0x0244 entry for Angola, that's *probably* a typo.

Are there some protocols where it's represented in decimal and others 
where it's represented in BCD?