From: Mark Spencer Date: Wed, 19 May 2004 15:40:01 +0000 (+0000) Subject: Always send proceeding, send progress when appropriate X-Git-Tag: 1.0.0-rc1~433 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=143b73ee7b584602236bcf72e74388943bf8f503;p=thirdparty%2Fasterisk.git Always send proceeding, send progress when appropriate git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3016 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 632860e41a..8e2c08ccb7 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); }