Module: sems Branch: master Commit: d8c47856cfd9b8297e4cf583a62621f02a7753a7 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=d8c47856cfd9b8297e4cf583a62621f02a7753a7
Author: Raphael Coeffic <[email protected]> Committer: Raphael Coeffic <[email protected]> Date: Mon Feb 20 10:32:24 2012 +0100 multi-mime: replaced the body/ct strings through AmMimeBody in AmSipMsg. --- core/AmSipMsg.cpp | 10 ++++++---- core/AmSipMsg.h | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/core/AmSipMsg.cpp b/core/AmSipMsg.cpp index 839617a..4ea9415 100644 --- a/core/AmSipMsg.cpp +++ b/core/AmSipMsg.cpp @@ -210,8 +210,9 @@ string AmSipRequest::print() const _PM(contact, "m"); _PMB(hdrs, "hdr"); - _PM(content_type, "c"); - _PMB(body, "body"); + //TODO: find some good debug info to print here + //_PM(content_type, "c"); + //_PMB(body, "body"); _PM(user, "user"); _PM(domain, "domain"); @@ -239,8 +240,9 @@ string AmSipReply::print() const _PM(contact, "m"); _PMB(hdrs, "hdr"); - _PM(content_type, "c"); - _PMB(body, "body"); + //TODO: find some good debug info to print here + //_PM(content_type, "c"); + //_PMB(body, "body"); _PM(contact, "contact"); diff --git a/core/AmSipMsg.h b/core/AmSipMsg.h index fe2dda2..8594664 100644 --- a/core/AmSipMsg.h +++ b/core/AmSipMsg.h @@ -1,6 +1,7 @@ #ifndef __AMSIPMSG_H__ #define __AMSIPMSG_H__ #include "AmArg.h" +#include "AmMimeBody.h" #include <string> using std::string; @@ -29,10 +30,9 @@ class _AmSipMsgInDlg string route; string contact; - string content_type; string hdrs; - string body; + AmMimeBody body; // transaction ticket from sip stack trans_ticket tt; _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
