[Freeswitch-users] [Mod CDR CSV] Adding Timestamp into the CDR

Massimo Varriale mvar78 at gmail.com
Wed Dec 24 12:33:28 MSK 2014


HI Matt!
Thank you so much for your solution!
I will work on strftime because it's really more similar to the write time of the CDR, and also I already have the field end_stamp.

Thank you again and as Christmas is approaching....Merry Christmas to you (and to the User List too!)

Cheers
Max




Il giorno 23/dic/2014, alle ore 21:06, Matt Williams ha scritto:

> ${end_stamp} of the call should be pretty close to the write time unless you are holding the call open for some reason. ${strftime()} should give you what you need.
> 
> 
> 
> Thank You,
> Matthew Williams
> IKN Network Operations
> 
> 
> On Mon, Dec 22, 2014 at 3:41 AM, Massimo Varriale <mvar78 at gmail.com> wrote:
> Hi Guys,
> I would like to write a field into the CSV with the timestamp of the CDR so I can know the writetime.
> The timestamp should be in this format "2014-12-22 10:32".
> Is this possible?
> I digged the wiki but I didn't found any clue regarding this.
> 
> Thank you
> Max
> 
> 
> 
> _________________________________________________________________________
> 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/20141224/945f5a3b/attachment-0001.html 


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