Greetings All,
In my research, copying files into the /var/spool/asterisk/voicemail///INBOX directory with a sip phone gets the MWI on the sip phone to work no probs.
HOWEVER!
using asterisk for voicemail on a legacy system (siemens), i need to do something different. Broadcast voicemail, done as per the instructions on this page (voip-info.org/wiki/index.php … email.conf near the bottom) leaves a message in all the mailboxes.
THE PROBLEM:
externnotify parameter of voicemail.conf is only used when the voicemail/voicemailmain application is entered by the mailbox in the normal login/password method. Not even with the externnotify param when used in a broadcast manner specified above.
SOLUTION:
run an agi script, that calls the siemens with the relevent MWI string for that system. OR drop a .call file in the outgoing directory in /var/spool/asterisk…
Now, if a user wants their mobile to be called when a message is left, a similar thing can be done. However, can I timeout a .call that is placed in the outgoing directory for say 5 seconds?
Thanks, any help appreciated -
remember, asterisk rocks!
I have one question about MWI, please help me find out the resolution.
According to the rfc3842, the subscriber send a SUBSCRIBE to server, the server will reply a NOTIFY to the subscriber for synchronizing state. The flow is:
But when our gateway communicating with ASTERISK server, the server doesn?t send NOTIFY to the gateway when it received the SUBSCRIBE request. So it can?t synchronize the mail-voice state all the time. In some case, the MWI is failed. The flow is: