[asterisk-commits] file: branch 1.2 r51359 - /branches/1.2/channels/chan_h323.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Jan 22 09:23:03 MST 2007


Author: file
Date: Mon Jan 22 10:23:03 2007
New Revision: 51359

URL: http://svn.digium.com/view/asterisk?view=rev&rev=51359
Log:
Explicitly declare what codecs are supported by default globally since using a bitmask for all may include ones we don't need. (issue #8357 reported by gknispel_proformatique)

Modified:
    branches/1.2/channels/chan_h323.c

Modified: branches/1.2/channels/chan_h323.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_h323.c?view=diff&rev=51359&r1=51358&r2=51359
==============================================================================
--- branches/1.2/channels/chan_h323.c (original)
+++ branches/1.2/channels/chan_h323.c Mon Jan 22 10:23:03 2007
@@ -2021,7 +2021,7 @@
 	memset(&global_options, 0, sizeof(global_options));
 	global_options.dtmfcodec = 101;
 	global_options.dtmfmode = H323_DTMF_RFC2833;
-	global_options.capability = ~0;	/* All capabilities */
+	global_options.capability = AST_FORMAT_G723_1 | AST_FORMAT_GSM | AST_FORMAT_ULAW | AST_FORMAT_ALAW | AST_FORMAT_G729A | AST_FORMAT_H261;
 	global_options.bridge = 1;		/* Do native bridging by default */
 	v = ast_variable_browse(cfg, "general");
 	while(v) {



More information about the asterisk-commits mailing list