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