Ignore progress frames in request/dial (bug #1657)
authorMark Spencer <markster@digium.com>
Sun, 16 May 2004 17:50:14 +0000 (17:50 +0000)
committerMark Spencer <markster@digium.com>
Sun, 16 May 2004 17:50:14 +0000 (17:50 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2983 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channel.c

index e870cfb..b9097ee 100755 (executable)
--- a/channel.c
+++ b/channel.c
@@ -1685,6 +1685,8 @@ struct ast_channel *__ast_request_and_dial(char *type, int format, void *data, i
                                                state = f->subclass;
                                                ast_frfree(f);
                                                break;
+                                       } else if (f->subclass == AST_CONTROL_PROGRESS) {
+                                               /* Ignore */
                                        } else if (f->subclass == -1) {
                                                /* Ignore -- just stopping indications */
                                        } else {