Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] FS create directory


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





PostPosted: Mon Sep 14, 2009 9:07 am    Post subject: [Freeswitch-users] FS create directory Reply with quote

Hi,

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

<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





PostPosted: Mon Sep 14, 2009 9:25 am    Post subject: [Freeswitch-users] FS create directory Reply with quote

Hi,

You could use a system call for that:


http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_system


regards,


Leon



On Sep 14, 2009, at 3:58 PM, Tihomir Culjaga wrote:
Quote:
Hi,

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

<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@lists.freeswitch.org (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
brian at freeswitch.org
Guest





PostPosted: Mon Sep 14, 2009 9:28 am    Post subject: [Freeswitch-users] FS create directory Reply with quote

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 Razz

<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





PostPosted: Mon Sep 14, 2009 9:31 am    Post subject: [Freeswitch-users] FS create directory Reply with quote

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:
Quote:
Hi,

You could use a system call for that:


http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_system


regards,


Leon




On Sep 14, 2009, at 3:58 PM, Tihomir Culjaga wrote:



Quote:

Hi,

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

<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@lists.freeswitch.org (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





_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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
zolotov at altron.ua
Guest





PostPosted: Mon Sep 14, 2009 9:48 am    Post subject: [Freeswitch-users] FS create directory Reply with quote

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 Razz<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





PostPosted: Mon Sep 14, 2009 10:12 am    Post subject: [Freeswitch-users] FS create directory Reply with quote

nice ... thx.

T.

On Mon, Sep 14, 2009 at 4:41 PM, Evgeniy Zolotov <zolotov@altron.ua (zolotov@altron.ua)> wrote:
Quote:
This works for me:
 
<action application="mkdir" data="${filebase_dir}"/>
 
You must set ' filebase_dir ' before.
Quote:

----- 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 Razz

<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@lists.freeswitch.org (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



_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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