Make sure we clear these flags when libpri is not installed
authorMatthew Fredrickson <creslin@digium.com>
Thu, 6 Dec 2007 16:54:08 +0000 (16:54 +0000)
committerMatthew Fredrickson <creslin@digium.com>
Thu, 6 Dec 2007 16:54:08 +0000 (16:54 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@91472 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index 1485cfd..6283023 100644 (file)
@@ -3031,7 +3031,7 @@ static int zt_hangup(struct ast_channel *ast)
                p->faxhandled = 0;
                p->pulsedial = 0;
                p->onhooktime = time(NULL);
-#ifdef HAVE_PRI
+#if defined(HAVE_PRI) || defined(HAVE_SS7)
                p->proceeding = 0;
                p->progress = 0;
                p->alerting = 0;