[Freeswitch-dev] Feature Request: Execute an executable to get configuration / dialplan

Alexander Haugg Alexander.Haugg at c4b.de
Mon Mar 11 16:08:03 MSK 2013


It is not the same. The cmd=exec store the return value in a file, my solution example have the dialplan only temporarily and it works on Windows (not tested on linux but the adaptings for linux are tiny)  (at the moment not forked).

You can do a look in my patches.

Von: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] Im Auftrag von Michael Jerris
Gesendet: Montag, 11. März 2013 13:17
An: freeswitch-dev at lists.freeswitch.org
Betreff: Re: [Freeswitch-dev] Feature Request: Execute an executable to get configuration / dialplan

is this different than:
http://wiki.freeswitch.org/wiki/Getting_Started_Guide#Preprocessor_Commands

§  exec - Execute a shell command

<X-PRE-PROCESS cmd="exec" data="echo XML config loaded at `date` >> /var/log/fs_config.log"/>

On Mar 11, 2013, at 3:05 AM, Alexander Haugg <Alexander.Haugg at c4b.de<mailto:Alexander.Haugg at c4b.de>> wrote:


Hi all,

last week i have written and tested a new feature to get the xml config / dialplan from an executable.
At the first i use it only for the dialplan but i think it could be a general feature.

Is the Jira system the right place to post my patches and description for this as "New Feature"?

Why this feature request?
I had a look on the mod_xml_curl but this was not exat this what i need, i need a tool that make it possible to have the config only virtual and don't need a http deamon.

What do you think for this?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130311/f288e2a0/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: src_mod_dialplans_mod_dialplan_xml_mod_dialplan_xml_c.patch
Type: application/octet-stream
Size: 3385 bytes
Desc: src_mod_dialplans_mod_dialplan_xml_mod_dialplan_xml_c.patch
Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130311/f288e2a0/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: src_switch_xml_c_h.patch
Type: application/octet-stream
Size: 2685 bytes
Desc: src_switch_xml_c_h.patch
Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130311/f288e2a0/attachment-0003.obj 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev mailing list