diff --git a/core/AmSession.cpp b/core/AmSession.cpp index 6c8ab749..d86261dd 100644 --- a/core/AmSession.cpp +++ b/core/AmSession.cpp @@ -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);