How to stop FS from replying to OPTIONS?
I don't think thats legal to ignore them. /b On Aug 24, 2010, at 1:44 PM, Victor Chukalovskiy wrote:
Is there a way to stop FS from replying to "OPTIONS" that other non-registered devices send? That is, I'd like to make my FS server less visible to other people who ping me with "OPTIONS".
Thank you, Victor
I think it's legal but you really should remove OPTIONS from Supported: headers returned by FreeSWITCH. I have mixed feelings about what the OP is trying to do and whether or not he really should but I suppose it kind of makes sense... Perhaps he could look at something like my sipdos script: http://blog.krisk.org/2008/07/sip-dosddos-mitigation.html It will do iptables string matching on SIP packets by method (OPTIONS, INVITE, REGISTER, etc) and allow you to rate limit and/or drop them. That would probably work. On Tue, Aug 24, 2010 at 2:57 PM, Brian West <brian@freeswitch.org> wrote:
I don't think thats legal to ignore them.
/b
On Aug 24, 2010, at 1:44 PM, Victor Chukalovskiy wrote:
Is there a way to stop FS from replying to "OPTIONS" that other non-registered devices send? That is, I'd like to make my FS server less visible to other people who ping me with "OPTIONS".
Thank you, Victor
_______________________________________________ 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
-- Kristian Kielhofner http://www.astlinux.org http://blog.krisk.org http://www.star2star.com http://www.submityoursip.com http://www.voalte.com
But still removing it from supported will result in an unsupported method response and won't ignore the OPTIONS packet totally. /b On Aug 24, 2010, at 2:17 PM, Kristian Kielhofner wrote:
I think it's legal but you really should remove OPTIONS from Supported: headers returned by FreeSWITCH.
I have mixed feelings about what the OP is trying to do and whether or not he really should but I suppose it kind of makes sense... Perhaps he could look at something like my sipdos script:
http://blog.krisk.org/2008/07/sip-dosddos-mitigation.html
It will do iptables string matching on SIP packets by method (OPTIONS, INVITE, REGISTER, etc) and allow you to rate limit and/or drop them. That would probably work.
On Tue, Aug 24, 2010 at 2:57 PM, Brian West <brian@freeswitch.org> wrote:
I don't think thats legal to ignore them.
/b
Brian, It sure will but I was saying that if he is going to black packets my METHOD he shouldn't leave the blocked METHODs in any Supported headers that may be sent in subsequent dialogs. That would be really confusing! On Tue, Aug 24, 2010 at 3:24 PM, Brian West <brian@freeswitch.org> wrote:
But still removing it from supported will result in an unsupported method response and won't ignore the OPTIONS packet totally.
/b
-- Kristian Kielhofner http://www.astlinux.org http://blog.krisk.org http://www.star2star.com http://www.submityoursip.com http://www.voalte.com
Quick question: Is there an elegant way of using pre-recorder .wav file as a greeting for voice mail box of a user? My feeling is that No unless editing DB. But I'd be happy to learn I'm mistaken :-) Thank you, Victor
Have you looked at the vm_prefs api? On Thu, Aug 26, 2010 at 10:38 PM, Victor Chukalovskiy <Victor@isptelecom.net
wrote:
Quick question: Is there an elegant way of using pre-recorder .wav file as a greeting for voice mail box of a user? My feeling is that No unless editing DB. But I'd be happy to learn I'm mistaken :-)
Thank you, Victor
_______________________________________________ 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
-- -Rupa
I didn't look closely enough. vm_prefs api is for retrieving the info, not setting it. You can either update the entry in the database directly or extend the voicemail api to support updating the information. If you aren't up to implementing the latter yourself (attach a patch to jira) maybe a bounty would get it done? On Fri, Aug 27, 2010 at 10:35 AM, Victor Chukalovskiy <Victor@isptelecom.net
wrote:
Rupa,
I see "vm_prefs" in the Database Schema section of Vocimeail WiKi. There is a "greeting_path" variable. I guess this is what I need. How one access FS database though?
Thank you, V.
On -10/01/37 02:59 PM, Rupa Schomaker wrote:
Have you looked at the vm_prefs api?
On Thu, Aug 26, 2010 at 10:38 PM, Victor Chukalovskiy < Victor@isptelecom.net> wrote:
Quick question: Is there an elegant way of using pre-recorder .wav file as a greeting for voice mail box of a user? My feeling is that No unless editing DB. But I'd be happy to learn I'm mistaken :-)
Thank you, Victor
_______________________________________________ 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
-- -Rupa
_______________________________________________ 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
-- -Rupa
participants (4)
-
Brian West
-
Kristian Kielhofner
-
Rupa Schomaker
-
Victor Chukalovskiy