Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] XML CDR end_stamp question


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
john.nash778 at gmail.com
Guest





PostPosted: Tue Mar 01, 2016 4:17 am    Post subject: [Freeswitch-users] XML CDR end_stamp question Reply with quote

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?
Back to top
msc at freeswitch.org
Guest





PostPosted: Tue Mar 01, 2016 5:49 pm    Post subject: [Freeswitch-users] XML CDR end_stamp question Reply with quote

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@gmail.com (john.nash778@gmail.com)> wrote:
Quote:
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@freeswitch.org (consulting@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@lists.freeswitch.org (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
Back to top
john.nash778 at gmail.com
Guest





PostPosted: Tue Mar 01, 2016 10:30 pm    Post subject: [Freeswitch-users] XML CDR end_stamp question Reply with quote

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@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:
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@gmail.com (john.nash778@gmail.com)> wrote:


Quote:
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@freeswitch.org (consulting@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@lists.freeswitch.org (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




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@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@lists.freeswitch.org (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
Back to top
anthony.minessale at g...
Guest





PostPosted: Tue Mar 01, 2016 10:44 pm    Post subject: [Freeswitch-users] XML CDR end_stamp question Reply with quote

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@gmail.com (john.nash778@gmail.com)> wrote:
Quote:
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@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:
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@gmail.com (john.nash778@gmail.com)> wrote:


Quote:
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@freeswitch.org (consulting@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@lists.freeswitch.org (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




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@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@lists.freeswitch.org (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






_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@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@lists.freeswitch.org (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




--
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬
http://freeswitch.org/  ☞ http://cluecon.com/  ☞ http://twitter.com/FreeSWITCH
irc.freenode.net #freeswitch ☞ http://freeswitch.org/g+


ClueCon Weekly Development Call 

☎ sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])  ☎ +19193869900 




https://www.youtube.com/watch?v=9XXgW34t40s
https://www.youtube.com/watch?v=NLaDpGQuZDA
Back to top
john.nash778 at gmail.com
Guest





PostPosted: Tue Mar 01, 2016 11:05 pm    Post subject: [Freeswitch-users] XML CDR end_stamp question Reply with quote

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@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
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@gmail.com (john.nash778@gmail.com)> wrote:
Quote:
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@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:
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@gmail.com (john.nash778@gmail.com)> wrote:


Quote:
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@freeswitch.org (consulting@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@lists.freeswitch.org (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




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@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@lists.freeswitch.org (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






_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@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@lists.freeswitch.org (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






--
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬
http://freeswitch.org/  ☞ http://cluecon.com/  ☞ http://twitter.com/FreeSWITCH
irc.freenode.net #freeswitch ☞ http://freeswitch.org/g+


ClueCon Weekly Development Call 

☎ sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])  ☎ [url=tel:%2B19193869900]+19193869900[/url] 




https://www.youtube.com/watch?v=9XXgW34t40s
https://www.youtube.com/watch?v=NLaDpGQuZDA









_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@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@lists.freeswitch.org (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
Back to top
anthony.minessale at g...
Guest





PostPosted: Tue Mar 01, 2016 11:43 pm    Post subject: [Freeswitch-users] XML CDR end_stamp question Reply with quote

It should not but if you push the server past its capability there could be a lag from when FS sends the bye and the sip stack actually gets around to doing it because messages are queued.Always make sure to have a nice enough box for the load expected.




On Tue, Mar 1, 2016 at 10:03 PM, John Nash <john.nash778@gmail.com (john.nash778@gmail.com)> wrote:
Quote:
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@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
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@gmail.com (john.nash778@gmail.com)> wrote:
Quote:
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@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:
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@gmail.com (john.nash778@gmail.com)> wrote:


Quote:
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@freeswitch.org (consulting@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@lists.freeswitch.org (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




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@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@lists.freeswitch.org (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






_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@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@lists.freeswitch.org (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






--
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬
http://freeswitch.org/  ☞ http://cluecon.com/  ☞ http://twitter.com/FreeSWITCH
irc.freenode.net #freeswitch ☞ http://freeswitch.org/g+


ClueCon Weekly Development Call 

☎ sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])  ☎ [url=tel:%2B19193869900]+19193869900[/url] 




https://www.youtube.com/watch?v=9XXgW34t40s
https://www.youtube.com/watch?v=NLaDpGQuZDA









_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@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@lists.freeswitch.org (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






_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@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@lists.freeswitch.org (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




--
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬
http://freeswitch.org/  ☞ http://cluecon.com/  ☞ http://twitter.com/FreeSWITCH
irc.freenode.net #freeswitch ☞ http://freeswitch.org/g+


ClueCon Weekly Development Call 

☎ sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])  ☎ +19193869900 




https://www.youtube.com/watch?v=9XXgW34t40s
https://www.youtube.com/watch?v=NLaDpGQuZDA
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services