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

FreeSWITCH SVN mikej at freeswitch.org
Tue Dec 16 11:58:50 PST 2008


Author: mikej
Date: Tue Dec 16 14:58:49 2008
New Revision: 10816

Log:
Wed Nov 12 12:00:29 CST 2008  Pekka Pessi <first.last at nokia.com>
  * sdp_parse.c: use lower-case udptl 
  
  According to T.38 V3.4 some implementations are case-sensitive when checking
  transport protocol name. Thanks to Timo Bruhn for the hint.



Modified:
   freeswitch/trunk/libs/sofia-sip/.update
   freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sdp/sdp_parse.c

Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update	(original)
+++ freeswitch/trunk/libs/sofia-sip/.update	Tue Dec 16 14:58:49 2008
@@ -1 +1 @@
-Tue Dec 16 13:54:44 CST 2008
+Tue Dec 16 13:58:31 CST 2008

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sdp/sdp_parse.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sdp/sdp_parse.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sdp/sdp_parse.c	Tue Dec 16 14:58:49 2008
@@ -1374,8 +1374,9 @@
     m->m_proto = sdp_proto_rtp, m->m_proto_name = "RTP/AVP";
   else if (strcasecmp(s, "RTP/SAVP") == 0)
     m->m_proto = sdp_proto_srtp, m->m_proto_name = "RTP/SAVP";
-  else if (strcasecmp(s, "UDPTL") == 0)
-    m->m_proto = sdp_proto_udptl, m->m_proto_name = "UDPTL";
+  else if (strcasecmp(s, "udptl") == 0)
+    /* Lower case - be compatible with people living by T.38 examples */
+    m->m_proto = sdp_proto_udptl, m->m_proto_name = "udptl";
   else if (strcasecmp(s, "UDP") == 0)
     m->m_proto = sdp_proto_udp, m->m_proto_name = "UDP";
   else if (strcasecmp(s, "TCP") == 0)



More information about the Freeswitch-svn mailing list