Module: sems Branch: rco/offer_answer Commit: 04c0a0eb276b2d12d9d81656f0c36433516fecf7 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=04c0a0eb276b2d12d9d81656f0c36433516fecf7
Author: Raphael Coeffic <[email protected]> Committer: Raphael Coeffic <[email protected]> Date: Fri Feb 18 12:06:51 2011 +0100 small cleanup --- core/AmSipDialog.cpp | 23 ----------------------- core/AmSipDialog.h | 35 ----------------------------------- 2 files changed, 0 insertions(+), 58 deletions(-) diff --git a/core/AmSipDialog.cpp b/core/AmSipDialog.cpp index 29f7aec..cdc6250 100644 --- a/core/AmSipDialog.cpp +++ b/core/AmSipDialog.cpp @@ -330,29 +330,6 @@ int AmSipDialog::getSdpBody(string& sdp_body) return 0; } -// int AmSipDialog::triggerOfferAnswer(string& content_type, string& body) -// { -// switch(status){ - // case Early: - // if(content_type != SIP_APPLICATION_SDP){ // FIXME - // break; - // } - // return getSdpBody(body); - -// case Connected: -// if(getSdpBody(body)){ -// return -1; -// } - // content_type = SIP_APPLICATION_SDP; // FIXME - // break; - -// default: -// break; -// } - -// return 0; -// } - int AmSipDialog::rel100OnRequestIn(const AmSipRequest& req) { if (reliable_1xx == REL100_IGNORED) diff --git a/core/AmSipDialog.h b/core/AmSipDialog.h index b7b10d7..f4de0f0 100644 --- a/core/AmSipDialog.h +++ b/core/AmSipDialog.h @@ -288,42 +288,7 @@ private: const string& reason, const string& hdrs = ""); -// private: -// Status status; -// TransMap uas_trans; -// TransMap uac_trans; - -// // Number of open UAS INVITE transactions -// unsigned int pending_invites; - -// // In case a CANCEL should have been sent -// // while in 'Trying' state -// bool cancel_pending; - -// // Offer/answer -// OAState oa_state; -// int oa_cseq; // remote CSeq of the last offer/answer -// AmSdp sdp_local; -// AmSdp sdp_remote; - -// AmSipDialogEventHandler* hdl; - -// int onTxReply(AmSipReply& reply); -// int onTxRequest(AmSipRequest& req); - -// int onRxSdp(unsigned int req_cseq, const string& body, const char** err_txt); -// int onTxSdp(unsigned int req_cseq, const string& body); - -// int getSdpBody(string& sdp_body); - -// /** @return 0 on success */ -// int sendRequest(const string& method, -// const string& content_type, -// const string& body, -// const string& hdrs, -// int flags, -// unsigned int req_cseq); }; /** _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
