[Freeswitch-users] More info about invalid xml configuration file.

Petr Both both at antek.it
Mon May 21 09:11:51 UTC 2018


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.

Regards
Petr B.

Dne 18.05.2018 v 20:20 Alexis napsal(a):
>
> Hi,
>
> 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.
>
> Alexis
> 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.
>>
>> Regards
>> Petr B.
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180521/d2a70f5f/attachment.html>


More information about the FreeSWITCH-users mailing list