From da39c33809a6b156dc4aeafa1e91cef2826e2beb Mon Sep 17 00:00:00 2001 From: Jeff Peeler Date: Fri, 29 Oct 2010 21:48:38 +0000 Subject: [PATCH] Modify sip_setoption to not complain about unknown options. This now behaves just like the other setoption callbacks. For the curious the offending option for the reporter was AST_OPTION_CHANNEL_WRITE which was getting passed due to a fix for chan_local in 286189. (closes issue #17985) Reported by: globalnetinc git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@293305 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 1 - 1 file changed, 1 deletion(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index fb4c3d23df..c81ff7538a 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -4031,7 +4031,6 @@ static int sip_setoption(struct ast_channel *chan, int option, void *data, int d res = 0; break; default: - ast_log(LOG_NOTICE, "Unknown option: %d\n", option); break; } -- 2.47.3