aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-12 15:40:03 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-12 15:40:03 +0000
commit819723f810736e0dee2442fa981955224e567fed (patch)
tree5c18a45aa9013fd4e1bd0a4677b4dd4ab70d7528 /channels
parentd738b50d7fb3bda387bbb433f30fa4ed43dd88ff (diff)
- Support UDPTL as well as udptl in T38 sdp.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47512 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index e7c552c3e..4820725b2 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;