[Freeswitch-dev] OPTIONS

Suneel Papineni Suneel.Papineni at mettoni.com
Thu Nov 19 06:45:59 PST 2009

Thanks Bret, but unfortunately I didn't have control on Gateway because
it is a 3rd party (Except for adding primary and secondary FS IP
addresses). So I need to do something at FS end only.

-----Original Message-----
From: freeswitch-dev-bounces at lists.freeswitch.org
[mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of
Trixter aka Bret McDanel
Sent: 19 November 2009 13:44
To: freeswitch-dev at lists.freeswitch.org
Subject: Re: [Freeswitch-dev] OPTIONS

On Thu, 2009-11-19 at 13:23 +0000, Suneel Papineni wrote:

> So is there anyway to instruct FS (through event sockets), not to
> respond to OPTIONS message received from the GW.

I would think that adding code to do that would cause some breakage.
The better solution would be to have a trigger on your gateway to tell
it to fail all calls over.

If you did an ACL or packet filter or anything else, important messages
may be lost.  The exception would be if it does OPTIONS to a different
port and you block that port only, so normal sip traffic goes through
but the ping is stopped.  This would be to a 2nd profile but the same
instance of freeswitch, so it should work the same in terms of

You could modify sofia so that it could block this, but I do not think
that it would be committed as a result you would have to maintain this
out of tree.  I could be wrong, it might get committed, but given that
there are other solutions, and this one has some potential to create
headaches for others I do not believe that it would.

Trixter http://www.0xdecafbad.com     Bret McDanel
pgp key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8AE5C721

FreeSWITCH-dev mailing list
FreeSWITCH-dev at lists.freeswitch.org

Please consider the environment before printing this e-mail
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.  http://www.mettoni.com

Mettoni Ltd
Registered in England and Wales: 4485956
9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN

More information about the FreeSWITCH-dev mailing list