Module: sems Branch: master Commit: a69169f3e36d37dda89f2097617fa873a960a246 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=a69169f3e36d37dda89f2097617fa873a960a246
Author: Juha Heinanen <[email protected]> Committer: Juha Heinanen <[email protected]> Date: Tue Mar 26 08:19:00 2013 +0200 core b/f: add 'direction' media attribute only once --- core/AmSdp.cpp | 10 ---------- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/core/AmSdp.cpp b/core/AmSdp.cpp index 6bc7e6a..fa5448b 100644 --- a/core/AmSdp.cpp +++ b/core/AmSdp.cpp @@ -306,16 +306,6 @@ void AmSdp::print(string& body) const out_buf += "\r\n" + options; - switch(media_it->dir){ - case SdpMedia::DirActive: - out_buf += "a=direction:active\r\n"; - break; - case SdpMedia::DirPassive: - out_buf += "a=direction:passive\r\n"; - break; - default: break; - } - if(media_it->send){ if(media_it->recv){ out_buf += "a=sendrecv\r\n"; _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
