[Freeswitch-users] More info about invalid xml configuration file.
ap at gen-ip.fr
Mon May 21 12:37:09 UTC 2018
You can find more informations here :
Le 21/05/2018 à 11:11, Petr Both a écrit :
> Hi Alexis,
> Thank you very much, this is very useful info.
> If I understand correctly the whole FS configuration is during
> reloadxml "copied" to freeswitch.xml.fsxml and then it is evaluated
> and if necessary the error report is generated to CLI. Related line
> value is reported in this message and is related to freeswitch.xml.fsxml.
> Petr B.
> Dne 18.05.2018 v 20:20 Alexis napsal(a):
>> You can find the complete generated XML file in
>> /var/log/freeswitch/freeswitch.xml.fsxml. Your error says the error
>> is near line 7707 of this file. Be careful: you can open this file
>> but DO NOT try to edit it :)
>> If you open this file with an editor that support xml syntax
>> coloration (vim/sublime text), then that's quite easy to find where
>> error is.
>> Le 17/05/2018 à 10:48, Petr Both a écrit :
>>> Hello FS community,
>>> I'm completely new in FreeSWITCH (working now with open source
>>> version 1.6). I'm searching for answers in documentation but in some
>>> cases it is too large to find quickly what I need.
>>> I have added into etc/freeswitch/dialplan/default.xml configuration
>>> then new element <extension ...> intentionally without closing
>>> </extension> at the end. Doing reloadxml command in fs_cli I can see
>>> freeswitch at debianfs> reloadxml
>>> +OK [[error near line 7707]: unexpected closing tag </context>]
>>> Please, is there any way to get more info about such error? Mainly
>>> I'm interesting which configuration file is invalid. Are there any
>>> logs with more detailed info about trouble?
>>> Thank you in advance for any answer.
>>> Petr B.
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> Official FreeSWITCH Sites
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users