[asterisk-commits] mnicholson: branch 1.6.2 r277563 - in /branches/1.6.2: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 16 16:31:54 CDT 2010


Author: mnicholson
Date: Fri Jul 16 16:31:49 2010
New Revision: 277563

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=277563
Log:
Merged revisions 277530 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r277530 | mnicholson | 2010-07-16 16:24:45 -0500 (Fri, 16 Jul 2010) | 11 lines
  
  Merged revisions 277497 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r277497 | mnicholson | 2010-07-16 16:18:38 -0500 (Fri, 16 Jul 2010) | 4 lines
    
    Default to no udptl error correction so that error correction will be disabled in the event that the remote end indicates that they do not support the error correction mode we requested.
    
    FAX-128
  ........
................

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/channels/chan_sip.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.2/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/channels/chan_sip.c?view=diff&rev=277563&r1=277562&r2=277563
==============================================================================
--- branches/1.6.2/channels/chan_sip.c (original)
+++ branches/1.6.2/channels/chan_sip.c Fri Jul 16 16:31:49 2010
@@ -8324,6 +8324,10 @@
 
 			if (p->t38.state != T38_ENABLED) {
 				memset(&p->t38.their_parms, 0, sizeof(p->t38.their_parms));
+
+				/* default EC to none, the remote end should
+				 * respond with the EC they want to use */
+				ast_udptl_set_error_correction_scheme(p->udptl, UDPTL_ERROR_CORRECTION_NONE);
 			}
 		} else {
 			ast_log(LOG_WARNING, "Unsupported SDP media type in offer: %s\n", m);




More information about the asterisk-commits mailing list