[Freeswitch-users] FS create directory

Evgeniy Zolotov zolotov at altron.ua
Mon Sep 14 07:41:49 PDT 2009


This works for me:

<action application="mkdir" data="${filebase_dir}"/>

You must set ' filebase_dir ' before.
  ----- Original Message ----- 
  From: Tihomir Culjaga 
  To: freeswitch-users at lists.freeswitch.org 
  Sent: Monday, September 14, 2009 4:58 PM
  Subject: [Freeswitch-users] FS create directory


  Hi,

  i just have a maybe dummy question but .... it is still a question :P

  <action application="record" data="${recordpath}/${service_instance}/${record_filename} 20 200"/>

  in my case ${service_instance} is something dynamic and has to be created on the fly.

  Is there any way FS can create a directory prior to dump the file there?


  Tihomir.



------------------------------------------------------------------------------


  _______________________________________________
  FreeSWITCH-users mailing list
  FreeSWITCH-users at lists.freeswitch.org
  http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
  UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
  http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090914/7f7fd1e1/attachment-0002.html 


More information about the FreeSWITCH-users mailing list