Reload Freeswitch without dropping connections

Status
Not open for further replies.

Robert Birch

Member
Mar 16, 2017
111
5
18
52
I want to make a change to the /etc/freeswitch/autoload_configs/logfile.conf.xml file.
Is there a way to make freeswitch reload the config file without dropping registrations, calls, etc?

Thanks,
Bob
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,415
376
83
At the command line:
fs_cli -x "reload <mod_name>"

Beware some modules will not reload. It may be worth trying a "reloadxml" first.
 
Last edited:

Robert Birch

Member
Mar 16, 2017
111
5
18
52
So that would be
fs_cli -x "reload logfile"?
If I did the reloadxml will that mess up the pre-process variables from the other XML files?

Thanks.
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,415
376
83
PS: forgot to say fs_cli -x "reloadxml" will not mess up the pre-process variables from the other XML files.
 

Robert Birch

Member
Mar 16, 2017
111
5
18
52
Ok. I found out I could enter fs_cli and do a fsctl loglevel <level numer>
I used 6 to just drop the debug messages.
This doesn't require a reload of any kind.

I checked the log file and it is working as I expect.

Thanks for all the help and pointing me in the correct direction.
 
Status
Not open for further replies.