Author |
Message |
sm8651 Brekeke Member
Joined: 22 Nov 2013 Posts: 13
|
Posted: Mon Mar 05, 2018 10:01 pm Post subject: Rule to allow ONLY specified IP's in a dial plan rule |
|
|
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 |
|
Back to top |
|
Tata Brekeke Master Guru
Joined: 27 Jan 2008 Posts: 223
|
Posted: Mon Mar 05, 2018 11:03 pm Post subject: |
|
|
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 |
|
Back to top |
|
sm8651 Brekeke Member
Joined: 22 Nov 2013 Posts: 13
|
Posted: Tue Mar 06, 2018 10:13 am Post subject: |
|
|
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. |
|
Back to top |
|
snuyzm Brekeke Talented
Joined: 11 Feb 2015 Posts: 97
|
Posted: Tue Mar 06, 2018 10:57 am Post subject: |
|
|
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 |
|
Back to top |
|
|