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

git-svn-id: http://yate.null.ro/svn/yate/trunk@1482 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2007-11-21 18:22:06 +00:00
parent 033837f45c
commit 40f949391a
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") ))