Module: sems Branch: master Commit: 2e91a52066059ca7ce677cdc2d247633b7799f5b URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=2e91a52066059ca7ce677cdc2d247633b7799f5b
Author: Stefan Sayer <[email protected]> Committer: Stefan Sayer <[email protected]> Date: Wed Nov 24 00:13:04 2010 +0100 b2b: constructor for 2nd leg with other_id --- core/AmB2BSession.cpp | 3 +-- core/AmB2BSession.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/core/AmB2BSession.cpp b/core/AmB2BSession.cpp index 5dc926c..f87e16d 100644 --- a/core/AmB2BSession.cpp +++ b/core/AmB2BSession.cpp @@ -688,12 +688,11 @@ AmB2BCalleeSession* AmB2BCallerSession::newCalleeSession() return new AmB2BCalleeSession(this); } -/* AmB2BCalleeSession::AmB2BCalleeSession(const string& other_local_tag) +AmB2BCalleeSession::AmB2BCalleeSession(const string& other_local_tag) : AmB2BSession(other_local_tag) { a_leg = false; } -*/ AmB2BCalleeSession::AmB2BCalleeSession(const AmB2BCallerSession* caller) : AmB2BSession(caller->getLocalTag()) diff --git a/core/AmB2BSession.h b/core/AmB2BSession.h index dd97547..1cb3f5e 100644 --- a/core/AmB2BSession.h +++ b/core/AmB2BSession.h @@ -290,7 +290,7 @@ class AmB2BCallerSession: public AmB2BSession class AmB2BCalleeSession: public AmB2BSession { public: - /* AmB2BCalleeSession(const string& other_local_tag); */ + AmB2BCalleeSession(const string& other_local_tag); AmB2BCalleeSession(const AmB2BCallerSession* caller); virtual ~AmB2BCalleeSession(); _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
