Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] strftime(%u)


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
pabx_freeswitch at tel...
Guest





PostPosted: Sat Nov 22, 2008 5:46 am    Post subject: [Freeswitch-users] strftime(%u) Reply with quote

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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services