Only set "rfc2833compensate" option once
authorOlle Johansson <oej@edvina.net>
Wed, 27 Dec 2006 20:30:03 +0000 (20:30 +0000)
committerOlle Johansson <oej@edvina.net>
Wed, 27 Dec 2006 20:30:03 +0000 (20:30 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48996 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 293f87f..af3caa2 100644 (file)
@@ -16485,10 +16485,6 @@ static int reload_config(enum channelreloadreason reason)
                        default_maxcallbitrate = atoi(v->value);
                        if (default_maxcallbitrate < 0)
                                default_maxcallbitrate = DEFAULT_MAX_CALL_BITRATE;
-               } else if (!strcasecmp(v->name, "rfc2833compensate")) { /* XXX maybe ast_set2_flags ? */
-                       if (ast_true(v->value)) {
-                               ast_set_flag(&global_flags[1], SIP_PAGE2_RFC2833_COMPENSATE);
-                       }
                }
        }