I think you can write a dialplan module for the first question. Mike or Anthony can confirm this.
On 1 de jun de 2016, at 16:40, Oleg Stolyar <olegstolyar@gmail.com> wrote:
Hi,
In order to protect against scanning attacks I'd like for FS to not respond to INVITES unless they match certain conditions.
I understand that currently FS always responds with 100 Trying right away before processing the call and then, if the call does not match anything in the dialplan, responds with a 302 Moved Temporarily.
The 302 can be replaced with another response code (for example 403 Forbidden which is what I am doing now) using the respond dialplan app. However, that might encourage the scanner to keep trying.
So I guess there are two questions:
1. Is there a way not to send back 100 Trying at all?
2. Is there a way to not send any final response? _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Ítalo Rossi italo@freeswitch.org