]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Part of issue 8078 - parse even if udptl is UDPTL in sdp...
authorOlle Johansson <oej@edvina.net>
Sun, 12 Nov 2006 15:35:19 +0000 (15:35 +0000)
committerOlle Johansson <oej@edvina.net>
Sun, 12 Nov 2006 15:35:19 +0000 (15:35 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47511 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 2e1fe220cdfca1db54b9f7c94d9e179f92315b73..e2a4fbfbf5cd8f7b7eeb824cef20c52c59c53fe7 100644 (file)
@@ -4712,7 +4712,8 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req)
                                        ast_verbose("Found RTP video format %d\n", codec);
                                ast_rtp_set_m_type(newvideortp, codec);
                        }
-               } else if (p->udptl && ((sscanf(m, "image %d udptl t38%n", &x, &len) == 1))) {
+               } else if (p->udptl && ( (sscanf(m, "image %d udptl t38%n", &x, &len) == 1) || 
+                (sscanf(m, "image %d UDPTL t38%n", &x, &len) == 1) )) {
                        if (debug)
                                ast_verbose("Got T.38 offer in SDP in dialog %s\n", p->callid);
                        udptlportno = x;