[reSIProcate] invite session handler end method
Scott Godin
slgodin at icescape.com
Tue Oct 10 07:43:12 CDT 2006
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 at list.sipfoundry.org
[mailto:resiprocate-devel-bounces at list.sipfoundry.org] On Behalf Of Neal
Sidhwaney
Sent: Monday, October 09, 2006 4:16 PM
To: resiprocate-devel at list.sipfoundry.org
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 at list.sipfoundry.org
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
More information about the resiprocate-devel
mailing list