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
Branches
Tags
No related merge requests found
......@@ -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);
}
}
}
 
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment