< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] ClientInviteSession end() bug?


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@xxxxxxx
          2006-06-22