mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51359 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2021,7 +2021,7 @@ int reload_config(void)
|
||||
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) {
|
||||
|
Reference in New Issue
Block a user