<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 08.00.0681.000">
<TITLE>Freeswitch seems to be giving conflicting timestamps - what's the deal here?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">Looking into an intermittent problem</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">that</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">we</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">’</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">re having with one of our DIDs, I just noticed</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">that some of the</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">logged</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">timestamps don</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">’</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">t</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">seem to make sense, it</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">’</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">s like there are two different clocks at work here.</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> </FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">What</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">’</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">s interesting is that</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">I</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">’</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">m seeing this wrong time in</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">received</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">contact header info as well</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> but</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> I</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">’</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">m guessing that</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">’</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">s coming</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">back to us</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">from our</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">own NTP timestamp in the SDP we send back to them</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> after the initial invite</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">.</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> The system time is set correctly.</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">Here is a short excerpt of</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">the console log with</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"></FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">siptrace enabled on the external profile</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"></FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">demonstrating</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"></FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">this behavior</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">:</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">recv 939 bytes from udp/[209.216.2.202]:5060 at</FONT></SPAN><SPAN LANG="en-us"> <FONT COLOR="#00B050" FACE="Calibri">16:10:58.987966</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">:</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> ------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> INVITE sip:1410</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">xxx</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">7612@173.59.</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">xxx.xxx</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">:5080;transport=udp SIP/2.0</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> Via: SIP/2.0/UDP 209.216.2.202:5060;branch=z9hG4bK68239f89;rport</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> From: "+1410</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">xxx</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">3048" <sip:+1410</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">xxx</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">3048@209.216.2.202>;tag=as0e92c0c82014-06-17</FONT></SPAN><SPAN LANG="en-us"> <FONT COLOR="#FF0000" FACE="Calibri">12:07:58.767052</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> [DEBUG] switch_core_session.c:1034 Send signal sofia/external/+1410</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">xxx</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">3048@209.216.2.202 [BREAK]</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> To: <sip:1</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">410xxx7612</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">@</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">voip.ourdomain.</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">com:5080>;tag=Hj722eXX0yj8S</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> Contact: <sip:+1</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">410xxx3048</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">@209.216.2.202>2014-06-17</FONT></SPAN><SPAN LANG="en-us"> <FONT COLOR="#FF0000" FACE="Calibri">12:07:58.767052</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> [DEBUG] switch_core_session.c:1034 Send signal sofia/external/+1</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">410xxx3048</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">@209.216.2.202 [BREAK]</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> Call-ID: 63cd75ae5caa77be67d5a6944e86f5fe@209.216.2.202</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> CSeq: 103 INVITE</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> User-Agent: DidForSale-GW</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> Max-Forwards: 70</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> Remote-Party-ID: "+1</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">410xxx3048</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">" <sip:+1</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">410xxx3048</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">@209.216.2.202>;privacy=off;screen=no</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> Content-Type: application/sdp</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> Content-Length: 289</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> v=0</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> o=root 2802 2803 IN IP4 207.223.69.137</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> s=session</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> c=IN IP4 207.223.69.137</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> t=0 0</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> m=audio 51480 RTP/AVP 0 8 18 101</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> a=rtpmap:0 PCMU/8000</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> a=rtpmap:8 PCMA/8000</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> a=rtpmap:18 G729/8000</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> a=fmtp:18 annexb=no</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> a=rtpmap:101 telephone-event/8000</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> a=fmtp:101 0-16</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> a=silenceSupp:off - - - -</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> ------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">send 405 bytes to udp/[209.216.2.202]:5060 at</FONT></SPAN><SPAN LANG="en-us"> <FONT COLOR="#00B050" FACE="Calibri">16:10:58.988281</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">:</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> ------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> SIP/2.0 100 Trying</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> Via: SIP/2.0/UDP 209.216.2.202:5060;branch=z9hG4bK68239f89;rport=5060</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> From: "+1</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">410xxx3048</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">" <sip:+1</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">410xxx3048</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">@209.216.2.202>;tag=as0e92c0c8</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> To: <sip:1</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">410xxx7612</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">@</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">voip.ourdomain.</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">com:5080>;tag=Hj722eXX0yj8S</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> Call-ID: 63cd75ae5caa77be67d5a6944e86f5fe@209.216.2.202</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> CSeq: 103 INVITE</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> User-Agent: FreeSWITCH-mod_sofia/1.5.6b+git~20131022T212715Z~20a55d3cc6</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> Content-Length: 0</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> ------------------------------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">2014-06-17</FONT></SPAN><SPAN LANG="en-us"> <FONT COLOR="#FF0000" FACE="Calibri">12:07:58.787035</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> [DEBUG] sofia.c:5863 Channel sofia/external/+1</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">410xxx3048</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">@209.216.2.202 entering state [ready][200]</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">2014-06-17 12:07:58.787035 [DEBUG] sofia.c:5863 Channel sofia/external/+1</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">410xxx3048</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">@209.216.2.202 entering state [received][100]</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">2014-06-17 12:07:58.787035 [DEBUG] sofia.c:5873 Remote SDP:</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">v=0</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">o=root 2802 2803 IN IP4 207.223.69.137</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">s=session</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">c=IN IP4 207.223.69.137</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">t=0 0</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">m=audio 51480 RTP/AVP 0 8 18 101</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">a=rtpmap:0 PCMU/8000</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">a=rtpmap:8 PCMA/8000</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">a=rtpmap:18 G729/8000</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">a=fmtp:18 annexb=no</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">a=rtpmap:101 telephone-event/8000</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">a=fmtp:101 0-16</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">a=silenceSupp:off - - - -</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">2014-06-17</FONT></SPAN><SPAN LANG="en-us"> <FONT COLOR="#FF0000" FACE="Calibri">12:07:58.787035</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> [DEBUG] switch_core_media.c:2990 Audio Codec Compare [PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">2014-06-17 12:07:58.787035 [DEBUG] switch_core_media.c:1879 Already using PCMU</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">2014-06-17 12:07:58.787035 [DEBUG] switch_core_media.c:3161 Set 2833 dtmf send/recv payload to 101</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">Is this expected behavior</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> or is this a bug in the version we</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">’</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">re using</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">?</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">Thanks.</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><I></I></SPAN><SPAN LANG="en-us"><I></I></SPAN><I><SPAN LANG="en-us"></SPAN></I><I><SPAN LANG="en-us"><FONT FACE="Times New Roman">Phil Quesinberry</FONT></SPAN></I><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">Q Systems Engineering, Inc.</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">Embedded Hardware</FONT></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial"> and</FONT></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"> <FONT SIZE=2 FACE="Arial">Software Development</FONT></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">(410) 969-8002</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN><A HREF="http://www.qsystemsengineering.com/"><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"><U></U></SPAN><U><SPAN LANG="en-us"></SPAN></U><U><SPAN LANG="en-us"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://www.qsystemsengineering.com</FONT></SPAN></U><SPAN LANG="en-us"></SPAN></A><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN></P>
</BODY>
</HTML>