Hi All,
Is there any link or document for implementing MWI (kamailio + asterisk) step by step..
I tried lot of searching but don;t found any such a good link or document.
Please help me out.
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.
On Wed, Jun 24, 2009 at 9:44 AM, Chandrakant Solankisolanki.chandrakant@gmail.com wrote:
Hi All,
Is there any link or document for implementing MWI (kamailio + asterisk) step by step..
I tried lot of searching but don;t found any such a good link or document.
Please help me out.
-- Regards,
Chandrakant Solanki
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
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.
Iñaki Baz Castillo writes:
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.
this is correct. i have done it using sems. publish needs to be generated whenever status of voice mailbox changes.
-- juha
El Miércoles, 24 de Junio de 2009, Juha Heinanen escribió:
Iñaki Baz Castillo writes:
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.
this is correct. i have done it using sems. publish needs to be generated whenever status of voice mailbox changes.
Right. If the voicemail server doesn't act as presence "mwi" server (by receiving SUBSCRIBE and generating NOTIFY) then it must act as presence "mwi" agent (by generating PUBLISH and sending it to the presence "mwi" server).
Ups, sorry for that and thanks for the info, I'll take it into account :)
On Wed, Jun 24, 2009 at 10:24 PM, Iñaki Baz Castilloibc@aliax.net wrote:
El Miércoles, 24 de Junio de 2009, Juha Heinanen escribió:
Iñaki Baz Castillo writes: > 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.
this is correct. i have done it using sems. publish needs to be generated whenever status of voice mailbox changes.
Right. If the voicemail server doesn't act as presence "mwi" server (by receiving SUBSCRIBE and generating NOTIFY) then it must act as presence "mwi" agent (by generating PUBLISH and sending it to the presence "mwi" server).
-- Iñaki Baz Castillo ibc@aliax.net
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users