Bug Fixed!
Set odd/even flag properly in nature of address octet. git-svn-id: http://yate.null.ro/svn/yate/trunk@4710 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
080d295fae
commit
42288dafec
|
@ -695,7 +695,7 @@ static unsigned char encodeItuAddress(const SS7SCCP* sccp, SS7MSU& msu,
|
|||
addressIndicator |= 0x04;
|
||||
int nai = nature->toInteger(s_nai);
|
||||
odd = (gtNr->length() % 2) ? false : true;
|
||||
if (odd)
|
||||
if (!odd)
|
||||
nai |= 0x80;
|
||||
data[++length] = nai & 0xff;
|
||||
} else if (translation && !(plan && encoding) && !nature) { // GT = 0x02
|
||||
|
|
Loading…
Reference in New Issue