aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2010-10-29 21:48:38 +0000
committerjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2010-10-29 21:48:38 +0000
commit76ff509978e61b2ff2a963e517d3c7b52d85ae76 (patch)
tree9e34ec7f959add9ceb104b10c2f345350ebc5500 /channels
parent9c06967284bff994445c3e00946feed054b32b54 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.8@293305 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index fb4c3d23d..c81ff7538 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;
}