]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Modify sip_setoption to not complain about unknown options.
authorJeff Peeler <jpeeler@digium.com>
Fri, 29 Oct 2010 21:48:38 +0000 (21:48 +0000)
committerJeff Peeler <jpeeler@digium.com>
Fri, 29 Oct 2010 21:48:38 +0000 (21:48 +0000)
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

index fb4c3d23dffa8f9fbcd63ba2582315bfec869793..c81ff7538aee11636b563a61a9c0dc74a438bdb8 100644 (file)
@@ -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;
        }