I've done that in this fashion: Kamailio is only proxing SUBSCRIBEs to
Asterisk and it's replying with NOTIFYs to Kamailio, Kamailio is just
proxying reply to UAC. So Kamailio is transparent for MWI.
But it looks like spike. I'd better send PUBLISHes from Asterisk to
Kamailio for all the clients and Kamailio reply with NOTIFY to
subscribed ones. This is like Kamailio MWI module was designed.
Anyway, thanks for the help. Scripts for making PUBLISHES is spike even
more.
On Thu, 2011-06-30 at 09:53 -0400, Ovidiu Sas wrote:
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_evgeniy(a)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
>
>