O'Reilly logo

Building Telephony Systems with OpenSER by Flavio E. Goncalves

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Openserctl Shell Script

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 ............................ ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required