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

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


I agree - I will remove it.

Scott

On Mon, Dec 8, 2014 at 9:07 AM, Karlsson <boost.regex@xxxxxxxxx> wrote:
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.

_______________________________________________
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/