[reSIProcate] ServerInviteSession::accept() vs re-INVITE
- From: Dmitry Semyonov <dsemyonov@xxxxxxx>
- Date: Fri, 10 Jun 2005 17:16:45 +0400 (MSD)
Hello all.
There is the following comment inside ServerInviteSession class:
/** accept a re-invite, etc. Always 200? this is only applicable to the UAS */
virtual void accept(int statusCode=200);
But it seems accept() must not be called for re-invites. (At least
after provideAnswer()). Otherwise DUM (debug) will assert inside
the function due to unhandled mState == Connected. It seems
provideAnswer() alone is enough.
If my understanding is correct, could somebody update the misleading
comment? TIA
--
...Bye..Dmitry.