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.


_______________________________________________
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

Reply via email to