summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Fredrickson <creslin@digium.com>2007-12-06 16:54:08 +0000
committerMatthew Fredrickson <creslin@digium.com>2007-12-06 16:54:08 +0000
commit12748fb0275a1417053137c223a0a63adb72f811 (patch)
tree778dc99a14393b2ecf51df008a309a29fe88b9c0
parent6e238eba40175b71526775e32e8aa12259f1a731 (diff)
Make sure we clear these flags when libpri is not installed
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@91472 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--channels/chan_zap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 1485cfd12..62830235d 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -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;