[Freeswitch-svn] [commit] r13321 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/soa

FreeSWITCH SVN mikej at freeswitch.org
Fri May 15 08:46:27 PDT 2009


Author: mikej
Date: Fri May 15 10:46:27 2009
New Revision: 13321

Log:
Tue May 12 14:59:28 CDT 2009  Pekka Pessi <first.last at nokia.com>
  * soa_static.c: include media formats in rejected m= line



Modified:
   freeswitch/trunk/libs/sofia-sip/.update
   freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/soa/soa_static.c

Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update	(original)
+++ freeswitch/trunk/libs/sofia-sip/.update	Fri May 15 10:46:27 2009
@@ -1 +1 @@
-Fri May 15 10:45:11 CDT 2009
+Fri May 15 10:46:01 CDT 2009

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/soa/soa_static.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/soa/soa_static.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/soa/soa_static.c	Fri May 15 10:46:27 2009
@@ -281,7 +281,12 @@
   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;



More information about the Freeswitch-svn mailing list