Do not send back an UPU when receiving a call for on unequipped circuit.

git-svn-id: http://yate.null.ro/svn/yate/trunk@4105 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2011-02-14 08:30:19 +00:00
parent 449c0c44c2
commit 72eb385818
2 changed files with 3 additions and 0 deletions

View File

@ -1036,6 +1036,7 @@ bool SS7MTP3::receivedMSU(const SS7MSU& msu, SS7Layer2* link, int sls)
switch (handled) {
case HandledMSU::Accepted:
case HandledMSU::Failure:
case HandledMSU::NoCircuit:
return true;
default:
break;

View File

@ -884,6 +884,8 @@ HandledMSU SS7Router::receivedMSU(const SS7MSU& msu, const SS7Label& label, SS7L
if (!local)
return m_sendProhibited ? HandledMSU::NoAddress : HandledMSU::Failure;
}
if (HandledMSU::NoCircuit == ret)
return HandledMSU::NoCircuit;
return (local && m_sendUnavail) ? HandledMSU::Unequipped : HandledMSU::Failure;
}