Rule to allow ONLY specified IP's in a dial plan rule

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
sm8651
Posts: 13
Joined: Fri Nov 22, 2013 9:05 am

Rule to allow ONLY specified IP's in a dial plan rule

Post by sm8651 »

1. Brekeke Product Name and Version:
2.6
2. Java version:
1.6
3. OS type and the version:
windows

5. Your problem:
I would like to make a rule the first and add IP addresses, if thes ip wher the invite or is calling is coming from is not in that rule the calls should be ignored like address filtering.

I am using now address filtering, but everytime I add a IP I need to restart the sip server, but I always have active calls and I cannot disconnect my active customers.

So, I tried making a rule like the below so i can just keep adding IP's in a rule without needing to restart.
[Matching Patterns:]
$addr = trusted_IP_address

[Deploy Patterns:]
$auth = false
$continue = true
But no luck, all calls went to the outgoing rule at the end of the list and nothing was blocked.

Let me know if you have a solution.

Tnx
Tata
Posts: 223
Joined: Sun Jan 27, 2008 1:03 pm

Post by Tata »

Use the latest version of Brekeke SIP Server.

It has the Block List feature. (You don't have to restart the SIP Server even if you update the list.)

http://wiki.brekeke.com/wiki/BlockList
sm8651
Posts: 13
Joined: Fri Nov 22, 2013 9:05 am

Post by sm8651 »

I know, I have the newer one on another server active, but this one has been working for us for a long time so we don't want to fix if it ain't broken.

I just need a dial plan rule, should not be difficult.
snuyzm
Posts: 97
Joined: Wed Feb 11, 2015 10:12 pm

Post by snuyzm »

Your DialPlan rule should work but I don't know it works under version 2.6.

Version 2.6 was released more than 5 years ago
It might have serious security and performance issues..
http://wiki.brekeke.com/wiki/BSS_History
Post Reply