Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Filtering Policy reliad from CLI
Author Message
cphillips.ia
Brekeke Member


Joined: 18 Nov 2014
Posts: 21
Location: USA

PostPosted: Tue Apr 21, 2015 12:30 pm    Post subject: Filtering Policy reliad from CLI Reply with quote

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
View user's profile
Haddas
Brekeke Guru


Joined: 17 Jan 2008
Posts: 170

PostPosted: Tue Apr 21, 2015 2:10 pm    Post subject: Reply with quote

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
View user's profile
cphillips.ia
Brekeke Member


Joined: 18 Nov 2014
Posts: 21
Location: USA

PostPosted: Tue Apr 21, 2015 2:17 pm    Post subject: Reply with quote

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
View user's profile
Haddas
Brekeke Guru


Joined: 17 Jan 2008
Posts: 170

PostPosted: Tue Apr 21, 2015 2:28 pm    Post subject: Reply with quote

java -classpath /var/lib/tomcat7/webapps/sip/WEB-INF/lib/ondosip.jar svctl localhost update policy

:)
Back to top
View user's profile
cphillips.ia
Brekeke Member


Joined: 18 Nov 2014
Posts: 21
Location: USA

PostPosted: Tue Apr 21, 2015 2:40 pm    Post subject: Reply with quote

That was simple enough... Thanks!
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