[asterisk-commits] file: branch 1.4 r81403 - /branches/1.4/res/res_features.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Aug 31 09:39:00 CDT 2007


Author: file
Date: Fri Aug 31 09:38:59 2007
New Revision: 81403

URL: http://svn.digium.com/view/asterisk?view=rev&rev=81403
Log:
(closes issue #10618)
Reported by: dimas
Don't pass through the stopped sounds frame.... just drop it.

Modified:
    branches/1.4/res/res_features.c

Modified: branches/1.4/res/res_features.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/res/res_features.c?view=diff&rev=81403&r1=81402&r2=81403
==============================================================================
--- branches/1.4/res/res_features.c (original)
+++ branches/1.4/res/res_features.c Fri Aug 31 09:38:59 2007
@@ -1230,14 +1230,7 @@
 							f = NULL;
 							ready=1;
 							break;
-						} else if (f->subclass == -1) {
-							if (option_verbose > 2)
-								ast_verbose( VERBOSE_PREFIX_3 "%s stopped sounds\n", chan->name);
-							ast_indicate(caller, -1);
-							ast_frfree(f);
-							f = NULL;
-							break;
-						} else {
+						} else if (f->subclass != -1) {
 							ast_log(LOG_NOTICE, "Don't know what to do about control frame: %d\n", f->subclass);
 						}
 						/* else who cares */




More information about the asterisk-commits mailing list