The utility openserctl
is a shell script installed at /usr/sbin
. It is used to manage OpenSER from the command line. It can be used to:
Start, stop, and restart OpenSER
Show, grant, and revoke ACLs
Add, remove, and list aliases
Add, remove, and configure an AVP
Manage LCR (low cost routes)
Manage RPID
Add, remove, and list subscribers
Add, remove, and show the usrloc table "in-ram"
Monitor OpenSER
We will learn several of its options in the next sections. Below is the output of the openserctl help
command:
/etc/openser# openserctl help
database engine 'MYSQL' loaded
Control engine 'FIFO' loaded
/usr/sbin/openserctl 1.2 - $Revision: 1.3 $
Existing commands:
-- command 'start|stop|restart'
restart ............................ restart OpenSER
start .............................. start OpenSER
stop ............................... stop OpenSER
-- command 'acl' - manage access control lists (acl)
acl show [<username>] .............. show user membership
acl...