Difference between revisions of "Apply Settings"
m |
m |
||
Line 3: | Line 3: | ||
This [http://wiki.freeswitch.org/wiki/FreeSwitch_FAQ#Q:_Does_reloadxml_reload_all_XML_files.3F '''tries'''] to apply any config changes you have made from FusionPBX to your running Freeswitch server. | This [http://wiki.freeswitch.org/wiki/FreeSwitch_FAQ#Q:_Does_reloadxml_reload_all_XML_files.3F '''tries'''] to apply any config changes you have made from FusionPBX to your running Freeswitch server. | ||
− | When you apply the settings you may see an error on the status page. For example: '+OK [[error near line 4968]: unclosed' or 'Cannot Initialize [[error near line 1159]: unexpected <]'. To locate this error use an editor such as nano to look at freeswitch/log/freeswitchxml.fsxml - this file is generated by freeswitch when it is processing all the XML files in the freeswitch/conf directory structure. In nano CTRL-_ will allow you to enter the line number from the error message. When you have seen the line in that file you can then go back and look for the corresponding line in one of the XML files in the entire freeswitch/conf directory structure and fix the problem there. Note that the error might not be on that line - in these two example messages it says that the problem is near that line - hunt around and try to spot the error | + | When you apply the settings you may see an error on the status page. For example: '+OK [[error near line 4968]: unclosed' or 'Cannot Initialize [[error near line 1159]: unexpected <]'. This means that something you changed prior to applying the settings has caused a syntax error in the XML. A good hint would be to look at what you last changed - that is probably when you caused the problem. To locate this error use an editor such as nano to look at freeswitch/log/freeswitchxml.fsxml - this file is generated by freeswitch when it is processing all the XML files in the freeswitch/conf directory structure. In nano CTRL-_ will allow you to enter the line number from the error message. When you have seen the line in that file you can then go back and look for the corresponding line in one of the XML files in the entire freeswitch/conf directory structure and fix the problem there. Note that the error might not be on that line - in these two example messages it says that the problem is near that line - hunt around and try to spot the error. |
Right now it does only a [http://wiki.freeswitch.org/wiki/Mod_commands#reloadxml '''reloadxml'''] | Right now it does only a [http://wiki.freeswitch.org/wiki/Mod_commands#reloadxml '''reloadxml'''] |
Revision as of 07:20, 16 November 2010
Menu: (System-Apply Settings)
This tries to apply any config changes you have made from FusionPBX to your running Freeswitch server.
When you apply the settings you may see an error on the status page. For example: '+OK [[error near line 4968]: unclosed' or 'Cannot Initialize [[error near line 1159]: unexpected <]'. This means that something you changed prior to applying the settings has caused a syntax error in the XML. A good hint would be to look at what you last changed - that is probably when you caused the problem. To locate this error use an editor such as nano to look at freeswitch/log/freeswitchxml.fsxml - this file is generated by freeswitch when it is processing all the XML files in the freeswitch/conf directory structure. In nano CTRL-_ will allow you to enter the line number from the error message. When you have seen the line in that file you can then go back and look for the corresponding line in one of the XML files in the entire freeswitch/conf directory structure and fix the problem there. Note that the error might not be on that line - in these two example messages it says that the problem is near that line - hunt around and try to spot the error.
Right now it does only a reloadxml