Re: [SR-Users] MWI handling

2011-06-30 Thread Spinov Evgeniy
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 a

Re: [SR-Users] MWI handling

2011-06-30 Thread Spinov Evgeniy
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? C

Re: [SR-Users] MWI handling

2011-06-30 Thread Ovidiu Sas
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 se

Re: [SR-Users] MWI handling

2011-06-29 Thread Ovidiu Sas
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 On Wed, Jun 29,

[SR-Users] MWI handling

2011-06-29 Thread Spinov Evgeniy
Hello. Trying to understand how to work with the presence_mwi module. It seems to me, that it's just for my purpose - inform subscribed peers about waiting messages. But it do not export any functions, noting. The scheme is simple: Peer->Kamailio->Asterisk. Asterisk can accept voicemail and when