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

[reSIProcate-users] Remove the assert(0) before throw exception from InviteSession::refer()


Hi, I think the "assert(0);" should be removed from the "InviteSession::refer()", sometimes I got the assertion error no chance to catch the exception, e.g: the call is in coming, answer and refer  it immediately.

onNewCallIncoming()
{
    providerAnswer;
    refer();  // Got the assertion error.
}

I know I can use isConnected to detect the state, but the assert is nonsense to be there?

BR.