Fix for bug introduced in rev.5211: also check for frame type when looking for late PINGs/PONGs.
Avoids matching on a RINGING frame and not acknowledging it. git-svn-id: http://yate.null.ro/svn/yate/trunk@5284 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
53733091d8
commit
79cda3df63
|
@ -955,7 +955,7 @@ bool IAXTransaction::isFrameAcceptable(const IAXFullFrame* frame)
|
|||
}
|
||||
DDebug(m_engine,DebugInfo,"Transaction(%u,%u). Received late Frame(%u,%u) with oseq=%u expecting %u [%p]",
|
||||
localCallNo(),remoteCallNo(),frame->type(),frame->subclass(),frame->oSeqNo(),m_iSeqNo,this);
|
||||
if (frame->subclass() == IAXControl::Ping || frame->subclass() == IAXControl::Pong)
|
||||
if (frame->type() == IAXFrame::IAX && (frame->subclass() == IAXControl::Ping || frame->subclass() == IAXControl::Pong))
|
||||
return true;
|
||||
sendAck(frame);
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue