[Freeswitch-users] Getting logs of registrations/deregistrations

Alex Lake alex at digitalmail.com
Mon Jun 9 19:13:19 MSD 2014


Oooh, that'd be my first one - scary!
Your logic sounds extremely plausible.
Suspect that ESL subscription would be the technically correct way to do 
it, though.
I think a logged warning for failed OPTIONS request seems more obvious, 
but I may as well put in both.

Cheers

On 09/06/2014 15:07, Steven Ayre wrote:
> You could file a wishlist Jira... if the event is raised then it'd be 
> trivial to log at the same time.
>
> The registration logs are there to support fail2ban so that you can 
> automatically block attacks... that could explain why there's no 
> logging of deregistration at present, since only the former is needed 
> for fail2ban.
>
>
> On 9 June 2014 15:06, Steven Ayre <steveayre at gmail.com 
> <mailto:steveayre at gmail.com>> wrote:
>
>     Registration is expiration based - they expire unless you send
>     another REGISTER within the expiry time.
>
>     I believe there's an ESL event when they expire that you can
>     subscribe to, but I don't think it appears in the logs.
>
>
>     On 9 June 2014 14:41, Alex Lake <alex at digitalmail.com
>     <mailto:alex at digitalmail.com>> wrote:
>
>         Is there a way to get the console to show end-user
>         registrations and
>         de-registrations as they happen?
>
>         I note that registrations are OK, you get something like this:
>
>         2014-06-09 13:37:44.091960 [WARNING] sofia_reg.c:1541 SIP auth
>         challenge
>         (REGISTER) on sofia profile 'internal' for
>         [1129301 at 004-1129.sb12.dmclub.org
>         <mailto:1129301 at 004-1129.sb12.dmclub.org>] from ip 84.92.90.149
>
>         But de-registrations are very quiet.
>
>         Also, is there an api command to send a "SIP OPTIONS" message to a
>         particular registered session?
>
>         _________________________________________________________________________
>         Professional FreeSWITCH Consulting Services:
>         consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>         http://www.freeswitchsolutions.com
>
>         
>         
>
>         Official FreeSWITCH Sites
>         http://www.freeswitch.org
>         http://wiki.freeswitch.org
>         http://www.cluecon.com
>
>         FreeSWITCH-users mailing list
>         FreeSWITCH-users at lists.freeswitch.org
>         <mailto:FreeSWITCH-users at lists.freeswitch.org>
>         http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>         UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>         http://www.freeswitch.org
>
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> No virus found in this message.
> Checked by AVG - www.avg.com <http://www.avg.com>
> Version: 2014.0.4570 / Virus Database: 3955/7646 - Release Date: 06/09/14
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140609/0e3dd5a4/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list