[Freeswitch-users] Freeswitch is showing Incorrect time

Jeff Leung jleung at v10networks.ca
Tue Mar 12 00:34:14 MSK 2013


Embedded devices at that scale probably don't even feature a battery or a
way to preserve the RTC's time. In that case you'll have to write a bunch
more of init scripts to force ntp to sync to the real time first before
starting any daemons up

 

From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Philippe
Le Toquin
Sent: Monday, March 11, 2013 11:44 AM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Freeswitch is showing Incorrect time

 

Thanks all,

I will check the internal tonight. I actually use a Guruplug running Debian.
May that power cut did something more than rebooting the box :(

I will run  the command to sync the clock. I am not too worried about the
CDRs since I am the only user on this box. It is a home PBX

I really need to learn a bit more the CLI. I tried to look but could not
work a command for it.

15 years of billing....I can see why a customer would be upset :D

I will also check when Freeswitch is started. I thought it was the last one
to start but may be not. 

 

/Philippe

 

On 10 March 2013 20:37, Andrew Latham <lathama at gmail.com> wrote:

On Sun, Mar 10, 2013 at 8:25 PM, Philippe Le Toquin <philippe at ppmt.org>
wrote:
> Hello,
>
> Not sure why but recently I noticed that Freeswitch is logging data with
the
> wrong date
>
> I noticed it first in the freeswitch log but I can see it also in the log
> that are display in the cli itself
>
> the computer itself is ok
>
> ~# date
> Sun Mar 10 20:13:05 EDT 2013
>
> but :
>
> freeswitch at internal> version
> FreeSWITCH Version 1.3.13b+git~20130108T204816Z~8e892abdef (git 8e892ab
> 2013-01-08 20:48:16Z)
>
> freeswitch at internal> strftime
> 1999-12-31 19:07:40
>
> from freeswtich.log
> 1999-12-31 19:14:09.460477 [WARNING] sofia_reg.c:1506 SIP auth challenge
> (REGISTER) on sofia profile 'internal' for [1000 at xx.xx.xx.xx] from ip
> xx.xx.xx.xx
>
>
> This is right after a reboot since I thought a reboot would may be fix it
>
> where does FS takes its time from?
>
> The last time it was correctly logged was on the 9th of March ! We had a
> power cut that caused the system to reboot
>
> thanks
>
> /Philippe

Check your hardware clock...

man hwclock

--
~ Andrew "lathama" Latham lathama at gmail.com http://lathama.net ~


_________________________________________________________________________
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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130311/7e135f61/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list