Accept requests with a CSeq sequence number of 0, they are valid.

git-svn-id: http://voip.null.ro/svn/yate@1482 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2007-11-21 18:22:06 +00:00
parent c4eecf9846
commit 3a842d2aea
1 changed files with 1 additions and 1 deletions

View File

@ -606,7 +606,7 @@ SIPEvent* SIPTransaction::getServerEvent(int state, int timeout)
SIPEvent *e = 0;
switch (state) {
case Initial:
if (!( (m_firstMessage->getCSeq() > 0) &&
if (!( (m_firstMessage->getCSeq() >= 0) &&
m_firstMessage->getHeader("Call-ID") &&
m_firstMessage->getHeader("From") &&
m_firstMessage->getHeader("To") ))