Ignore (don't send confusion) invalid circuit group (un)blocking responses.

git-svn-id: http://yate.null.ro/svn/yate/trunk@3516 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2010-08-26 07:02:25 +00:00
parent 5f77ed41e3
commit 06e9b3b22b
1 changed files with 6 additions and 2 deletions

View File

@ -4294,7 +4294,9 @@ void SS7ISUP::processControllerMsg(SS7MsgISUP* msg, const SS7Label& label, int s
count++;
}
if (!nCics || count > 32) {
setInvalidIE(SS7MsgISUP::RangeAndStatus,reason,diagnostic);
Debug(this,DebugNote,"%s with invalid range %s or map=%s",msg->name(),
msg->params().getValue("RangeAndStatus"),
msg->params().getValue("RangeAndStatus.map"));
break;
}
bool block = (msg->type() == SS7MsgISUP::CGA);
@ -4330,7 +4332,9 @@ void SS7ISUP::processControllerMsg(SS7MsgISUP* msg, const SS7Label& label, int s
}
unlock();
if (!map) {
reason = "wrong-state-message";
Debug(this,DebugNote,"%s with unnacceptable range %s or map=%s",msg->name(),
msg->params().getValue("RangeAndStatus"),
msg->params().getValue("RangeAndStatus.map"));
break;
}
for (unsigned int i = 0; i < map.length(); i++)