summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xchannels/chan_zap.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 632860e41..8e2c08ccb 100755
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -6535,9 +6535,12 @@ static void *pri_dchannel(void *vpri)
if (res < 0)
ast_log(LOG_WARNING, "Unable to set gains on channel %d\n", pri->pvt[chan]->channel);
if (e->ring.complete || !pri->overlapdial) {
- /* We don't send acknowledge here because that means ringing, and that
- isn't necessarily the case */
- /* pri_acknowledge(pri->pri, e->ring.call, chan, 1); */
+ /* Just announce proceeding */
+#ifdef PRI_PROCEEDING
+ pri_proceeding(pri->pri, e->ring.call, 0);
+#else
+#warning "You need newer libpri!"
+#endif
} else {
pri_need_more_info(pri->pri, e->ring.call, chan, 1);
}