From: Olle Johansson Date: Sun, 12 Nov 2006 15:40:03 +0000 (+0000) Subject: - Support UDPTL as well as udptl in T38 sdp. X-Git-Tag: 1.6.0-beta1~3^2~4027 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa275d4970e7e0ae7ecb717289101a8b18453138;p=thirdparty%2Fasterisk.git - Support UDPTL as well as udptl in T38 sdp. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47512 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index e7c552c3e4..4820725b21 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -4810,7 +4810,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;