]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Don't print a message indicating that we don't know what to do with a proceeding
authorRussell Bryant <russell@russellbryant.com>
Tue, 30 Jan 2007 19:41:52 +0000 (19:41 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 30 Jan 2007 19:41:52 +0000 (19:41 +0000)
control frame in ast_request_and_dial().  We just need to ignore it.
(reported by JerJer on #asterisk-dev)

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

channel.c

index 2a22bed3caeeac2b9e4b5c705e7fbf02c2c2f98f..577d0c799d6a426bde3013783ddea351ae09f3bb 100644 (file)
--- a/channel.c
+++ b/channel.c
@@ -2476,7 +2476,7 @@ struct ast_channel *__ast_request_and_dial(const char *type, int format, void *d
                                                state = f->subclass;
                                                ast_frfree(f);
                                                break;
-                                       } else if (f->subclass == AST_CONTROL_PROGRESS) {
+                                       } else if (f->subclass == AST_CONTROL_PROGRESS || f->subclass == AST_CONTROL_PROCEEDING) {
                                                /* Ignore */
                                        } else if (f->subclass == -1) {
                                                /* Ignore -- just stopping indications */