Skip to content

Instantly share code, notes, and snippets.

@altanai
Created April 5, 2019 11:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save altanai/f292dd8454f8517e1d4be340df6f114c to your computer and use it in GitHub Desktop.
Save altanai/f292dd8454f8517e1d4be340df6f114c to your computer and use it in GitHub Desktop.
Installation of Opensips SIP server to proxy SIP messages

installation from repo

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 049AD65B
 echo "deb http://apt.opensips.org trusty 2.4-releases" >/etc/apt/sources.list.d/opensips.list

Manual Installation

Requirnments

apt-get install build-essential openssl bison flex

get perl and mysql

apt install perl libdbi-perl libdbd-mysql-perl libdbd-pg-perl libfrontier-rpc-perl libterm-readline-gnu-perl libberkeleydb-perl ncurses-dev mysql-server libmysqlclient-dev

goto https://opensips.org/pub/opensips/latest/ and download latest package

cd /usr/src
wget https://opensips.org/pub/opensips/latest/opensips-2.4.5.tar.gz
tar -zxvf opensips-2.4.5.tar.gz

build

cd opensips
make all
make install 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment