mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
Remove spurious warning when 'qualifyfreqnotok' is set successfully.
(closes issue ASTERISK-17176) Reported by: John Covert Tested by: Sean Bright Patches: chan_iax2.c.qualifyfreqnotok.patch uploaded by John Covert (license 5512) ........ Merged revisions 355997 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 355998 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@355999 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -12599,7 +12599,7 @@ static struct iax2_peer *build_peer(const char *name, struct ast_variable *v, st
|
||||
} else if (!strcasecmp(v->name, "qualifyfreqnotok")) {
|
||||
if (sscanf(v->value, "%30d", &peer->pokefreqnotok) != 1) {
|
||||
ast_log(LOG_WARNING, "Qualification testing frequency of peer '%s' when NOT OK should be a number of milliseconds at line %d of iax.conf\n", peer->name, v->lineno);
|
||||
} else ast_log(LOG_WARNING, "Set peer->pokefreqnotok to %d\n", peer->pokefreqnotok);
|
||||
}
|
||||
} else if (!strcasecmp(v->name, "timezone")) {
|
||||
ast_string_field_set(peer, zonetag, v->value);
|
||||
} else if (!strcasecmp(v->name, "adsi")) {
|
||||
|
Reference in New Issue
Block a user