mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 23:08:32 +00:00
Removes colorful verb statements erroneously commited with r332760
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@334907 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -788,9 +788,6 @@ void ast_cdr_congestion(struct ast_cdr *cdr)
|
||||
{
|
||||
char *chan;
|
||||
|
||||
ast_verb (1, "congestion value: %d\n INYOURFACE", congestion);
|
||||
|
||||
|
||||
/* if congestion log is disabled, pass the buck to ast_cdr_failed */
|
||||
if (!congestion) {
|
||||
ast_cdr_failed(cdr);
|
||||
@@ -1568,7 +1565,6 @@ static int do_reload(int reload)
|
||||
unanswered = ast_true(unanswered_value);
|
||||
}
|
||||
if ((congestion_value = ast_variable_retrieve(config, "general", "congestion"))) {
|
||||
ast_verb(1, "INTHEFACEPUNCH!\n");
|
||||
congestion = ast_true(congestion_value);
|
||||
}
|
||||
if ((batched_value = ast_variable_retrieve(config, "general", "batch"))) {
|
||||
|
||||
@@ -9332,14 +9332,11 @@ static int pbx_builtin_busy(struct ast_channel *chan, const char *data)
|
||||
*/
|
||||
static int pbx_builtin_congestion(struct ast_channel *chan, const char *data)
|
||||
{
|
||||
ast_verb(1, "pbx_builtin_congestion HITINTHEFACE!\n");
|
||||
ast_verb(1, "AST_STATE = %d INTHEFACE\n", chan->_state);
|
||||
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) {
|
||||
ast_setstate(chan, AST_STATE_BUSY);
|
||||
ast_verb(1, "ast_cdr_congestion INTHEFACE\n");
|
||||
ast_cdr_congestion(chan->cdr);
|
||||
}
|
||||
wait_for_hangup(chan, data);
|
||||
|
||||
Reference in New Issue
Block a user