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] <mailto:[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 Developer
    http://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 list
    [email protected]  <mailto:[email protected]>
    http://lists.opensips.org/cgi-bin/mailman/listinfo/users


    _______________________________________________
    Users mailing list
    [email protected] <mailto:[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

Reply via email to