]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Properly handle AST_CONTROL_PROGRESS by just ignoring it. An unknown indication
authorRussell Bryant <russell@russellbryant.com>
Mon, 14 May 2007 19:13:00 +0000 (19:13 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 14 May 2007 19:13:00 +0000 (19:13 +0000)
will trigger an error and cause sounds to stop, which in this case, is ringing.

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

channels/chan_alsa.c

index d58ae8b1909e932f9ee21ae46e38c9588b2e1c3f..7e6e4d410733481ebd152263f864410a6ffcc9ec 100644 (file)
@@ -748,6 +748,7 @@ static int alsa_indicate(struct ast_channel *chan, int cond, const void *data, s
                        res = 2;
                        break;
                case AST_CONTROL_RINGING:
+               case AST_CONTROL_PROGRESS:
                        break;
                case -1:
                        res = -1;