diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 45b07b9227..92531af38e 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -4794,6 +4794,7 @@ static int handle_init_event(struct zt_pvt *i, int event) case SIG_FXOLS: case SIG_FXOGS: case SIG_FXOKS: + zt_set_hook(i->subs[SUB_REAL].zfd, ZT_OFFHOOK); if (i->cidspill) { /* Cancel VMWI spill */ free(i->cidspill);