If you don't get an output on :
msgtime=msg_${strftime(%**Y_%m_%d_%H_%M_%S)}_${mailbox}.**alaw
${strftime(%**Y_%m_%d_%H_%M_%S)} I think the function strftime don't like the "_" Captures all the fields of the strftime separately and then concatenate into your required format formt he temporary variables. i.e year=${strftime(%**Y)} month=${strftime(%**M)} day=${strftime(%d)} and then string= ${year}_${month}_${day} On Tue, Jul 31, 2012 at 2:37 PM, Thomas Hoellriegel <admin@blindi.net>wrote:
Hi SamyGo
1st Argument: $${dorf_mailbox_prefix}/${****mailbox_to}/greeting.alaw
2nd Argument: ${mailbox} 3rd Argument: ${msgtime}
Can you verify that the ${msgtime} is properly calculated and is not NULL at the taime of execution of application=lua ?
I like to save a message in the timestamp format: for example: msg_2012_31_07_15_32_31.alaw I read the current date and time from: ${msgtime} But i have no output. What is wrong please?
thanks.
--------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/**listinfo/blinde-misc<http://www.blindi.net/mailman/listinfo/blinde-misc>
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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