[Freeswitch-users] XML CDR end_stamp question

John Nash john.nash778 at gmail.com
Wed Mar 2 06:28:58 MSK 2016


Most of the time its negligible (.001 seconds) but in some cases it is upto
200 ms

The reason I want to investigate timestamp is because in some calls I see a
1 second difference between carrier billing and my system. I am storing
answer_stamp (in milliseconds), end_stamp(in milliseconds) and billmsec. I
do not see why this difference should happen unless following cases..
1- Answer stamp recording in freeswitch happens after ACK for 200 OK is
received while the carrier (Genband Switch) may be storing timestamp the
moment 200 OK is received regardless of ACK
2- End stamp in freeswitch happens the moment BYE is received while carrier
records when 200 OK to BYE is received.

JFYI: At the moment I do not have sip_wait_for_aleg_ack enabled





On Wed, Mar 2, 2016 at 4:17 AM, Michael Collins <msc at freeswitch.org> wrote:

> Just curious - in your environment what kind of delta to you see between
> sending a BYE and receiving the corresponding 200 OK?
>
> On Tue, Mar 1, 2016 at 1:15 AM, John Nash <john.nash778 at gmail.com> wrote:
>
>> end_stamp stores the timestamp when call is disconnected. My question is
>> does it store timestamp when "BYE" received from either of end point or
>> when we receive 200 OK of BYE?
>>
>> Is there any setting to control this?
>>
>> Same way does sip_wait_for_aleg_ack affect answer_stamp in any way?
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.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
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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/20160302/87935565/attachment.html 


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