Module: sems Branch: rco/offer_answer Commit: 3a465b965209222a9b62673c693d5822617952a1 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=3a465b965209222a9b62673c693d5822617952a1
Author: Raphael Coeffic <[email protected]> Committer: Raphael Coeffic <[email protected]> Date: Thu Apr 21 17:49:14 2011 +0200 added empty onSdpCompleted() for B2BUA Todo: support for RTP relay. --- core/AmB2BSession.cpp | 12 ++++++++++++ core/AmB2BSession.h | 2 ++ 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/core/AmB2BSession.cpp b/core/AmB2BSession.cpp index b1a52e4..cd63ef1 100644 --- a/core/AmB2BSession.cpp +++ b/core/AmB2BSession.cpp @@ -457,6 +457,18 @@ void AmB2BSession::onInvite2xx(const AmSipReply& reply) } } +int AmB2BSession::onSdpCompleted(const AmSdp& local_sdp, const AmSdp& remote_sdp) +{ + string debug_str; + local_sdp.print(debug_str); + DBG("Local SDP:\n%s",debug_str.c_str()); + + remote_sdp.print(debug_str); + DBG("Remote SDP:\n%s",debug_str.c_str()); + + return 0; +} + int AmB2BSession::relayEvent(AmEvent* ev) { DBG("AmB2BSession::relayEvent: to other_id='%s'\n", diff --git a/core/AmB2BSession.h b/core/AmB2BSession.h index 9e526de..f265d7e 100644 --- a/core/AmB2BSession.h +++ b/core/AmB2BSession.h @@ -183,6 +183,8 @@ class AmB2BSession: public AmSession void onSipReply(const AmSipReply& reply, AmSipDialog::Status old_dlg_status); void onInvite2xx(const AmSipReply& reply); + int onSdpCompleted(const AmSdp& local_sdp, const AmSdp& remote_sdp); + void onSessionTimeout(); void onNoAck(unsigned int cseq); _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
