aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-12 15:35:19 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-12 15:35:19 +0000
commitc0a9a2156724ad3229ba16e206fce778d3097947 (patch)
tree1348ed3b000a7482c72db7745419b646deb94b34 /channels
parent696dca54672a5c9f897489439145f578c1ae8816 (diff)
Part of issue 8078 - parse even if udptl is UDPTL in sdp...
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47511 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 2e1fe220c..e2a4fbfbf 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -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;