Skip to content
Snippets Groups Projects
Commit 906a51a1 authored by Olle Johansson's avatar Olle Johansson
Browse files

Only set "rfc2833compensate" option once

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48996 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 87945779
No related branches found
No related tags found
No related merge requests found
...@@ -16485,10 +16485,6 @@ static int reload_config(enum channelreloadreason reason) ...@@ -16485,10 +16485,6 @@ static int reload_config(enum channelreloadreason reason)
default_maxcallbitrate = atoi(v->value); default_maxcallbitrate = atoi(v->value);
if (default_maxcallbitrate < 0) if (default_maxcallbitrate < 0)
default_maxcallbitrate = DEFAULT_MAX_CALL_BITRATE; 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);
}
} }
} }
   
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment