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(a)aliax.net>