mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 19:08:14 +00:00
Always send proceeding, send progress when appropriate
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3016 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -6535,9 +6535,12 @@ static void *pri_dchannel(void *vpri)
|
|||||||
if (res < 0)
|
if (res < 0)
|
||||||
ast_log(LOG_WARNING, "Unable to set gains on channel %d\n", pri->pvt[chan]->channel);
|
ast_log(LOG_WARNING, "Unable to set gains on channel %d\n", pri->pvt[chan]->channel);
|
||||||
if (e->ring.complete || !pri->overlapdial) {
|
if (e->ring.complete || !pri->overlapdial) {
|
||||||
/* We don't send acknowledge here because that means ringing, and that
|
/* Just announce proceeding */
|
||||||
isn't necessarily the case */
|
#ifdef PRI_PROCEEDING
|
||||||
/* pri_acknowledge(pri->pri, e->ring.call, chan, 1); */
|
pri_proceeding(pri->pri, e->ring.call, 0);
|
||||||
|
#else
|
||||||
|
#warning "You need newer libpri!"
|
||||||
|
#endif
|
||||||
} else {
|
} else {
|
||||||
pri_need_more_info(pri->pri, e->ring.call, chan, 1);
|
pri_need_more_info(pri->pri, e->ring.call, chan, 1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user