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:
ca890ba
)
Add VMWI chan_zap support #9909
author
Matthew Fredrickson
<creslin@digium.com>
Fri, 24 Aug 2007 18:05:11 +0000
(18:05 +0000)
committer
Matthew Fredrickson
<creslin@digium.com>
Fri, 24 Aug 2007 18:05:11 +0000
(18:05 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80778
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
7b0c186
..
c733e36
100644
(file)
--- a/
channels/chan_zap.c
+++ b/
channels/chan_zap.c
@@
-7179,6
+7179,11
@@
static void *do_monitor(void *data)
if (last->msgstate != res) {
int x;
ast_debug(1, "Message status for %s changed from %d to %d on %d\n", last->mailbox, last->msgstate, res, last->channel);
+#ifdef ZT_VMWI
+ res2 = ioctl(last->subs[SUB_REAL].zfd, ZT_VMWI, res);
+ if (res2)
+ ast_log(LOG_DEBUG, "Unable to control message waiting led on channel %d\n", last->channel);
+#endif
x = ZT_FLUSH_BOTH;
res2 = ioctl(last->subs[SUB_REAL].zfd, ZT_FLUSH, &x);
if (res2)