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
1.4
Russell Bryant 18 years ago
parent e041d57175
commit b340fcd7d0

@ -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;

Loading…
Cancel
Save