[Asterisk-cvs] asterisk/channels chan_zap.c,1.144,1.145
markster at lists.digium.com
markster at lists.digium.com
Sun Nov 23 16:47:06 CST 2003
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv25137/channels
Modified Files:
chan_zap.c
Log Message:
Enable on hook transfer for vmwi
Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.144
retrieving revision 1.145
diff -u -d -r1.144 -r1.145
--- chan_zap.c 21 Nov 2003 18:38:42 -0000 1.144
+++ chan_zap.c 23 Nov 2003 23:13:27 -0000 1.145
@@ -4815,6 +4815,9 @@
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
More information about the svn-commits
mailing list