[reSIProcate] ClientInviteSession end() bug?
maodonghu
hhmmdd at tom.com
Wed Jun 21 21:03:14 CDT 2006
Hi, all
I may found a bug in ClientInviteSession.cxx, line 204, that was when end() was called, if the status is Terminated, then assert(0). I think it should be processed like in InviteSession.cxx, line 504: // no-op.
Because in my project, I encounter this situation really. the calling user hangup and resip transition(Terminated); and call onTerminated, at the same time another thread call end(), and result in assert(0).
And I found in ServerInviteSession's end(), it does not check the Terminated status.
Anyone can confirm this for me ? If we should remove the check of Terminate in end()?
maodonghu
hhmmdd at tom.com
2006-06-22
More information about the resiprocate-devel
mailing list