Re: [reSIProcate] invite session handler end method
You should not call end() from the onTerminated callback - onTerminated
is already a notification that the session is ending.
-----Original Message-----
From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Neal
Sidhwaney
Sent: Monday, October 09, 2006 4:16 PM
To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Subject: [reSIProcate] invite session handler end method
Hi
I've started getting an assert inside
resip::ClientInviteSession::end()
since upgrading from resiprocate .4 to 1.0. Our
InviteSessionHandler::onTerminated override calls this method, but
from looking at the code in
resip::ClientInviteSession::dispatchStart+0x7b5
It appears that there is a transition to Terminated before our handler
is called, so if our handler calls end(), it will assert because the
state will already be terminated. Are we not supposed to do this? In
one instance, this code path was triggered when the remote end did not
answer a call.
Thanks!
Neal
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxx
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel