Tue May 12 14:59:28 CDT 2009 Pekka Pessi <first.last@nokia.com>

* soa_static.c: include media formats in rejected m= line



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13321 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-05-15 15:46:27 +00:00
parent 0e45cc850f
commit f05ec55879
2 changed files with 7 additions and 2 deletions

View File

@ -1 +1 @@
Fri May 15 10:45:11 CDT 2009
Fri May 15 10:46:01 CDT 2009

View File

@ -281,7 +281,12 @@ sdp_media_t *soa_sdp_make_rejected_media(su_home_t *home,
rejected->m_proto_name = m->m_proto_name;
if (include_all_codecs) {
rejected->m_rtpmaps = m->m_rtpmaps;
if (m->m_rtpmaps) {
rejected->m_rtpmaps = m->m_rtpmaps;
}
else if (m->m_format) {
rejected->m_format = m->m_format;
}
}
rejected->m_rejected = 1;