If possible answer with COA to an incoming COO even if link is using long sequence number.

git-svn-id: http://voip.null.ro/svn/yate@4361 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2011-05-06 10:01:25 +00:00
parent ed8f5fca8e
commit 8eea482f34
1 changed files with 4 additions and 2 deletions

View File

@ -463,8 +463,10 @@ HandledMSU SS7Management::receivedMSU(const SS7MSU& msu, const SS7Label& label,
data[0] = SS7MsgSNM::COA;
if (seq & 0xff000000) {
seq &= 0x00ffffff;
data[0] = SS7MsgSNM::XCA;
len += 2;
if (msg->type() != SS7MsgSNM::COO || (seq & 0x00ffff80)) {
data[0] = SS7MsgSNM::XCA;
len += 2;
}
}
switch (label.type()) {
case SS7PointCode::ITU: