[Freeswitch-users] using $${var} and ${var} in javascript

Yungwei Chen yungwei at resolvity.com
Thu May 26 19:51:54 MSD 2011


Hi,

I am wondering if there's a way to use $${base_dir}, ${strftime(%Y-%m-%d-%H-%M-%S), and ${destination_number} in a javascript program. 
For example, new_session.execute("record_session", "$${base_dir}/recordings/archive/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav");
Thanks.



More information about the FreeSWITCH-users mailing list