From 653b86fa48dda18a8d2c1bac1e2d2d9457c2718d Mon Sep 17 00:00:00 2001
From: Mark Spencer <markster@digium.com>
Date: Mon, 8 Mar 2004 02:09:56 +0000
Subject: [PATCH] Don't complain about not knowing about -1

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2366 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 channel.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/channel.c b/channel.c
index a56dfd91ee..fac1385809 100755
--- a/channel.c
+++ b/channel.c
@@ -1576,6 +1576,8 @@ struct ast_channel *__ast_request_and_dial(char *type, int format, void *data, i
 						state = f->subclass;
 						ast_frfree(f);
 						break;
+					} else if (f->subclass == -1) {
+						/* Ignore -- just stopping indications */
 					} else {
 						ast_log(LOG_NOTICE, "Don't know what to do with control frame %d\n", f->subclass);
 					}
-- 
GitLab