how to find ring time
Hi, following these instructions my ring time comes out to be 49280130. I'm not sure what kind of number this is. How do I convert this to milliseconds? http://wiki.freeswitch.org/wiki/Cdr How long did the phone ring How long the phone rang is determined either by the hangup_time or the answered_time: if ( answered_time == 0 ) then length_of_phone_ringing = hangup_time - created_time else length_of_phone_ringing = answered_time - created_time end
I usually do (duration - billsec) For more precision, use the millisecond stamps: (mduration-billmsec)/1000 -Avi On Fri, Aug 1, 2014 at 10:40 PM, Andre <andretodd@verizon.net> wrote:
Hi, following these instructions my ring time comes out to be 49280130. I’m not sure what kind of number this is. How do I convert this to milliseconds?
http://wiki.freeswitch.org/wiki/Cdr
*How long did the phone ring*
How long the phone rang is determined either by the *hangup_time* or the *answered_time*:
if ( answered_time == 0 ) then
length_of_phone_ringing = hangup_time - created_time
else
length_of_phone_ringing = answered_time - created_time
end
_________________________________________________________________________ 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 (2)
-
Andre
-
Avi Marcus