fixed error handling at the beginning of a session.

if onInvite failed, Sems would have continued with onSessionStart.
this is no more the case.


git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@38 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Raphael Coeffic 21 years ago
parent 797d60a4d7
commit 0423c24e2e

@ -185,6 +185,7 @@ const string& AmSession::getLocalTag() const
void AmSession::setLocalTag(const string& tag)
{
DBG("AmSession::setLocalTag(%s)\n",tag.c_str());
dlg.local_tag = tag;
}
@ -456,7 +457,7 @@ void AmSession::onSipRequest(const AmSipRequest& req)
onInvite(req);
if(detached.get()){
if(detached.get() && !getStopped()){
onSessionStart(req);

Loading…
Cancel
Save