El Miércoles, 24 de Junio de 2009, Saúl Ibarra escribió:
First you need to have Kamailio and Asterisk integrated in a way Asterisk 'believes' HE is the one having the users registered (you can do it by using realtime and MySQL views, info at the wiki). Have you done it?
If so, you just need to load presence_mwi modue http://www.kamailio.org/docs/modules/1.5.x/presence_mwi.html and it should work.
IMHO presence_mwi is not needed at all. Asterisk itself acts as MWI presence server.
In order to use presence_mwi, the scenario would be really different: - The user sends a SUBSCRIBE "mwi" to Kamailio (which also acts as a presence server). - Now you need an script in the voicemail server (Asterisk) which generates a PUBLISH "mwi" with the read/unread voice messages of each AoR, and sends it to the proxy (the presence server). - Then the presence server will generate a NOTIFY and send it to the user.