[Freeswitch-users] Slow reloadxml and high loglevel in console

Igor Potjevlesh igor.potjevlesch at gmail.com
Thu Jul 30 12:55:13 UTC 2020


Hello Martin,

 

You're right for fs_cli! Thank you.

 

Regarding vars.xml, I already have another stun configured but I'm still having a timeout on the default one.

 

Regards,

 

Igor.

 

De : FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> De la part de Martin Paterson
Envoyé : mercredi 29 juillet 2020 13:07
À : FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Objet : Re: [Freeswitch-users] Slow reloadxml and high loglevel in console

 

First problem: 

 

It’s configurable in the XML:

 

vars.xml in \etc\freeswitch contains the config. By default it’s:

 

<X-PRE-PROCESS cmd="stun-set" data="external_rtp_ip=stun:stun.freeswitch.org"/>

 

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)

 

Second problem: 

 

You can change the log level of fs_cli with an argument -d. Help page here:  <https://freeswitch.org/confluence/display/FREESWITCH/Command-Line+Interface+fs_cli> https://freeswitch.org/confluence/display/FREESWITCH/Command-Line+Interface+fs_cli

 

Martin.

 








Development Team​



 <https://technologywithin.com/> 



Phone: 

 <tel:0207%20953%208840> 0207 953 8840


Email: 

 <mailto:martin.paterson at technologywithin.com> martin.paterson at technologywithin.com



Chevron Business Park, Limekiln Lane

, 

Southampton

, 

Hampshire

, 

SO45 2QL




 <https://en-gb.facebook.com/we.are.technologywithin> 

 <https://www.linkedin.com/company/technologywithin> 

 <https://twitter.com/@techwithin> 

 <https://www.instagram.com/technologywithin/> 


 <https://technologywithin.com/twiinworkspace/> 


Registered Office: CP House, Otterspool Way, Watford, WD25 8JJ, U.K 
​Registered in England No: 5964349 | VAT Number: GB 902 5369 37 

From: FreeSWITCH-users < <mailto:freeswitch-users-bounces at lists.freeswitch.org> freeswitch-users-bounces at lists.freeswitch.org> On Behalf Of Igor Potjevlesh
Sent: 29 July 2020 08:29
To: 'FreeSWITCH Users Help' < <mailto:freeswitch-users at lists.freeswitch.org> freeswitch-users at lists.freeswitch.org>
Subject: [Freeswitch-users] Slow reloadxml and high loglevel in console

 

Hello there!

 

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.

Unfortunately, I didn't figure out how to disable that.

 

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.

 

Thanks for your inputs!

 

Regards,

 

Igor. 

 

  _____  


 <https://www.avast.com/antivirus> 

L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. 
 <https://www.avast.com/antivirus> www.avast.com 

 

 

technologywithin Mail Scanner click  <https://www.mailcontrol.com/sr/irzYY_hzIlfGX2PQPOmvUss3oYastQeGYNGLbkf2IGj3DOOO4ejfVyuB2BIEXHDY5i6N2tvlzocbMAc-oOGgZg==> here to report this email as spam.



-- 
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200730/e107abee/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 2305 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200730/e107abee/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 32472 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200730/e107abee/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 402 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200730/e107abee/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 589 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200730/e107abee/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 725 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200730/e107abee/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 932 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200730/e107abee/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.png
Type: image/png
Size: 85623 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200730/e107abee/attachment-0013.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.jpg
Type: image/jpeg
Size: 823 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200730/e107abee/attachment-0001.jpg>


More information about the FreeSWITCH-users mailing list