projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
250e28a
)
Enable on hook transfer for vmwi
author
Mark Spencer
<markster@digium.com>
Sun, 23 Nov 2003 23:13:27 +0000
(23:13 +0000)
committer
Mark Spencer
<markster@digium.com>
Sun, 23 Nov 2003 23:13:27 +0000
(23:13 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1785
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_zap.c
patch
|
blob
|
history
diff --git
a/channels/chan_zap.c
b/channels/chan_zap.c
index
969eb5d
..
a61e9af
100755
(executable)
--- a/
channels/chan_zap.c
+++ b/
channels/chan_zap.c
@@
-4815,6
+4815,9
@@
static void *do_monitor(void *data)
ast_log(LOG_WARNING, "Unable to flush input on channel %d\n", last->channel);
last->cidspill = malloc(8192);
if (last->cidspill) {
+ /* Turn on on hook transfer for 4 seconds */
+ x = 4000;
+ ioctl(last->subs[SUB_REAL].zfd, ZT_ONHOOKTRANSFER, &x);
last->cidlen = vmwi_generate(last->cidspill, res, 1, AST_LAW(last));
last->cidpos = 0;
#if 0