From: Sean Bright Date: Mon, 20 Feb 2012 18:38:28 +0000 (+0000) Subject: Remove spurious warning when 'qualifyfreqnotok' is set successfully. X-Git-Tag: 1.8.11.0-rc1~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb8d4a1d5083c14d742e78863928b6d1393786f2;p=thirdparty%2Fasterisk.git 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) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@355997 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 9780d4cfed..6107c0e346 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -12578,7 +12578,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")) {