]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
(closes issue #10618)
authorJoshua Colp <jcolp@digium.com>
Fri, 31 Aug 2007 14:38:59 +0000 (14:38 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 31 Aug 2007 14:38:59 +0000 (14:38 +0000)
Reported by: dimas
Don't pass through the stopped sounds frame.... just drop it.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@81403 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_features.c

index 87e84ed0c5f432d5bdf524f48b4cd562d476a60a..498e52f85eb08b6e501d1ebd67373ff12a5dafb4 100644 (file)
@@ -1230,14 +1230,7 @@ static struct ast_channel *ast_feature_request_and_dial(struct ast_channel *call
                                                        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 */