Recover from a Q.931 STATUS when call is established.

git-svn-id: http://yate.null.ro/svn/yate/trunk@2246 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2008-10-01 12:39:28 +00:00
parent ef5e858958
commit 3d24db224a
1 changed files with 5 additions and 0 deletions

View File

@ -1333,6 +1333,11 @@ SignallingEvent* ISDNQ931Call::processMsgStatus(ISDNQ931Message* msg)
sendConnectAck(sigMsg);
recover = true;
}
else if (peerState == Active) {
Debug(q931(),DebugNote,"Call(%u,%u). Recovering from STATUS, cause='%s' [%p]",
Q931_CALL_ID,m_data.m_reason.c_str(),this);
recover = true;
}
case CallInitiated: // We've sent Setup. Can't recover: something went wrong
case OverlapSend:
case OverlapRecv: // TODO: implement if overlap send/recv is implemented