[OpenSIPS-Users] extension status monitoring

SamyGo govoiper at gmail.com
Mon Aug 17 17:22:39 CEST 2015


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 <eric at uphreak.com> 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 <bogdan at opensips.org>
> 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 listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150817/d7398dd1/attachment-0001.htm>


More information about the Users mailing list