[OpenSIPS-Users] registration timeout events?

2011-03-02 Thread Paul Wise
Hi all, Is it possible to hook into registration removal events? I'd like to notify an external server when a user goes off-line, including when they don't deregister properly. I can call an external program in the route handling REGISTER requests but can't find any way to handle the case where a

Re: [OpenSIPS-Users] registration timeout events?

2011-03-03 Thread Bogdan-Andrei Iancu
Hi Paul, Right now there is no way for an external application to find out when a registration do timeoutWell there is a really ugly hack -> use DB support for usrloc (preferable db_mode WRITE_THROUGH) and install in DB usrloc table a trigger on DELETE query -> this will be triggered each