diff options
author | mattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-24 18:05:11 +0000 |
---|---|---|
committer | mattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-24 18:05:11 +0000 |
commit | 54c444e390e08edb926eb1e5d33f1fa2e67248f2 (patch) | |
tree | 206193b28a920761afd9e3d252ea729810d9e95b | |
parent | 0e741f6f81e0a9986b2a60d2e7d7b18ed5107927 (diff) |
Add VMWI chan_zap support #9909
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80778 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_zap.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 7b0c18695..c733e36fa 100644 --- 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) |