]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
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 1485cfd122cf97d3b88bc711defd89a01ac6b13f..62830235dbce0dbf14bb9065925b0a2cbe63e93b 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;