mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 16:21:01 +00:00
reverting 329840 due to failing tests. Going to change this feature to be purely optional.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@329856 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -9321,10 +9321,8 @@ static int pbx_builtin_congestion(struct ast_channel *chan, const char *data)
|
||||
ast_indicate(chan, AST_CONTROL_CONGESTION);
|
||||
/* Don't change state of an UP channel, just indicate
|
||||
congestion in audio */
|
||||
if (chan->_state != AST_STATE_UP) {
|
||||
if (chan->_state != AST_STATE_UP)
|
||||
ast_setstate(chan, AST_STATE_BUSY);
|
||||
ast_cdr_congestion(chan->cdr);
|
||||
}
|
||||
wait_for_hangup(chan, data);
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user