Release the ISUP call and the circuit when failed to transmit the IAM.
This can happen when the MTP route is prohibited. git-svn-id: http://voip.null.ro/svn/yate@4107 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
6f5d4f5b83
commit
ae0f68f596
|
@ -3397,7 +3397,7 @@ SignallingCall* SS7ISUP::call(SignallingMessage* msg, String& reason)
|
|||
}
|
||||
break;
|
||||
}
|
||||
SignallingCall* call = 0;
|
||||
SS7ISUPCall* call = 0;
|
||||
if (reason.null()) {
|
||||
String* cicParams = msg->params().getParam("circuit_parameters");
|
||||
if (cicParams) {
|
||||
|
@ -3427,8 +3427,8 @@ SignallingCall* SS7ISUP::call(SignallingMessage* msg, String& reason)
|
|||
// Drop lock and send the event
|
||||
mylock.drop();
|
||||
if (!event->sendEvent()) {
|
||||
m_calls.remove(call);
|
||||
call = 0;
|
||||
call->setTerminate(false,"failure");
|
||||
TelEngine::destruct(call);
|
||||
reason = "failure";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue