Wed Nov 12 12:00:29 CST 2008 Pekka Pessi <first.last@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.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10816 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-12-16 19:58:49 +00:00
parent 38d7209c25
commit b51f0287d8
2 changed files with 4 additions and 3 deletions

View File

@ -1 +1 @@
Tue Dec 16 13:54:44 CST 2008
Tue Dec 16 13:58:31 CST 2008

View File

@ -1374,8 +1374,9 @@ void sdp_media_transport(sdp_media_t *m, char const *s)
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)