[asterisk-commits] jpeeler: branch 1.8 r293305 - /branches/1.8/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Oct 29 16:48:43 CDT 2010


Author: jpeeler
Date: Fri Oct 29 16:48:38 2010
New Revision: 293305

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=293305
Log:
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

Modified:
    branches/1.8/channels/chan_sip.c

Modified: branches/1.8/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_sip.c?view=diff&rev=293305&r1=293304&r2=293305
==============================================================================
--- branches/1.8/channels/chan_sip.c (original)
+++ branches/1.8/channels/chan_sip.c Fri Oct 29 16:48:38 2010
@@ -4031,7 +4031,6 @@
 		res = 0;
 		break;
 	default:
-		ast_log(LOG_NOTICE, "Unknown option: %d\n", option);
 		break;
 	}
 




More information about the asterisk-commits mailing list