Module: sems Branch: 1.5 Commit: c2bcc2cf6bb734242bbe4076ab37fdbb2a71b0f2 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=c2bcc2cf6bb734242bbe4076ab37fdbb2a71b0f2
Author: Raphael Coeffic <[email protected]> Committer: Raphael Coeffic <[email protected]> Date: Thu Oct 4 11:29:09 2012 +0200 removed obsoleted AmSession::localRTPIP() --- core/AmSession.cpp | 12 ------------ core/AmSession.h | 3 --- 2 files changed, 0 insertions(+), 15 deletions(-) diff --git a/core/AmSession.cpp b/core/AmSession.cpp index 181773b..e330cfc 100644 --- a/core/AmSession.cpp +++ b/core/AmSession.cpp @@ -1239,18 +1239,6 @@ string AmSession::advertisedIP() return set_ip; } -string AmSession::localRTPIP() -{ - if(rtp_interface < 0){ - rtp_interface = dlg.getOutboundIf(); - } - - assert(rtp_interface >= 0); - assert((unsigned int)rtp_interface < AmConfig::Ifs.size()); - - return AmConfig::Ifs[rtp_interface].LocalIP; // "media_ip" parameter. -} - bool AmSession::timersSupported() { WARN("this function is deprecated; application timers are always supported\n"); return true; diff --git a/core/AmSession.h b/core/AmSession.h index bf96438..b084525 100644 --- a/core/AmSession.h +++ b/core/AmSession.h @@ -584,9 +584,6 @@ public: // The IP address to put as c= in SDP bodies string advertisedIP(); - // The IP address to bind the RTP stream to - string localRTPIP(); - /** format session id for debugging */ string sid4dbg(); _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
