]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Explicitly declare what codecs are supported by default globally since using a bitmas...
authorJoshua Colp <jcolp@digium.com>
Mon, 22 Jan 2007 16:23:03 +0000 (16:23 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 22 Jan 2007 16:23:03 +0000 (16:23 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51359 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_h323.c

index b86d684c87facfa372408661c9e162d72efe208f..1b4a616a5fae89f8f4a9115c551b43d85e897458 100644 (file)
@@ -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) {