The opensipsctl shell script

The opensipsctl utility is a shell script installed in /sbin. (The path depends on the installation prefix.) It is used to manage OpensSIPS from the command line. It can be used to perform the following functions:

  • Start, stop, and restart OpenSIPS
  • Show, grant, and revoke ACLs
Add, remove, and list aliases
  • Add, remove, and configure an AVP
  • Manage a Low Cost Route (LCR)
  • Manage a Remote Party Identity (RPID)
  • Add, remove, and list subscribers
  • Add, remove, and show the usrloc table in-Random Access Memory (RAM)
  • Monitor OpenSIPS

We will learn several of its options in the next chapters. The following is the output of the opensipsctl help command:

Configuring the opensipsctl utility

To configure opensipsctl, you have to edit the resource ...

Get Building Telephony Systems with OpenSIPS - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.