don't send warnings for unhandled indications, let ast_indicate() deal with them...
authorKevin P. Fleming <kpfleming@digium.com>
Thu, 1 Sep 2005 21:56:39 +0000 (21:56 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Thu, 1 Sep 2005 21:56:39 +0000 (21:56 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6491 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index f84da63..5736927 100755 (executable)
@@ -4780,8 +4780,6 @@ static int zt_indicate(struct ast_channel *chan, int condition)
                case -1:
                        res = tone_zone_play_tone(p->subs[index].zfd, -1);
                        break;
-               default:
-                       ast_log(LOG_WARNING, "Don't know how to set condition %d on channel %s\n", condition, chan->name);
                }
        } else
                res = 0;