From: Mark Spencer Date: Wed, 28 Apr 2004 04:26:26 +0000 (+0000) Subject: Build again without PRI X-Git-Tag: 1.0.0-rc1~650 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=19064660d23c4fe9e8fc6c025ff7d8a10d7f086b;p=thirdparty%2Fasterisk.git Build again without PRI git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2791 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_zap.c b/channels/chan_zap.c index ab883f57b4..0752649b16 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -3884,6 +3884,7 @@ static int zt_indicate(struct ast_channel *chan, int condition) res = tone_zone_play_tone(p->subs[index].zfd, ZT_TONE_BUSY); break; case AST_CONTROL_RINGING: +#ifdef ZAPATA_PRI if (!p->proceeding && p->sig==SIG_PRI && p->pri && p->pri->overlapdial) { if (p->pri->pri) { if (!pri_grab(p, p->pri)) { @@ -3895,6 +3896,7 @@ static int zt_indicate(struct ast_channel *chan, int condition) } p->proceeding=1; } +#endif res = tone_zone_play_tone(p->subs[index].zfd, ZT_TONE_RINGTONE); if (chan->_state != AST_STATE_UP) { if ((chan->_state != AST_STATE_RING) ||