[Asterisk-Users] Message-waiting-indicator thru ZAP interfaces - how to?

John Todd jtodd at loligo.com
Tue Sep 2 00:34:42 MST 2003


>I'm trying to make the MWI indicators on my client's Vodavi Starplus 
>DHS phones work. The actual signalling - in-band DTMF from the ZAP 
>interfaces directly to the PBX system - works fine. I can manually 
>tell asterisk to send "#9610" as DTMF and voila, the MWI on 
>extension 10 lights (or goes out.) The question is, how is this 
>integrated with voicemail, i.e. so that the MWI turns on and off 
>appropriately, when new messages arrive and after a user has 
>listened to their messages?
>
>I've checked the last two months of mailing-list messages but found 
>no mention of this situation. Any tips or pointers to online docs 
>would be appreciated.
>
>Thanks,
>
>Sam
>
>P.S. Thanks to Jsmith for the fast, simple answer to my last 
>question re: version number in CVS not updating.

I'm afraid that the answer to this, without programming some stuff 
inside of Asterisk, is uuuuuuugly.  I suspect it will involve using 
perl or shell scripts to actually peek inside of the 
/var/spool/asterisk/vm directories and check things manually, out of 
a cron job or out of the "h" context with a System call.  Then, a 
call would be created by the script (see sample.call)  - just 
thinking about this method gives me the willies.

The clean way would be to put a tiny call into the voicemail app (or 
would it be in app.c?) that triggers an outbound call with the 
appropriate parameters (see sample.call)

JT



More information about the asterisk-users mailing list