<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Georgia;
        panose-1:2 4 5 2 5 4 5 2 3 3;}
@font-face
        {font-family:remialcxesans;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FR link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span lang=EN-GB>Hello Martin,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>You're right for fs_cli! Thank you.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Regarding vars.xml, I already have another stun configured but I'm still having a timeout on the default one.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Igor.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-GB style='mso-fareast-language:FR'>De :</span></b><span lang=EN-GB style='mso-fareast-language:FR'> FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> <b>De la part de</b> Martin Paterson<br><b>Envoyé :</b> mercredi 29 juillet 2020 13:07<br><b>À :</b> FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org><br><b>Objet :</b> Re: [Freeswitch-users] Slow reloadxml and high loglevel in console<o:p></o:p></span></p></div></div><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-family:"Georgia",serif;color:#00B050'>First problem: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-family:"Georgia",serif;color:#00B050'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-family:"Georgia",serif;color:#00B050'>It’s configurable in the XML:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-family:"Georgia",serif;color:#00B050'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-family:"Georgia",serif;color:#00B050'>vars.xml in \etc\freeswitch contains the config. By default it’s:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-family:"Georgia",serif;color:#00B050'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB><X-PRE-PROCESS cmd="stun-set" data="external_rtp_ip=stun:stun.freeswitch.org"/><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-family:"Georgia",serif;color:#00B050'>You can change that to a server of your choice, or disable it entirely by removing the line (or changing the X-PRE-PROCESS to something else, like XX-PRE-PROCESS)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-family:"Georgia",serif;color:#00B050'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-family:"Georgia",serif;color:#00B050'>Second problem: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-family:"Georgia",serif;color:#00B050'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-family:"Georgia",serif;color:#00B050'>You can change the log level of fs_cli with an argument -d. Help page here:</span><span lang=EN-GB> </span><a href="https://freeswitch.org/confluence/display/FREESWITCH/Command-Line+Interface+fs_cli"><span lang=EN-GB>https://freeswitch.org/confluence/display/FREESWITCH/Command-Line+Interface+fs_cli</span></a><span lang=EN-GB style='font-family:"Georgia",serif;color:#00B050'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-family:"Georgia",serif;color:#00B050'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-family:"Georgia",serif;color:#00B050'>Martin.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-family:"Georgia",serif;color:#00B050'><o:p> </o:p></span></p><div><div><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%'><tr><td valign=top style='padding:0cm 0cm 0cm 0cm'><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td valign=top style='padding:0cm 0cm 10.5pt 0cm'><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:1.0pt;mso-fareast-language:FR'><img border=0 width=138 height=28 style='width:1.4375in;height:.2916in' id="Image_x0020_1" src="cid:image001.png@01D6666E.5C541BA0"></span><span style='font-size:1.0pt;mso-fareast-language:FR'><o:p></o:p></span></p></td></tr><tr><td valign=top style='padding:0cm 0cm 0cm 0cm'><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal style='line-height:13.0pt;mso-line-height-rule:exactly'><span style='font-size:11.5pt;color:#B3B3B3;mso-fareast-language:FR'>Development Team</span><span style='font-size:1.0pt;font-family:"remialcxesans",serif;color:white;mso-fareast-language:FR'>​</span><span style='font-size:11.5pt;color:#B3B3B3;mso-fareast-language:FR'><o:p></o:p></span></p></td></tr></table></td></tr></table></td></tr></table></td></tr><tr><td valign=top style='padding:0cm 0cm 0cm 0cm'><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td valign=top style='padding:0cm 0cm 5.25pt 0cm'><p class=MsoNormal><a href="https://technologywithin.com/" target="_blank"><span style='font-size:1.0pt;mso-fareast-language:FR;text-decoration:none'><img border=0 width=190 height=27 style='width:1.9791in;height:.2812in' id="Image_x0020_2" src="cid:image002.png@01D6666E.5C541BA0"></span></a><span style='font-size:1.0pt;mso-fareast-language:FR'><o:p></o:p></span></p></td></tr></table></td></tr><tr><td valign=top style='padding:0cm 0cm 0cm 0cm'><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='color:#9E9E9E;mso-fareast-language:FR'>Phone: <o:p></o:p></span></p></td><td valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><a href="tel:0207%20953%208840" target="_blank"><strong><span style='font-family:"Calibri",sans-serif;color:#FF6353;mso-fareast-language:FR;font-weight:normal;text-decoration:none'>0207 953 8840</span></strong></a><span style='color:#FF6353;mso-fareast-language:FR'><o:p></o:p></span></p></td></tr><tr><td valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='color:#9E9E9E;mso-fareast-language:FR'>Email: <o:p></o:p></span></p></td><td valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><a href="mailto:martin.paterson@technologywithin.com" target="_blank"><strong><span style='font-family:"Calibri",sans-serif;color:#FF6353;mso-fareast-language:FR;font-weight:normal;text-decoration:none'>martin.paterson@technologywithin.com</span></strong></a><span style='color:#FF6353;mso-fareast-language:FR'><o:p></o:p></span></p></td></tr></table></td></tr><tr><td valign=top style='padding:0cm 0cm 0cm 0cm'><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span lang=EN-GB style='font-size:12.0pt;color:#919191;mso-fareast-language:FR'>Chevron Business Park, Limekiln Lane<o:p></o:p></span></p></td><td valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:12.0pt;color:#919191;mso-fareast-language:FR'>, <o:p></o:p></span></p></td><td valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:12.0pt;color:#919191;mso-fareast-language:FR'>Southampton<o:p></o:p></span></p></td><td valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:12.0pt;color:#919191;mso-fareast-language:FR'>, <o:p></o:p></span></p></td><td valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:12.0pt;color:#919191;mso-fareast-language:FR'>Hampshire<o:p></o:p></span></p></td><td valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:12.0pt;color:#919191;mso-fareast-language:FR'>, <o:p></o:p></span></p></td><td valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:12.0pt;color:#919191;mso-fareast-language:FR'>SO45 2QL<o:p></o:p></span></p></td></tr></table></td></tr><tr><td valign=top style='padding:0cm 0cm 0cm 0cm'><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td valign=top style='padding:3.0pt 2.25pt 4.5pt 2.25pt'><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td valign=top style='padding:2.25pt 2.25pt 2.25pt 2.25pt'><p class=MsoNormal><a href="https://en-gb.facebook.com/we.are.technologywithin" target="_blank"><span style='font-size:1.0pt;mso-fareast-language:FR;text-decoration:none'><img border=0 width=11 height=21 style='width:.1145in;height:.2187in' id="Image_x0020_3" src="cid:image003.png@01D6666E.5C541BA0"></span></a><span style='font-size:1.0pt;mso-fareast-language:FR'><o:p></o:p></span></p></td><td valign=top style='padding:2.25pt 2.25pt 2.25pt 2.25pt'><p class=MsoNormal><a href="https://www.linkedin.com/company/technologywithin" target="_blank"><span style='font-size:1.0pt;mso-fareast-language:FR;text-decoration:none'><img border=0 width=19 height=19 style='width:.1979in;height:.1979in' id="Image_x0020_4" src="cid:image004.png@01D6666E.5C541BA0"></span></a><span style='font-size:1.0pt;mso-fareast-language:FR'><o:p></o:p></span></p></td><td valign=top style='padding:3.75pt 2.25pt 2.25pt 2.25pt'><p class=MsoNormal><a href="https://twitter.com/@techwithin" target="_blank"><span style='font-size:1.0pt;mso-fareast-language:FR;text-decoration:none'><img border=0 width=21 height=17 style='width:.2187in;height:.177in' id="Image_x0020_5" src="cid:image005.png@01D6666E.5C541BA0"></span></a><span style='font-size:1.0pt;mso-fareast-language:FR'><o:p></o:p></span></p></td><td valign=top style='padding:3.75pt 2.25pt 2.25pt 2.25pt'><p class=MsoNormal><a href="https://www.instagram.com/technologywithin/" target="_blank"><span style='font-size:1.0pt;mso-fareast-language:FR;text-decoration:none'><img border=0 width=19 height=19 style='width:.1979in;height:.1979in' id="Image_x0020_6" src="cid:image006.png@01D6666E.5C541BA0"></span></a><span style='font-size:1.0pt;mso-fareast-language:FR'><o:p></o:p></span></p></td></tr></table></td></tr></table></td></tr><tr><td valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><a href="https://technologywithin.com/twiinworkspace/" target="_blank"><span style='font-size:1.0pt;mso-fareast-language:FR;text-decoration:none'><img border=0 width=473 height=120 style='width:4.927in;height:1.25in' id="Image_x0020_7" src="cid:image007.png@01D6666E.5C541BA0"></span></a><span style='font-size:1.0pt;mso-fareast-language:FR'><o:p></o:p></span></p></td></tr><tr><td valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;color:#7D7D7D;mso-fareast-language:FR'>Registered Office: CP House, Otterspool Way, Watford, WD25 8JJ, U.K <br>​Registered in England No: 5964349 | VAT Number: GB 902 5369 37</span><span lang=EN-GB style='color:#7D7D7D;mso-fareast-language:FR'> <o:p></o:p></span></p></td></tr></table></div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='mso-fareast-language:EN-GB'>From:</span></b><span lang=EN-US style='mso-fareast-language:EN-GB'> FreeSWITCH-users <</span><a href="mailto:freeswitch-users-bounces@lists.freeswitch.org"><span lang=EN-US style='mso-fareast-language:EN-GB'>freeswitch-users-bounces@lists.freeswitch.org</span></a><span lang=EN-US style='mso-fareast-language:EN-GB'>> <b>On Behalf Of </b>Igor Potjevlesh<br><b>Sent:</b> 29 July 2020 08:29<br><b>To:</b> 'FreeSWITCH Users Help' <</span><a href="mailto:freeswitch-users@lists.freeswitch.org"><span lang=EN-US style='mso-fareast-language:EN-GB'>freeswitch-users@lists.freeswitch.org</span></a><span lang=EN-US style='mso-fareast-language:EN-GB'>><br><b>Subject:</b> [Freeswitch-users] Slow reloadxml and high loglevel in console<o:p></o:p></span></p></div></div><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Hello there!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Since I have upgraded some of my Freeswitch in 1.10.1, I have two problems: first, each time I do a "reloadxml" for example, there is an attempt to contact an external STUN (which is not allowed by firewall rules). It makes the reload very slow because of a timeout for contacting the STUN server.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Unfortunately, I didn't figure out how to disable that.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Second problem is relative to the console. Each time I connect to the FS console, console loglevel is set to the higher level and I need to submit "console loglevel 0" to have a usable console. I also can't figure out in the config files how to disable this behaviour and start the console without verbosity.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Thanks for your inputs!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Igor. <o:p></o:p></span></p><div id=DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2><p class=MsoNormal style='margin-bottom:12.0pt'><span style='mso-fareast-language:EN-GB'><o:p> </o:p></span></p><div class=MsoNormal align=center style='text-align:center'><span style='mso-fareast-language:EN-GB'><hr size=1 width="99%" noshade style='color:#909090' align=center></span></div><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 style='border-collapse:collapse'><tr><td style='padding:0cm 11.25pt 0cm 6.0pt'><p class=MsoNormal><a href="https://www.avast.com/antivirus"><span style='border:solid windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB;text-decoration:none'><img border=0 width=100 height=100 style='width:1.0416in;height:1.0416in' id="Picture_x0020_2" src="cid:image008.jpg@01D6666E.5C541BA0" alt="Image removed by sender. Avast logo"></span></a><span style='mso-fareast-language:EN-GB'><o:p></o:p></span></p></td><td style='padding:.75pt .75pt .75pt .75pt'><p><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:#3D4D5A'>L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. <br></span><span style='font-size:10.0pt;font-family:"Times New Roman",serif'><a href="https://www.avast.com/antivirus"><span style='font-size:12.0pt'>www.avast.com</span></a></span><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:#3D4D5A'> <o:p></o:p></span></p></td></tr></table><p class=MsoNormal style='margin-bottom:12.0pt'><span style='mso-fareast-language:EN-GB'><o:p> </o:p></span></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='background:white;mso-fareast-language:EN-GB'><o:p> </o:p></span></p><p align=center style='text-align:center'><span lang=EN-GB style='color:black;background:white'>technologywithin Mail Scanner click </span><a href="https://www.mailcontrol.com/sr/irzYY_hzIlfGX2PQPOmvUss3oYastQeGYNGLbkf2IGj3DOOO4ejfVyuB2BIEXHDY5i6N2tvlzocbMAc-oOGgZg=="><span lang=EN-GB style='background:white'>here</span></a><span lang=EN-GB style='color:black;background:white'> to report this email as spam.</span><span lang=EN-GB style='background:white'><o:p></o:p></span></p></div></body></html>