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
This commit is contained in:
Matthew Fredrickson
2007-12-06 16:54:08 +00:00
parent 6e238eba40
commit 12748fb027

View 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;