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" <arsenx@me.com> wrote:
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 new entry in the active watchers table with a "message-summary” event.
At this point I am assuming that any request I would send will be out of dialog.

Now the question is, How could I reply to that SUBSCRIPTION with a NOTIFY?

Thanks in advance!
_______________________________________________
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