Hi, Can we provide the switch.conf through xml_curl. I see freeswitch not requesting the switch.conf? I would like to eliminate all the .conf files except the xml_curl.conf. Does this possible? Which .conf files cannot use through the xml_curl? Thanks Lloyd
switch.conf.xml is read before modules (including mod_xml_curl) are loaded. Sent from my iPad On 29 Dec 2012, at 16:58, Lloyd Aloysius <lloyd.aloysius@gmail.com> wrote:
Hi,
Can we provide the switch.conf through xml_curl. I see freeswitch not requesting the switch.conf?
I would like to eliminate all the .conf files except the xml_curl.conf. Does this possible? Which .conf files cannot use through the xml_curl?
Thanks Lloyd
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list 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
Yes you can send back switch.conf, but you need to do it via post_load. Take a look at "post_load configuration" under; http://wiki.freeswitch.org/wiki/Mod_xml_curl Although it does seem to take note of the variables sent back, I'm not 100% if all of them are applied in post_load (i.e. there may be some that don't get applied via this method). You'll have to use some trial and error to see (update the docs if there is anything specific that doesn't get applied using post_load). Let me know if this doesn't make any sense Cal On Sat, Dec 29, 2012 at 4:58 PM, Lloyd Aloysius <lloyd.aloysius@gmail.com>wrote:
Hi,
Can we provide the switch.conf through xml_curl. I see freeswitch not requesting the switch.conf?
I would like to eliminate all the .conf files except the xml_curl.conf. Does this possible? Which .conf files cannot use through the xml_curl?
Thanks Lloyd
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list 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 start without a switch.conf - by default without switch.conf,use the sqlite database for core -we can provide the switch.conf parameters and values through xml_curl. using the post_load_switch.conf -there is no way to provide the core-db-dsn through the post_load_switch.conf -so i have now only one line in my switch.conf that is <param name="core-db-dsn" value="dsn:user:password" /> On Sat, Dec 29, 2012 at 1:03 PM, Cal Leeming [Simplicity Media Ltd] < cal.leeming@simplicitymedialtd.co.uk> wrote:
Yes you can send back switch.conf, but you need to do it via post_load.
Take a look at "post_load configuration" under; http://wiki.freeswitch.org/wiki/Mod_xml_curl
Although it does seem to take note of the variables sent back, I'm not 100% if all of them are applied in post_load (i.e. there may be some that don't get applied via this method).
You'll have to use some trial and error to see (update the docs if there is anything specific that doesn't get applied using post_load).
Let me know if this doesn't make any sense
Cal
On Sat, Dec 29, 2012 at 4:58 PM, Lloyd Aloysius <lloyd.aloysius@gmail.com>wrote:
Hi,
Can we provide the switch.conf through xml_curl. I see freeswitch not requesting the switch.conf?
I would like to eliminate all the .conf files except the xml_curl.conf. Does this possible? Which .conf files cannot use through the xml_curl?
Thanks Lloyd
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list 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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list 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
This may help someone in future. I completely switch everything using xml_curl But we need to the following 3 files in the /usr/local/freeswitch/conf/autoload_configs 1. *modules.conf.xml* - only one module need to be there. Other modules can be load using post_load_modules_conf request <load module="mod_xml_curl"/> 2.*switch.conf* - only one line need to be there. Other configuration load thorugh the post_load_switch_conf request <param name="core-db-dsn" value="dsn:user:password" /> 3. *xml_curl.con.**xm*l * * On Sat, Dec 29, 2012 at 4:17 PM, Lloyd Aloysius <lloyd.aloysius@gmail.com>wrote:
- freeswitch start without a switch.conf - by default without switch.conf,use the sqlite database for core
-we can provide the switch.conf parameters and values through xml_curl. using the post_load_switch.conf -there is no way to provide the core-db-dsn through the post_load_switch.conf -so i have now only one line in my switch.conf that is <param name="core-db-dsn" value="dsn:user:password" />
On Sat, Dec 29, 2012 at 1:03 PM, Cal Leeming [Simplicity Media Ltd] < cal.leeming@simplicitymedialtd.co.uk> wrote:
Yes you can send back switch.conf, but you need to do it via post_load.
Take a look at "post_load configuration" under; http://wiki.freeswitch.org/wiki/Mod_xml_curl
Although it does seem to take note of the variables sent back, I'm not 100% if all of them are applied in post_load (i.e. there may be some that don't get applied via this method).
You'll have to use some trial and error to see (update the docs if there is anything specific that doesn't get applied using post_load).
Let me know if this doesn't make any sense
Cal
On Sat, Dec 29, 2012 at 4:58 PM, Lloyd Aloysius <lloyd.aloysius@gmail.com
wrote:
Hi,
Can we provide the switch.conf through xml_curl. I see freeswitch not requesting the switch.conf?
I would like to eliminate all the .conf files except the xml_curl.conf. Does this possible? Which .conf files cannot use through the xml_curl?
Thanks Lloyd
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list 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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list 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
participants (3)
-
Cal Leeming [Simplicity Media Ltd]
-
Lloyd Aloysius
-
Steven Ayre