Hi guys! Is there any way to reload vars.xml? -- Víctor E. Medina M. Software [image: Zoiper Click2Dial]+58424 291 4561 <zoiper://+584242914561>[image: ve] BB #79A8AFA2 /@VMCibersys
Ciao Victor, To expand on what Mike wrote, while is technically true that vars.xml is reloaded by reloadxml, that vars.xml file contains a lot of pre-processed variables that are not reloaded when you reloadxml. All the lines in vars.xml where you see PREPROCESS are *not* reloaded. You must restart FreeSWITCH to change the PREPROCESSed variables. -giovanni On Thu, Mar 19, 2015 at 2:56 PM, Michael Jerris <mike@jerris.com> wrote:
reloadxml command will do that. Now, where those vars are used, that is a different question altogether.
On Mar 19, 2015, at 9:47 AM, Victor Medina <victor.medina@cibersys.com> wrote:
Hi guys!
Is there any way to reload vars.xml?
_________________________________________________________________________ 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
-- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
(btw, even if you reloaded non preprocessed variables in memory, you may need to tell the single modules to update their configuration. A #fscli> reload modulename will do. There are less disruptive ways to update config in certain modules, notably sofia. Check their documentation) On Thu, Mar 19, 2015 at 3:07 PM, Giovanni Maruzzelli <gmaruzz@gmail.com> wrote:
Ciao Victor,
To expand on what Mike wrote, while is technically true that vars.xml is reloaded by reloadxml, that vars.xml file contains a lot of pre-processed variables that are not reloaded when you reloadxml. All the lines in vars.xml where you see PREPROCESS are *not* reloaded. You must restart FreeSWITCH to change the PREPROCESSed variables.
-giovanni
On Thu, Mar 19, 2015 at 2:56 PM, Michael Jerris <mike@jerris.com> wrote:
reloadxml command will do that. Now, where those vars are used, that is a different question altogether.
On Mar 19, 2015, at 9:47 AM, Victor Medina <victor.medina@cibersys.com> wrote:
Hi guys!
Is there any way to reload vars.xml?
_________________________________________________________________________ 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
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
-- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
OK! I got it... =) Restart freeswitch Thanks Giovanni and Michael. 2015-03-19 9:37 GMT-04:30 Giovanni Maruzzelli <gmaruzz@gmail.com>:
Ciao Victor,
To expand on what Mike wrote, while is technically true that vars.xml is reloaded by reloadxml, that vars.xml file contains a lot of pre-processed variables that are not reloaded when you reloadxml. All the lines in vars.xml where you see PREPROCESS are *not* reloaded. You must restart FreeSWITCH to change the PREPROCESSed variables.
-giovanni
On Thu, Mar 19, 2015 at 2:56 PM, Michael Jerris <mike@jerris.com> wrote:
reloadxml command will do that. Now, where those vars are used, that is a different question altogether.
On Mar 19, 2015, at 9:47 AM, Victor Medina <victor.medina@cibersys.com> wrote:
Hi guys!
Is there any way to reload vars.xml?
_________________________________________________________________________ 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
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_________________________________________________________________________ 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
-- Víctor E. Medina M. Software [image: Zoiper Click2Dial]+58424 291 4561 <zoiper://+584242914561>[image: ve] BB #79A8AFA2 /@VMCibersys
so... I better do a sofia channel reload and a roloadxml reload, right? 2015-03-19 9:26 GMT-04:30 Michael Jerris <mike@jerris.com>:
reloadxml command will do that. Now, where those vars are used, that is a different question altogether.
On Mar 19, 2015, at 9:47 AM, Victor Medina <victor.medina@cibersys.com> wrote:
Hi guys!
Is there any way to reload vars.xml?
_________________________________________________________________________ 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
-- Víctor E. Medina M. Software [image: Zoiper Click2Dial]+58424 291 4561 <zoiper://+584242914561>[image: ve] BB #79A8AFA2 /@VMCibersys
On Thu, Mar 19, 2015 at 3:11 PM, Victor Medina <victor.medina@cibersys.com> wrote:
so... I better do a sofia channel reload and a roloadxml reload, right?
it depends on what you changed...
2015-03-19 9:26 GMT-04:30 Michael Jerris <mike@jerris.com>:
reloadxml command will do that. Now, where those vars are used, that is a different question altogether.
On Mar 19, 2015, at 9:47 AM, Victor Medina <victor.medina@cibersys.com> wrote:
Hi guys!
Is there any way to reload vars.xml?
_________________________________________________________________________ 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
--
Víctor E. Medina M. Software [image: Zoiper Click2Dial]+58424 291 4561[image: ve] BB #79A8AFA2 /@VMCibersys
_________________________________________________________________________ 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
-- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
participants (3)
-
Giovanni Maruzzelli
-
Michael Jerris
-
Victor Medina