mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-06 01:45:11 +00:00
Only set rfc2833compensate flag once (handle_common_options)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -16268,10 +16268,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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user