Fix dependancy on a new libpri for my previous patch
authorMartin Pycko <martinp@digium.com>
Sat, 19 Apr 2003 00:27:31 +0000 (00:27 +0000)
committerMartin Pycko <martinp@digium.com>
Sat, 19 Apr 2003 00:27:31 +0000 (00:27 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@871 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index 1e429af..d4192d8 100755 (executable)
@@ -1563,7 +1563,9 @@ static int zt_hangup(struct ast_channel *ast)
                p->faxhandled = 0;
                p->pulsedial = 0;
                p->onhooktime = time(NULL);
+#ifdef PRI_EVENT_PROCEEDING
                p->proceeding = 0;
+#endif
                if (p->dsp) {
                        ast_dsp_free(p->dsp);
                        p->dsp = NULL;