If you are using asterisk as a voicemail server, let asterisk to handle the SUBSCRIBE and don't involve the kamailio presence server in this process. If you really want to use kamailio as a mwi presence server, then you will need to build some external scripts for pooling the asterisk mwi db and send PUBLISH out.
I would stick with asterisk handling the mwi subscription and configure kamailio as a relay only for those events. Regards, Ovidiu Sas On Thu, Jun 30, 2011 at 9:30 AM, Spinov Evgeniy <spinov_evge...@intalisan.com> wrote: > This makes the main problem as in documents I've found on asterisk is > that it doesn't support PUBLISH, i.e. there is no way to force sending > them on MWI event. It works only on SUBSCRIBE-NOTIFY scheme. > > Did you succeeded with PUBLISH on Asterisk in order to inform Kamailio > about MWI? If yes, how? Cause right now, for me, it looks like a theory, > cause no mechanics to force asterisk send PUBLISHes. > > Thank you. > > Regards, > Evgeniy Spinov > > >> If you are using asterisk for voicemail, you should let asterisk >> notify the subscribers about mwi. >> If you want to use kamailio for notifications, then you need to >> configure asterisk to send PUBLISH requests to kamailio and kamailio >> will notify the subscribers. > > >> Regards, >> Ovidiu Sas > > _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users