[OpenSIPS-Users] Newbie Q: Seeing UA registrations in real time
Bogdan-Andrei Iancu
bogdan at opensips.org
Sun Jun 29 14:31:14 CEST 2014
Hi Gary,
You can simply use the AOR_INSERT event from the usrloc module :
http://www.opensips.org/html/docs/modules/1.11.x/usrloc.html#id295241
You can capture it via an event_route and print something to syslog:
http://www.opensips.org/Documentation/Script-Routes-1-11#toc9
or you can deliver it further via any other event backend (xmlrpc,
rabbitmq, datagram):
http://www.opensips.org/Documentation/Interface-Events-1-11
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 28.06.2014 19:57, Gary Patton wrote:
> Hello! I've been using the following command - ./opensipsctl fifo
> ul_dump - to view what UAs have registered with my OpenSIPS box. I've
> also used OpenSIPS-CP to see registrations.
>
> But these seem to be log file output *after* the UAs have already
> registered. I'd like to be able to see output on my screen as the UAs
> are actually registering in real time.
>
> I'd also like to avoid switching from one app window to another window
> which I would need to do if I had Wireshark and the terminal going at
> the same time. I'm a student and only have a single 17" monitor right
> now :( But at least it is a lcd :) instead of a crt.
>
> How would I go about seeing UA's registering in real time inside my
> terminal screen?
>
> Thanks.
>
> Regards
>
> Gary
>
>
> _______________________________________________
> 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/20140629/d256687e/attachment.htm>
More information about the Users
mailing list