diff options
author | mattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-25 15:13:43 +0000 |
---|---|---|
committer | mattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-25 15:13:43 +0000 |
commit | 1a46c8d64aa5512f3a5453f3211f9da99a71d5d1 (patch) | |
tree | 6f6792da843fd0e5b2c6418dc4d39ced921d2921 | |
parent | 7c93b57c1c241c2010d96aa13575684e8ffde8b2 (diff) |
Don't send proceeding twice (#7800)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@41066 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_zap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index e0822f5e6..9e52be1d1 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -8485,10 +8485,11 @@ static void *pri_dchannel(void *vpri) res = set_actual_gain(pri->pvts[chanpos]->subs[SUB_REAL].zfd, 0, pri->pvts[chanpos]->rxgain, pri->pvts[chanpos]->txgain, law); if (res < 0) ast_log(LOG_WARNING, "Unable to set gains on channel %d\n", pri->pvts[chanpos]->channel); - if (e->ring.complete || !pri->overlapdial) + if (e->ring.complete || !pri->overlapdial) { /* Just announce proceeding */ + p->proceeding = 1; pri_proceeding(pri->pri, e->ring.call, PVT_TO_CHANNEL(pri->pvts[chanpos]), 0); - else { + } else { if (pri->switchtype != PRI_SWITCH_GR303_TMC) pri_need_more_info(pri->pri, e->ring.call, PVT_TO_CHANNEL(pri->pvts[chanpos]), 1); else |