[Freeswitch-users] strftime(%u)
henkoegema
pabx_freeswitch at telenet.be
Sat Nov 22 02:44:24 PST 2008
strftime(%u) never gives me any output in an application ! While
strftime(%w) does. (output 6 (saterday) )
Is this a bug or could there be any other reason?
Just as a test, I tried:
<action application="record_session"
data="$${base_dir}/recordings/${strftime(%u)}_to_${destination_number}_from_${caller_id_number}.wav"/>
output: _to_2000_from_2003.wav
-------------------------------------------------------------------------------------------------------------------------------------
<action application="record_session"
data="$${base_dir}/recordings/${strftime(%w)}_to_${destination_number}_from_${caller_id_number}.wav"/>
output: 6_to_2000_from_2003.wav
--
View this message in context: http://www.nabble.com/strftime%28-u%29-tp20635116p20635116.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.
More information about the Freeswitch-users
mailing list