Just a quick thank you for the  great points on  extension status monitoring.

 

JK

 

From: [email protected] 
[mailto:[email protected]] On Behalf Of SamyGo
Sent: Monday, August 17, 2015 11:58 AM
To: Bogdan-Andrei Iancu
Cc: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] extension status monitoring

 

Thanks Bogdan,

That makes everything easy. :)

 

Best Regards,

Sammy

 

On Mon, Aug 17, 2015 at 11:52 AM, Bogdan-Andrei Iancu <[email protected]> 
wrote:

Hi Sammy,

If you use the "brief" option just to get the list of AORs, is quite ok. But 
depends on how often you need this info.

If you want to keep into into a parallel DB, better use the AOR inserted 
/deleted events:
    http://www.opensips.org/html/docs/modules/2.1.x/usrloc.html#id295255
And keep your REDIS in sync from there.

Regards,



Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 17.08.2015 18:10, 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 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]
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

 

 

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to