How To Install opensips-sms on CentOS 7

In this tutorial we learn how to install opensips-sms on CentOS 7. opensips-sms is Gateway between SIP and GSM networks via sms

Introduction

In this tutorial we learn how to install opensips-sms on CentOS 7.

What is opensips-sms

This module provides a way of communication between SIP network (via SIP MESSAGE) and GSM networks (via ShortMessageService). Communication is possible from SIP to SMS and vice versa. The module provides facilities like SMS confirmation–the gateway can confirm to the SIP user if his message really reached its destination as a SMS–or multi-part messages–if a SIP messages is too long it will be split and sent as multiple SMS.

We can use yum or dnf to install opensips-sms on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install opensips-sms.

Install opensips-sms on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install opensips-sms using yum by running the following command:

sudo yum -y install opensips-sms

Install opensips-sms on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install opensips-sms using dnf by running the following command:

sudo dnf -y install opensips-sms

How To Uninstall opensips-sms on CentOS 7

To uninstall only the opensips-sms package we can use the following command:

sudo dnf remove opensips-sms

References

Summary

In this tutorial we learn how to install opensips-sms on CentOS 7 using yum and dnf.