Remove parsing of constantssrc from reload_config.
authorMark Michelson <mmichelson@digium.com>
Sun, 7 Feb 2010 19:51:54 +0000 (19:51 +0000)
committerMark Michelson <mmichelson@digium.com>
Sun, 7 Feb 2010 19:51:54 +0000 (19:51 +0000)
This config option is already handled by the function handle_common_options
and it is unnecessary to parse the value again.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@245230 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index b45088b..df843d4 100644 (file)
@@ -24273,8 +24273,6 @@ static int reload_config(enum channelreloadreason reason)
                } else if (!strcasecmp(v->name, "disallowed_methods")) {
                        char *disallow = ast_strdupa(v->value);
                        mark_parsed_methods(&sip_cfg.disallowed_methods, disallow);
-               } else if (!strcasecmp(v->name, "constantssrc")) {
-                       ast_set2_flag(&global_flags[1], ast_true(v->value), SIP_PAGE2_CONSTANT_SSRC);
                } else if (!strcasecmp(v->name, "shrinkcallerid")) {
                        if (ast_true(v->value)) {
                                global_shrinkcallerid = 1;