[asterisk-commits] file: trunk r187361 - /trunk/channels/chan_iax2.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Apr 9 11:27:56 CDT 2009
Author: file
Date: Thu Apr 9 11:27:53 2009
New Revision: 187361
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=187361
Log:
Do not try to send the format read/format write/make compatible options over IAX2.
Modified:
trunk/channels/chan_iax2.c
Modified: trunk/channels/chan_iax2.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/channels/chan_iax2.c?view=diff&rev=187361&r1=187360&r2=187361
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Thu Apr 9 11:27:53 2009
@@ -4086,6 +4086,10 @@
case AST_OPTION_RXGAIN:
/* these two cannot be sent, because they require a result */
errno = ENOSYS;
+ return -1;
+ case AST_OPTION_FORMAT_READ:
+ case AST_OPTION_FORMAT_WRITE:
+ case AST_OPTION_MAKE_COMPATIBLE:
return -1;
case AST_OPTION_OPRMODE:
errno = EINVAL;
More information about the asterisk-commits
mailing list