mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
Properly handle AST_CONTROL_PROGRESS by just ignoring it. An unknown indication
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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user