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

Garrett Allen garrett.allen at teotech.com
Fri May 18 15:39:11 UTC 2018


Hi Petr,

You must close all tags or you are not generating valid XML. This error is telling you it didn’t expect to see the </context> before the </extension> you left out. The XML dial plan guide is your friend. https://freeswitch.org/confluence/display/FREESWITCH/XML+Dialplan

From: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Petr Both
Sent: Thursday, May 17, 2018 01:48
To: freeswitch-users at lists.freeswitch.org
Subject: [Freeswitch-users] More info about invalid xml configuration file.

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180518/e9c008b4/attachment-0001.html>


More information about the FreeSWITCH-users mailing list