summaryrefslogtreecommitdiff
path: root/channels/chan_zap.c
diff options
context:
space:
mode:
authorJim Dixon <telesistant@hotmail.com>2004-02-10 07:24:15 +0000
committerJim Dixon <telesistant@hotmail.com>2004-02-10 07:24:15 +0000
commit29571cfcb1053f74abf1596cb35dd5e8c058e628 (patch)
tree962366b8b56ff50bfa63b27b8e010c1d507980a7 /channels/chan_zap.c
parent260072954e8809fce521f9e0dfa951abba67aa40 (diff)
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
Diffstat (limited to 'channels/chan_zap.c')
-rwxr-xr-xchannels/chan_zap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 45b07b922..92531af38 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);