Author |
Message |
cphillips.ia Brekeke Member
Joined: 18 Nov 2014 Posts: 21
Location: USA
|
Posted: Tue Apr 21, 2015 12:30 pm Post subject: Filtering Policy reliad from CLI |
|
|
1. Brekeke Product Name and Version: Brekeke SIP Server - 3.3.8.1/379-7
2. Java version: OpenJDK 64-Bit Server VM
3. OS type and the version: Debian 7 - 3.2.0-4-amd64
4. UA (phone), gateway or other hardware/software involved: any / independent of UA
5. Your Problem: -- No Problem, just a question...
How would I reload the filtering policy from the CLI after updating the filterpolicy.tbl file directly (looking for the equivalent of pressing the "Apply Policies" button)?
Thanks! |
|
Back to top |
|
Haddas Brekeke Guru
Joined: 17 Jan 2008 Posts: 170
|
Posted: Tue Apr 21, 2015 2:10 pm Post subject: |
|
|
Do you know the way to execute a management command from web and command line?
If your company is a Brekeke's partner, you can access the API information. |
|
Back to top |
|
cphillips.ia Brekeke Member
Joined: 18 Nov 2014 Posts: 21
Location: USA
|
Posted: Tue Apr 21, 2015 2:17 pm Post subject: |
|
|
For example, we reload the dialplan after updating dialplan.tbl with:
java -classpath /var/lib/tomcat7/webapps/sip/WEB-INF/lib/ondosip.jar svctl localhost update rule
I was just looking for the correct function to call to apply the filtering policies.... |
|
Back to top |
|
Haddas Brekeke Guru
Joined: 17 Jan 2008 Posts: 170
|
Posted: Tue Apr 21, 2015 2:28 pm Post subject: |
|
|
java -classpath /var/lib/tomcat7/webapps/sip/WEB-INF/lib/ondosip.jar svctl localhost update policy
:) |
|
Back to top |
|
cphillips.ia Brekeke Member
Joined: 18 Nov 2014 Posts: 21
Location: USA
|
Posted: Tue Apr 21, 2015 2:40 pm Post subject: |
|
|
That was simple enough... Thanks! |
|
Back to top |
|
|