aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-28 04:26:26 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-28 04:26:26 +0000
commitfcb0714e114e1b5c10e4413869fd13ad8b20f89b (patch)
tree3675c0ab46b437f816be12760d098e2030e8a3a5
parentd9a9587e85ca016ebd01f407e6d93ecd4c5c5410 (diff)
Build again without PRI
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2791 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xchannels/chan_zap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index ab883f57b..0752649b1 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) ||