I'm just getting started with Freeswitch. I edited freeswitch.xml and added one command to set my external IP address as explained in the book. What I can't find is how to cause Freeswitch to rescan that file, or any XML file that gets changed. Do I have to restart the service to do that?
If you're in shell, type fs_cli -x "reloadxml" If you're in FreeSWITCH console, type reloadxml On 01/19/2016 01:50 PM, Steve Matzura wrote:
I'm just getting started with Freeswitch. I edited freeswitch.xml and added one command to set my external IP address as explained in the book. What I can't find is how to cause Freeswitch to rescan that file, or any XML file that gets changed. Do I have to restart the service to do that?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Thank you. Hadn't gotten to that part of the book yet I guess. On Tue, 19 Jan 2016 14:49:19 +0100, you wrote:
If you're in shell, type fs_cli -x "reloadxml" If you're in FreeSWITCH console, type reloadxml
On 01/19/2016 01:50 PM, Steve Matzura wrote:
I'm just getting started with Freeswitch. I edited freeswitch.xml and added one command to set my external IP address as explained in the book. What I can't find is how to cause Freeswitch to rescan that file, or any XML file that gets changed. Do I have to restart the service to do that?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
I'm pretty sure that the external i.p. address goes in vars.xml in the root 'conf' directory. This sets global variables for use by the sip profiles. Also, the sip profile configuration XML files can also specify addresses and ports for more complex setups. For good measure a change like this probably needs FreeSWITCH to be restarted. Hope this helps. --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence
-----Original Message----- From: Steve Matzura Sent: Tuesday, 19 January, 2016 07:51 Subject: [Freeswitch-users] Reloading XML's
I'm just getting started with Freeswitch. I edited freeswitch.xml and added one command to set my external IP address as explained in the book. What I can't find is how to cause Freeswitch to rescan that file, or any XML file that gets changed. Do I have to restart the service to do that?
Oh great. Two different answers--one from you, one from the book: On Tue, 19 Jan 2016 09:34:58 -0500, you wrote:
I'm pretty sure that the external i.p. address goes in vars.xml in the root 'conf' directory. This sets global variables for use by the sip profiles. Also, the sip profile configuration XML files can also specify addresses and ports for more complex setups.
For good measure a change like this probably needs FreeSWITCH to be restarted.
Hope this helps.
--- Bote
FreeSWITCH Docs Janitor http://freeswitch.org/confluence
-----Original Message----- From: Steve Matzura Sent: Tuesday, 19 January, 2016 07:51 Subject: [Freeswitch-users] Reloading XML's
I'm just getting started with Freeswitch. I edited freeswitch.xml and added one command to set my external IP address as explained in the book. What I can't find is how to cause Freeswitch to rescan that file, or any XML file that gets changed. Do I have to restart the service to do that?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Well, the config files don't lie. :-) Try it either way and see which way works best for you. It is definitely within the realm of possibility that I am wrong! --- Bote FreeSWITCH Docs Janitor http://freeswitch.org/confluence
-----Original Message----- From: Steve Matzura Sent: Wednesday, 20 January, 2016 10:46 Subject: Re: [Freeswitch-users] Reloading XML's
Oh great. Two different answers--one from you, one from the book:
On Tue, 19 Jan 2016 09:34:58 -0500, you wrote:
I'm pretty sure that the external i.p. address goes in vars.xml in the root 'conf' directory. This sets global variables for use by the sip profiles. Also, the sip profile configuration XML files can also specify addresses and ports for more complex setups.
For good measure a change like this probably needs FreeSWITCH to be restarted.
Hope this helps.
--- Bote
FreeSWITCH Docs Janitor http://freeswitch.org/confluence
For the profiles, you may need to restart them or unload and load mod_sofia, not a complete restart, but reloading xml does not always take, if its a profile change. Steve Matzura <sm@noisynotes.com> wrote:
Oh great. Two different answers--one from you, one from the book:
On Tue, 19 Jan 2016 09:34:58 -0500, you wrote:
I'm pretty sure that the external i.p. address goes in vars.xml in the root 'conf' directory. This sets global variables for use by the sip profiles. Also, the sip profile configuration XML files can also specify addresses and ports for more complex setups.
For good measure a change like this probably needs FreeSWITCH to be restarted.
Hope this helps.
--- Bote
FreeSWITCH Docs Janitor http://freeswitch.org/confluence
-----Original Message----- From: Steve Matzura Sent: Tuesday, 19 January, 2016 07:51 Subject: [Freeswitch-users] Reloading XML's
I'm just getting started with Freeswitch. I edited freeswitch.xml and added one command to set my external IP address as explained in the book. What I can't find is how to cause Freeswitch to rescan that file, or any XML file that gets changed. Do I have to restart the service to do that?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
participants (4)
-
Bote Man
-
covici@ccs.covici.com
-
Shishko
-
Steve Matzura