From 29571cfcb1053f74abf1596cb35dd5e8c058e628 Mon Sep 17 00:00:00 2001 From: Jim Dixon <telesistant@hotmail.com> Date: Tue, 10 Feb 2004 07:24:15 +0000 Subject: [PATCH] Fixed bug in FXOGS. Was not closing loop after starting. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2147 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_zap.c | 1 + 1 file changed, 1 insertion(+) 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); -- GitLab