sip stack has incorrect time
In the log snippet below, it looks like the FS core has an accurate local time, where the sip stack is logging time incorrectly. Why is this? 6454358312832000172723@10.1.10.101 2012-02-27 12:41:18 436896 [NOTICE] switch_ivr_bridge.c:398 Channel [sofia/internal/anonymous@anonymous.invalid] has been answered recv 567 bytes from udp/[10.1.10.101]:5060 at 17:41:18.455920: ------------------------------------------------------------------------ ACK sip:5753610@10.1.10.1:5060;transport=udp SIP/2.0 Via: SIP/2.0/UDP 10.1.10.101;branch=z9hG4bKac670929105 Max-Forwards: 70 From: "anonymous" <sip:anonymous@anonymous.invalid>;tag=1c645436806 To: <sip:5753610@10.1.10.1>;tag=Q7FpFH5yycF0j Call-ID: 6454358312832000172723@10.1.10.101 CSeq: 1 ACK Contact: <sip:1044@10.1.10.101:5060> Supported: em,timer,replaces,path,resource-priority Allow: REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE,UPDATE User-Agent: Audiocodes-Sip-Gateway-Mediant 1000/v.5.80A.055.002 Content-Length: 0 ------------------------------------------------------------------------ -bash-3.2$ date Mon Feb 27 12:41:23 EST 2012
SIP stack logs time in UTC. On Monday 27 February 2012 12:43:25 Dave Horton wrote:
In the log snippet below, it looks like the FS core has an accurate local time, where the sip stack is logging time incorrectly. Why is this?
6454358312832000172723@10.1.10.101 2012-02-27 12:41:18 436896 [NOTICE] switch_ivr_bridge.c:398 Channel [sofia/internal/anonymous@anonymous.invalid] has been answered recv 567 bytes from udp/[10.1.10.101]:5060 at 17:41:18.455920: ------------------------------------------------------------------------ ACK sip:5753610@10.1.10.1:5060;transport=udp SIP/2.0 Via: SIP/2.0/UDP 10.1.10.101;branch=z9hG4bKac670929105 Max-Forwards: 70 From: "anonymous" <sip:anonymous@anonymous.invalid>;tag=1c645436806 To: <sip:5753610@10.1.10.1>;tag=Q7FpFH5yycF0j Call-ID: 6454358312832000172723@10.1.10.101 CSeq: 1 ACK Contact: <sip:1044@10.1.10.101:5060> Supported: em,timer,replaces,path,resource-priority Allow: REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE,UP DATE User-Agent: Audiocodes-Sip-Gateway-Mediant 1000/v.5.80A.055.002 Content-Length: 0
------------------------------------------------------------------------
-bash-3.2$ date Mon Feb 27 12:41:23 EST 2012
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
time is right… did you happen to change the tz offset while FS/Sofia was running? On Feb 27, 2012, at 11:43 AM, Dave Horton wrote:
In the log snippet below, it looks like the FS core has an accurate local time, where the sip stack is logging time incorrectly. Why is this?
6454358312832000172723@10.1.10.101 2012-02-27 12:41:18 436896 [NOTICE] switch_ivr_bridge.c:398 Channel [sofia/internal/anonymous@anonymous.invalid] has been answered recv 567 bytes from udp/[10.1.10.101]:5060 at 17:41:18.455920: ------------------------------------------------------------------------ ACK sip:5753610@10.1.10.1:5060;transport=udp SIP/2.0 Via: SIP/2.0/UDP 10.1.10.101;branch=z9hG4bKac670929105 Max-Forwards: 70 From: "anonymous" <sip:anonymous@anonymous.invalid>;tag=1c645436806 To: <sip:5753610@10.1.10.1>;tag=Q7FpFH5yycF0j Call-ID: 6454358312832000172723@10.1.10.101 CSeq: 1 ACK Contact: <sip:1044@10.1.10.101:5060> Supported: em,timer,replaces,path,resource-priority Allow: REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE,UPDATE User-Agent: Audiocodes-Sip-Gateway-Mediant 1000/v.5.80A.055.002 Content-Length: 0
------------------------------------------------------------------------
-bash-3.2$ date Mon Feb 27 12:41:23 EST 2012
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Brian West
-
Dave Horton
-
Sergey Okhapkin