From 6d68c422842f9eb8548da4cbf04fc5b10afd7e7a Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Tue, 23 Oct 2007 14:37:42 +0000 Subject: [PATCH] -fixed createCalleeSession to use newCalleeSession. git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@538 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- core/AmB2BSession.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/AmB2BSession.cpp b/core/AmB2BSession.cpp index b8f0fcc4..fe0d4b5c 100644 --- a/core/AmB2BSession.cpp +++ b/core/AmB2BSession.cpp @@ -260,7 +260,7 @@ void AmB2BCallerSession::onB2BEvent(B2BEvent* ev) callee_status = Connected; if (!sip_relay_only) { - sip_relay_only = true; + sip_relay_only = true; reinviteCaller(reply); } } @@ -334,7 +334,7 @@ int AmB2BCallerSession::reinviteCaller(const AmSipReply& callee_reply) void AmB2BCallerSession::createCalleeSession() { - AmB2BCalleeSession* callee_session = new AmB2BCalleeSession(this); + AmB2BCalleeSession* callee_session = newCalleeSession(); AmSipDialog& callee_dlg = callee_session->dlg; other_id = AmSession::getNewId();