[asterisk-commits] oej: trunk r47512 - in /trunk: ./
channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Sun Nov 12 08:40:04 MST 2006
Author: oej
Date: Sun Nov 12 09:40:03 2006
New Revision: 47512
URL: http://svn.digium.com/view/asterisk?view=rev&rev=47512
Log:
- Support UDPTL as well as udptl in T38 sdp.
Modified:
trunk/ (props changed)
trunk/channels/chan_sip.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=47512&r1=47511&r2=47512
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Sun Nov 12 09:40:03 2006
@@ -4810,7 +4810,8 @@
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;
More information about the asterisk-commits
mailing list