Do not handle route set test messages while still in the restart procedure.

git-svn-id: http://yate.null.ro/svn/yate/trunk@3735 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2010-10-20 11:31:11 +00:00
parent b333789197
commit 5c95e6059c
1 changed files with 5 additions and 2 deletions

View File

@ -1685,12 +1685,15 @@ bool SS7Router::control(NamedList& params)
return false;
notifyRoutes();
return true;
case SS7MsgSNM::RST:
case SS7MsgSNM::RSR:
if (!m_started)
return false;
// fall through
case SS7MsgSNM::TRA:
case SS7MsgSNM::TFP:
case SS7MsgSNM::TFR:
case SS7MsgSNM::TFA:
case SS7MsgSNM::RST:
case SS7MsgSNM::RSR:
{
SS7PointCode::Type type = SS7PointCode::lookup(params.getValue("pointcodetype"));
if (SS7PointCode::length(type) == 0) {