kurtabersold / freeswitch-mod_fail2ban

FreeSWITCH module for fail2ban
0 stars 5 forks source link

reload mod_fail2ban crashes freeswitch #10

Open kurtabersold opened 7 years ago

kurtabersold commented 7 years ago

While trying to find a solution for #7, I found that fs_cli -x 'reload mod_fail2ban' crashes freeswitch.

kurtabersold commented 7 years ago

unload mod_fail2ban and load mod_fail2ban both work. According to freeswitch documentation:

your module's Shutdown function must accomplish a complete reversion of any setup that happens in it's Load function for a reload to work properly.