[reSIProcate] InviteSession::isEarly bug
Hi all,
Can folks take a look at InviteSession::isEarly and review it to see
if we've got all of the states identified correctly.
bool
InviteSession::isEarly() const
{
switch (mState)
{
case UAC_Start:
case UAC_Early:
case UAC_EarlyWithOffer:
case UAC_EarlyWithAnswer:
//case UAC_Answered:
//case UAC_Terminated:
case UAC_SentUpdateEarly:
case UAC_SentUpdateConnected:
case UAC_ReceivedUpdateEarly:
//case UAC_SentAnswer:
case UAC_QueuedUpdate:
case UAS_Start:
case UAS_Offer:
case UAS_OfferProvidedAnswer:
case UAS_EarlyOffer:
case UAS_EarlyProvidedAnswer:
case UAS_EarlyNoOffer:
case UAS_FirstEarlyReliable:
case UAS_EarlyReliable:
return true;
default:
return false;
}
}
Jason