Re: [SR-Users] Presence - Subscription based NOTIFY to enable MWI

2016-01-03 Thread SamyGo
It is possible. I created a blog entry from a mailing list thread doing this sort of stuff for Asterisk behind Kamailio and voicemail MWI . http://saevolgo.blogspot.ca/2012/07/asterisk-behind-kamailio-voicemail-mwi.html?m=1 The scripts and everything should just give you idea. In Kamailio when

Re: [SR-Users] Presence - Subscription based NOTIFY to enable MWI

2016-01-03 Thread Arsen Hovhanissian
Alright I guess this is one of those duhh… moments, all this time I was forgetting to add the content length to the NOTIFY event. Remark: DO NOT FORGET the content length! Thanks for the help, very much appreciated! ___ SIP Express Router (SER) and

[SR-Users] Presence - Subscription based NOTIFY to enable MWI

2016-01-02 Thread Arsen Hovhanissian
Hi everyone, I’m trying to send a NOTIFY event using “sipsak” to enable the MWI I read up a lot of documentation and didn’t really find the information needed to accomplish this. So I have: Phone 1 -> P1 Server 1 -> S1 (Kamailio 4.3.4) Server 2 -> S2 (sipsak) P1 registers to S1 and creates a

Re: [SR-Users] Presence - Subscription based NOTIFY to enable MWI

2016-01-02 Thread SamyGo
Hi, You can catch this NOTIFY in kamailio and execute a script using sipsak like perl script doing some db/file/sipsak stuff. You might find examples of such thing in few older threads. On Jan 2, 2016 18:55, "Arsen Hovhanissian" wrote: > Hi everyone, I’m trying to send a NOTIFY

Re: [SR-Users] Presence - Subscription based NOTIFY to enable MWI

2016-01-02 Thread Arsen Hovhanissian
I see, what i’m trying to do is actually to limit querying the DB by updating the MWI only when there is activity. In other words to send a NOTIFY when the user receives a new message in his voicemailbox. I am not sure if it’s possible to send the NOTIFY for example 5-30 mins after the initial