Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Reply OPTIONS to SBC
Author Message
david.wan
Brekeke Member


Joined: 11 Dec 2013
Posts: 12

PostPosted: Wed Dec 11, 2013 3:10 am    Post subject: Reply OPTIONS to SBC Reply with quote

1. Brekeke Product Name and Version:
OEM Version 3.2.5.0 Standard

2. Java version:
1.7.0_45

3. OS type and the version:
RHEL 6

4. UA (phone), gateway or other hardware/software involved:
Oracle SBC

5. Your problem:
Hi, I have a SBC connecting to two brekeke SIP servers. The SBC is using round robin load balancing to the SIP servers with ping OPTIONS every 30s to check if the SIP servers are keeping alive. However, the SIP servers does not recognize the ping OPTIONS from SBC and always return 404 no match rules. Can anyone please tell me how to make the SIP servers reply OPTIONS packet? Many Thanks.
Back to top
View user's profile
voipwell.com
Partner PBX


Joined: 20 Sep 2005
Posts: 528
Location: Tannersville, Pennsylvania

PostPosted: Wed Dec 11, 2013 10:18 am    Post subject: Reply with quote

Try the DialPlan rule below.
It returns "200 Ok" to OPTIONS requests.
Matching Patterns
$request = ^OPTIONS

Deploy Patterns
$response = 200

from a previous post
Back to top
View user's profile
david.wan
Brekeke Member


Joined: 11 Dec 2013
Posts: 12

PostPosted: Wed Dec 11, 2013 7:17 pm    Post subject: Reply with quote

It's work. Thank you very much Very Happy
Back to top
View user's profile
david.wan
Brekeke Member


Joined: 11 Dec 2013
Posts: 12

PostPosted: Wed Dec 11, 2013 11:40 pm    Post subject: Reply with quote

The OPTIONS reply is ok now. But all of the replies are logged to error log file. However to set do not log OPTIONS?
Back to top
View user's profile
janP
Brekeke Master Guru


Joined: 25 Nov 2007
Posts: 336

PostPosted: Thu Dec 12, 2013 1:13 am    Post subject: Reply with quote

Use Brekeke SIP Server ver 3.3.
It has the setting to tune the error log.
Back to top
View user's profile
david.wan
Brekeke Member


Joined: 11 Dec 2013
Posts: 12

PostPosted: Thu Dec 12, 2013 2:47 am    Post subject: Reply with quote

The server is already production. I cannot put the Beta version 3.3 on the network... Btw, may I ask if 403 registration fail can also be configured in 3.3? Because I would like to check if there is DDoS attack to my server which does not logging in error log. Thanks.
Back to top
View user's profile
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Fri Dec 13, 2013 11:27 pm    Post subject: Reply with quote

> Because I would like to check if there is DDoS attack to my server which does not logging in error log.

But you can see them in the Blocked Log even if you are using ver3.2.


Add some honeypot rules to protect the server.
http://wiki.brekeke.com/wiki/Block-List-Honeypot
http://www.brekeke-sip.com/bbs/viewtopic.php?t=7419
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1