[Freeswitch-users] how to find ring time

Andre andretodd at verizon.net
Fri Aug 1 23:40:33 MSD 2014


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

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140801/b61041c1/attachment.html 


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