[Freeswitch-users] debugging config errors

Rick Jarvis rick at magicmail.mooo.com
Wed Mar 1 23:06:35 MSK 2017


But shouldn’t line 7391 have the unexpected closing tag that it mentions? I found it in the end, and it wasn’t line 7391!

> On 1 Mar 2017, at 16:08, Michael Jerris <mike at jerris.com> wrote:
> 
> missing closing tag is hard for this parser to find, so it will usually say at the end.  you are looking for a condition with no closing tag.
> 
>> On Mar 1, 2017, at 8:51 AM, Rick Jarvis <rick at magicmail.mooo.com <mailto:rick at magicmail.mooo.com>> wrote:
>> 
>> When getting something like:
>> 
>> freeswitch at internal> reloadxml
>> +OK [[error near line 7391]: unexpected closing tag </condition>]
>> 
>> I’m sure I used to do something along the lines of:
>> 
>> cat -n /var/log/freeswitch/freeswitch.xml.fsxml | sed -n '7380,7400p'
>> 
>> And there at 7391 would be the offending line, surrounded by some of the lines before and after.
>> 
>> Now, however, the line is never at the corresponding number. Am I looking at the wrong file maybe?
> 
> _________________________________________________________________________
> 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/20170301/a8ef661c/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list