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:
parent
449c0c44c2
commit
72eb385818
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue