[reSIProcate] ServerInviteSession::accept() vs re-INVITE

Dmitry Semyonov dsemyonov at dins.ru
Fri Jun 10 08:16:45 CDT 2005


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.



More information about the resiprocate-devel mailing list