mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 00:24:05 +00:00
Fix the compile problem
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -228,7 +228,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu
|
|||||||
case AST_CONTROL_BUSY:
|
case AST_CONTROL_BUSY:
|
||||||
if (option_verbose > 2)
|
if (option_verbose > 2)
|
||||||
ast_verbose( VERBOSE_PREFIX_3 "%s is busy\n", o->chan->name);
|
ast_verbose( VERBOSE_PREFIX_3 "%s is busy\n", o->chan->name);
|
||||||
ast_hangup(o->chan)
|
ast_hangup(o->chan);
|
||||||
o->chan = NULL;
|
o->chan = NULL;
|
||||||
o->stillgoing = 0;
|
o->stillgoing = 0;
|
||||||
if (in->cdr)
|
if (in->cdr)
|
||||||
@@ -238,7 +238,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu
|
|||||||
case AST_CONTROL_CONGESTION:
|
case AST_CONTROL_CONGESTION:
|
||||||
if (option_verbose > 2)
|
if (option_verbose > 2)
|
||||||
ast_verbose( VERBOSE_PREFIX_3 "%s is circuit-busy\n", o->chan->name);
|
ast_verbose( VERBOSE_PREFIX_3 "%s is circuit-busy\n", o->chan->name);
|
||||||
ast_hangup(o->chan)
|
ast_hangup(o->chan);
|
||||||
o->chan = NULL;
|
o->chan = NULL;
|
||||||
o->stillgoing = 0;
|
o->stillgoing = 0;
|
||||||
if (in->cdr)
|
if (in->cdr)
|
||||||
@@ -281,7 +281,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu
|
|||||||
}
|
}
|
||||||
ast_frfree(f);
|
ast_frfree(f);
|
||||||
} else {
|
} else {
|
||||||
ast_hangup(o->chan)
|
ast_hangup(o->chan);
|
||||||
o->chan = NULL;
|
o->chan = NULL;
|
||||||
o->stillgoing = 0;
|
o->stillgoing = 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user