[svn-commits] file: trunk r81370 - in /trunk: ./ res/res_features.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Aug 30 09:26:06 CDT 2007


Author: file
Date: Thu Aug 30 09:26:05 2007
New Revision: 81370

URL: http://svn.digium.com/view/asterisk?view=rev&rev=81370
Log:
Merged revisions 81369 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81369 | file | 2007-08-30 11:23:40 -0300 (Thu, 30 Aug 2007) | 4 lines

(issue #10599)
Reported by: dimas
Handle the -1 control subclass during feature dialing (it indicates to stop sounds).

........

Modified:
    trunk/   (props changed)
    trunk/res/res_features.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/res/res_features.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_features.c?view=diff&rev=81370&r1=81369&r2=81370
==============================================================================
--- trunk/res/res_features.c (original)
+++ trunk/res/res_features.c Thu Aug 30 09:26:05 2007
@@ -1624,6 +1624,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 svn-commits mailing list