Changed some debug info.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1097 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
5ba84fb8d8
commit
378a084d99
|
@ -389,10 +389,11 @@ JGEvent* JGSession::processEvent(JBEvent* jbev, u_int64_t time)
|
|||
JGEvent* event = 0;
|
||||
// Process state Ending
|
||||
if (state() == Ending) {
|
||||
if (isResponse(jbev) || time > m_timeout) {
|
||||
bool response = isResponse(jbev);
|
||||
if (response || time > m_timeout) {
|
||||
DDebug(m_engine,DebugAll,
|
||||
"Session. Terminated in state Ending. Reason: '%s'. [%p]",
|
||||
time > m_timeout ? "timeout" : "hangup",this);
|
||||
response ? "confirmation" : "timeout",this);
|
||||
event = new JGEvent(JGEvent::Destroy,this);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue