[Freeswitch-users] XML CDR end_stamp question

John Nash john.nash778 at gmail.com
Wed Mar 2 07:03:34 MSK 2016


OK as I am using mod XML CDR in cases where there is delay in getting http
200 OK from http link used to post CDR in DB, would it affect
signalling?..like sending SIP 200 OK to the other side?

On Wed, Mar 2, 2016 at 9:12 AM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:

> Its recorded when the session gets the hangup command.
> When the BYE is received or when the BYE is sent depending on direction.
>
> On Tue, Mar 1, 2016 at 9:28 PM, John Nash <john.nash778 at gmail.com> wrote:
>
>> 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
>>>
>>
>>
>> _________________________________________________________________________
>> 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
>>
>
>
>
> --
> Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬
>
>http://freeswitch.org/http://cluecon.com/> http://twitter.com/FreeSWITCH
> ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
> <http://freeswitch.org/g+>*
>
> ClueCon Weekly Development Call
> ☎ sip:888 at conference.freeswitch.org  ☎ +19193869900
>
> https://www.youtube.com/watch?v=9XXgW34t40s
> https://www.youtube.com/watch?v=NLaDpGQuZDA
>
> _________________________________________________________________________
> 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/1da433db/attachment.html 


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