So Eric, Time and over again, while looking for best way for this, my eyes keep getting stuck at PUA_MI module [ http://www.opensips.org/html/docs/modules/2.1.x/pua_mi.html]
The module you mentioned I used this for regular presence scenario for phones to know which other extension is online/offline. PUA_MI module on the other hand seems to say exactly what we're talking about here, that is, have an external application possibly web-server/perl-script/java web applet "SUBSCRIBE" to user extensions and be notified when it is On/Off-line. Question: 1- Any example on how to use this ? if anyone be generous to share. Thanks, Sammy On Mon, Aug 17, 2015 at 11:12 AM, Eric Tamme <[email protected]> wrote: > I would suggest using a presence based option and utilizing the pua_usrloc > module for pushing state updates into the presence server. > > http://www.opensips.org/html/docs/modules/2.1.x/pua_usrloc.html > > -Eric > > > On 08/17/2015 09:10 AM, SamyGo wrote: > > Hi Bogdan, > > Can you recommend this approach for a huge number of ul records ? Is there > any better approach in your opinion ? > > I Push Registering Users into Redis from cfg file, and on un-registering > delete them from redis List of online users. This wont give me accurate > results but I believe much less load on OpenSIPS. > > Then for accurate results I created script utilizing the mi_http module to > reconcile with Redis and purge any dead entries, this is done after 5~10 > minutes interval. > > I just want to know if there is any other approach to this ? > > Best Regards, > Sammy > > > > > On Mon, Aug 17, 2015 at 5:42 AM, Bogdan-Andrei Iancu <[email protected]> > wrote: > >> Hi Julian, >> >> The MI command "ul_dump" gives you the registration status for all users: >> http://www.opensips.org/html/docs/modules/1.11.x/usrloc.html#id294959 >> >> You can trigger this command via the MI interface : >> http://www.opensips.org/Documentation/Interface-MI-1-11 >> where you have several protocols/backends to communicate with OpenSIPS. >> >> Regards, >> >> Bogdan-Andrei Iancu >> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com >> >> On 17.08.2015 08:14, Julian Kay wrote: >> >> Hi; >> >> >> >> I'm looking for information on monitoring extension status on phones >> registered with OpenSIPS. >> >> >> >> I'm looking into interfacing a java web applet to OpenSIPS. >> >> >> >> If anyone knows where I may find helpful info I would appreciate it. >> >> >> >> Thx! >> >> JK >> >> >> _______________________________________________ >> Users mailing >> [email protected]http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> > > > _______________________________________________ > Users mailing > [email protected]http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
