[asterisk-users] How does IMAP notify Asterisk that I've read a message?

Barry L. Kline blkline at attglobal.net
Sat Nov 22 22:17:54 CST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have an Asterisk box sitting between the PSTN and a legacy PBX.  I
have successfully configured Asterisk to use IMAP for voicemail and have
written the necessary script to turn the MWI indicator (via a .call file
to the PBX) on and off.  I have two issues still outstanding:

1) When the user listens to his voice mail via the phone, it will be
announced that the caller is unknown, in spite of the fact that the
email headers show the appropriate Callerid(num) information.  I can
live with that, but I'll eventually need to get it fixed.

2) If I "listen" to the voicemail using my email client, the MWI on the
phone is not turned off, which isn't surprising given that my script
needs to be called to generate the .call file.  What I don't know is
how, exactly, Asterisk is notified that I've listened to my voicemail
via email.  Does Asterisk poll the server?  If so, where is the
frequency of the poll set?  Can Asterisk be configured to call the
script again when the messages are read and the MWI should be turned off?

The docs don't say anything about this and I've not found anything in my
googling that has given me any leads?

I'm currently using Asterisk 1.4.22.

Thanks for any information that you can provide.

Barry


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFJKNlyCFu3bIiwtTARAo4XAJwMlW8ylyY1JEu1H1qsth73m2cwzACdFzuI
EwIJuEkqSyJdnVRJVeVA5Zk=
=DmZw
-----END PGP SIGNATURE-----



More information about the asterisk-users mailing list