Fix last typo
authorMartin Pycko <martinp@digium.com>
Fri, 26 Sep 2003 17:39:27 +0000 (17:39 +0000)
committerMartin Pycko <martinp@digium.com>
Fri, 26 Sep 2003 17:39:27 +0000 (17:39 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1549 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index 0f10cce..2f3cfd4 100755 (executable)
@@ -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);