[Freeswitch-users] Is there a way for FS not to send back any response to INVITE

Oleg Stolyar olegstolyar at gmail.com
Wed Jun 1 23:40:22 MSD 2016


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160601/3258d2b8/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list