dect
/
asterisk
Archived
13
0
Fork 0

Fix last typo

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1549 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
martinp 2003-09-26 17:39:27 +00:00
parent 4ca92014ea
commit 81ea65303b
1 changed files with 1 additions and 1 deletions

View File

@ -2660,7 +2660,7 @@ static struct ast_frame *zt_handle_event(struct ast_channel *ast)
zt_enable_ec(p);
p->dialing = 0;
if (ast->_state == AST_STATE_DIALING) {
if (p->callprogress && CANPROGRESSDETECT(p) && p->dsp && i->outgoing) {
if (p->callprogress && CANPROGRESSDETECT(p) && p->dsp && p->outgoing) {
ast_log(LOG_DEBUG, "Done dialing, but waiting for progress detection before doing more...\n");
} else if (p->confirmanswer || (!p->dialednone && ((p->sig == SIG_EM) || (p->sig == SIG_EMWINK) || (p->sig == SIG_FEATD) || (p->sig == SIG_FEATDMF) || (p->sig == SIG_FEATB) || (p->sig == SIG_SF) || (p->sig == SIG_SFWINK) || (p->sig == SIG_SF_FEATD) || (p->sig == SIG_SF_FEATDMF) || (p->sig == SIG_SF_FEATB)))) {
ast_setstate(ast, AST_STATE_RINGING);