[asterisk-commits] mattf: trunk r41067 - /trunk/channels/chan_zap.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Aug 25 08:14:42 MST 2006
Author: mattf
Date: Fri Aug 25 10:14:42 2006
New Revision: 41067
URL: http://svn.digium.com/view/asterisk?rev=41067&view=rev
Log:
Don't send proceeding twice (#7800)
Modified:
trunk/channels/chan_zap.c
Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?rev=41067&r1=41066&r2=41067&view=diff
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Fri Aug 25 10:14:42 2006
@@ -8628,10 +8628,11 @@
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
More information about the asterisk-commits
mailing list