summaryrefslogtreecommitdiff
path: root/zaptel.c
diff options
context:
space:
mode:
Diffstat (limited to 'zaptel.c')
-rwxr-xr-xzaptel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/zaptel.c b/zaptel.c
index f56981e..b8bab2e 100755
--- a/zaptel.c
+++ b/zaptel.c
@@ -4750,6 +4750,9 @@ static inline void __rbs_otimer_expire(struct zt_chan *chan)
case ZT_TXSTATE_DEBOUNCE:
zt_rbs_sethook(chan, ZT_TXSIG_OFFHOOK, ZT_TXSTATE_OFFHOOK, 0);
+ /* See if we've gone back on hook */
+ if (chan->rxhooksig == ZT_RXSIG_ONHOOK)
+ chan->itimerset = chan->itimer = chan->rxflashtime * 8;
wake_up_interruptible(&chan->txstateq);
break;