View previous topic :: View next topic |
Author |
Message |
tculjaga at gmail.com Guest
|
Posted: Mon Sep 14, 2009 9:07 am Post subject: [Freeswitch-users] FS create directory |
|
|
Hi,
i just have a maybe dummy question but .... it is still a question
<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. |
|
Back to top |
|
|
leon at scarlet-intern... Guest
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Mon Sep 14, 2009 9:28 am Post subject: [Freeswitch-users] FS create directory |
|
|
Run system(); from the dialplan...
/b
On Sep 14, 2009, at 8:58 AM, Tihomir Culjaga wrote:
Quote: | Hi,
i just have a maybe dummy question but .... it is still a question
<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?
|
|
|
Back to top |
|
|
tculjaga at gmail.com Guest
|
Posted: Mon Sep 14, 2009 9:31 am Post subject: [Freeswitch-users] FS create directory |
|
|
yep,
just sow it in the meantime... thanks.
btw: can i use mod_shout to stream files to a server..
e.g. <action application="record" data="shout://[url=http://server.domain.com/${recordpath}/${service_instance}/${record_filename}]server.domain.com/${recordpath}/${service_instance}/${record_filename}[/url] 20 200"/>
can it work?
T.
On Mon, Sep 14, 2009 at 4:15 PM, Leon de Rooij <leon@scarlet-internet.nl (leon@scarlet-internet.nl)> wrote:
|
|
Back to top |
|
|
zolotov at altron.ua Guest
|
Posted: Mon Sep 14, 2009 9:48 am Post subject: [Freeswitch-users] FS create directory |
|
|
This works for me: <action application="mkdir" data="${filebase_dir}"/> You must set ' filebase_dir ' before. ----- Original Message ----- From: Tihomir Culjaga (tculjaga@gmail.com) To: freeswitch-users@lists.freeswitch.org (freeswitch-users@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 <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 listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org |
|
Back to top |
|
|
tculjaga at gmail.com Guest
|
Posted: Mon Sep 14, 2009 10:12 am Post subject: [Freeswitch-users] FS create directory |
|
|
nice ... thx.
T.
On Mon, Sep 14, 2009 at 4:41 PM, Evgeniy Zolotov <zolotov@altron.ua (zolotov@altron.ua)> wrote:
|
|
Back to top |
|
|
|