[asterisk-commits] file: branch 1.4 r81369 - /branches/1.4/res/res_features.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Aug 30 09:23:40 CDT 2007
Author: file
Date: Thu Aug 30 09:23:40 2007
New Revision: 81369
URL: http://svn.digium.com/view/asterisk?view=rev&rev=81369
Log:
(issue #10599)
Reported by: dimas
Handle the -1 control subclass during feature dialing (it indicates to stop sounds).
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=81369&r1=81368&r2=81369
==============================================================================
--- branches/1.4/res/res_features.c (original)
+++ branches/1.4/res/res_features.c Thu Aug 30 09:23:40 2007
@@ -1229,6 +1229,13 @@
ast_frfree(f);
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 {
ast_log(LOG_NOTICE, "Don't know what to do about control frame: %d\n", f->subclass);
More information about the asterisk-commits
mailing list