mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 00:24:05 +00:00
Let OSS know how to deal with indication -1
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2861 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -681,6 +681,9 @@ static int oss_indicate(struct ast_channel *chan, int cond)
|
||||
case AST_CONTROL_RINGING:
|
||||
res = 0;
|
||||
break;
|
||||
case -1:
|
||||
cursound = -1;
|
||||
return 0;
|
||||
default:
|
||||
ast_log(LOG_WARNING, "Don't know how to display condition %d on %s\n", cond, chan->name);
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user