한국어

소프트스위치

온누리070 플레이스토어 다운로드
    acrobits softphone
     온누리 070 카카오 프러스 친구추가온누리 070 카카오 프러스 친구추가친추
     카카오톡 채팅 상담 카카오톡 채팅 상담카톡
    
     라인상담
     라인으로 공유

     페북공유

   ◎위챗 : speedseoul


  
     PAYPAL
     
     PRICE
     

pixel.gif

    before pay call 0088 from app


https://sillycodes.com/installing-rtpengine-on-ubuntu-1404/



Installing RTPEngine on Ubuntu 14.04:

First of all Clone the RTPengine project from GitHub. To clone the RTPengine use below command.

apt-get install git
git clone https://github.com/sipwise/rtpengine.git rtpengine

git clone https://github.com/sipwise/rtpengine.git rtpengine
Cloning into ‘rtpengine’…
remote: Counting objects: 6575, done.
remote: Total 6575 (delta 0), reused 0 (delta 0), pack-reused 6575
Receiving objects: 100% (6575/6575), 1.90 MiB | 0 bytes/s, done.
Resolving deltas: 100% (4798/4798), done.
Checking connectivity… done.

Then enter into rtpengine directory and run ./debian/flavors/no_ngcp in order to remove any NGCP dependencies.

cd rtpengine
./debian/flavors/no_ngcp

Then we need to run the dpkg-buildpackage command. But I got lot of dependencies.. here is the list.

dpkg-buildpackage

dpkg-buildpackage
………
Unmet build dependencies: debhelper (>= 5) iptables-dev (>= 1.4) libcurl4-openssl-dev | libcurl4-gnutls-dev | libcurl3-openssl-dev | libcurl3-gnutls-dev libglib2.0-dev (>= 2.30) libpcre3-dev libxmlrpc-c3-dev (>= 1.16.07) | libxmlrpc-core-c3-dev (>= 1.16.07) markdown
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)

Let’s Install dependencies one by one.

apt-get install debhelper
apt-get install iptables-dev
apt-get install libcurl4-openssl-dev
apt-get install libpcre3-dev libxmlrpc-core-c3-dev
apt-get install markdown

Then try to build RTPengine once again.
dpkg-buildpackage

Now I got one more dependency libglib2.0-dev. so let’s install this one also
apt-get install libglib2.0-dev

Now once again try to build RTP Engine.
dpkg-buildpackage

Success! Build Completed, Few .deb files are created in the parent directory(use cd .. ).
Let’s Install those deb files..

cd ..
dpkg -i ngcp-rtpengine-daemon_4.1.0.0+0~mr4.1.0.0_amd64.deb
dpkg -i ngcp-rtpengine-iptables_4.1.0.0+0~mr4.1.0.0_amd64.deb
dpkg -i ngcp-rtpengine-dbg_4.1.0.0+0~mr4.1.0.0_amd64.deb
dpkg -i ngcp-rtpengine-dev_4.1.0.0+0~mr4.1.0.0_all.deb

Note: .deb file name may varies with version. 

if you want to install Kernel module then you need to install the dkms package so first install dkms package then install the Kernel module.

apt-get install dkms
dpkg -i ngcp-rtpengine-kernel-dkms_4.1.0.0+0~mr4.1.0.0_all.deb

Now Installation is completed need to run the rtp engine. We need to edit the /etc/default/ngcp-rtpengine-daemon file..

Configuring RTPEngine:

So edit that file to suit your Environment.

RUN_RTPENGINE=yes
LISTEN_TCP=25060
LISTEN_UDP=12222
LISTEN_NG=22222
LISTEN_CLI=9900
INTERFACES=”x.xx.xx.xx”
LOG_LEVEL=6

Running RTPEngine:

Now start the rtpengine using above init script.

/etc/init.d/ngcp-rtpengine-daemon restart
or
rtpengine –interface=192.168.18.20 –listen-ng=127.0.0.1:22222  -m 30000 -M 35000

Check if rtpengine started or not by running below command

ps -ef | grep ngcp-rtpengine

That’s It.. you successfully installed RTPEngine on Debian Ubuntu 14.04. It is ready to accept the requests from Kamailio and Opensips and also configure your kamailio or opensips RTPENGINE_SOCK parameter properly.

If you got any problem, Feel free to drop a comment.

Venkatesh Macha

Hi Guys, I am Venkatesh Macha. Founder of SillyCodes. I am a programmer, Presently working as a Software Engineer in Hyderabad. I love Linux and Open Source. Apart from that, I love to explore new technologies and things.

YOU MAY ALSO LIKE...

7 RESPONSES

  1. We also need
    apt-get install libavfilter-dev
    apt-get install libjson-glib-dev

  2. Hi,

    Thank a lot for the tutorial, really well done. I have installed it successfully, but running into a problem when running it. It gives an error as: CRIT: Fatal error: Bad command line: Key file does not have group 'rtpengine'

    Any ideas ? 
    Cheers.

  3. Need apt-get install libpcap0.8-dev also

  4. We need apt-get install libevent-dev also.

  5. Stefano

    It's works for 16.04 LTS too. Great guide!

  6. we need apt-get install libhiredis-dev also.

  7. Perfect ! Thank you for this howto




조회 수 :
35899
등록일 :
2017.09.05
17:38:17 (*.160.88.18)
엮인글 :
http://webs.co.kr/index.php?document_srl=3311795&act=trackback&key=810
게시글 주소 :
http://webs.co.kr/index.php?document_srl=3311795
List of Articles
번호 제목 글쓴이 조회 수 추천 수 날짜
142 OpenSIPS Module Interface admin 48375   2017-12-07
 
141 opensips configuration config explain easy basic 오픈쉽스 컨피그레이션 기본 설명 file admin 28269   2017-12-07
 
140 openssl 을 이용한 인증서 생성 절차를 정리한다. 개인키 CSR SSL 인증서 파일 생성 admin 28660   2017-09-14
 
139 Documentation -> Tutorials -> TLS opensips.cfg admin 29405   2017-09-14
 
138 Using TLS in OpenSIPS v2.2.x admin 49889   2017-09-14
 
137 opensips tls cfg admin 34378   2017-09-14
 
136 How to setup a Jabber / XMPP server on Debian 8 (jessie) using ejabberd admin 130753   2017-09-13
 
135 SIP to XMPP Gateway + SIP Presence Server opensips admin 56704   2017-09-13
 
134 OpenSIPS command line tricks admin 49800   2017-09-13
 
133 Fail2Ban Freeswitch How to secure admin 66112   2017-09-12
 
132 opensips.cfg. sample admin 28126   2017-09-12
 
131 Advanced SIP scenarios with Event-based-Routing admin 37396   2017-09-11
 
130 PUSH SERVER 푸시서버 안드로이드 애플 admin 217892   2017-09-11
 
129 오픈소스 (사내)메신저 서버 구축, 오픈 파이어(openfire) 설치방법과 세팅(리눅스 기준) admin 79703   2017-09-09
 
128 rtpengine config basic and opensips configuration and command admin 58777   2017-09-06
 
127 WebSocket Transport using OpenSIPS configuration 웹 소켓 컨피그레이션 기본 admin 25102   2017-09-06
 
126 OpenSIPS basic configuration script 기본 컨피그 admin 111805   2017-09-05
 
125 rtpengine install and config admin 62708   2017-09-05
 
» Installing RTPEngine on Ubuntu 14.04 admin 35899   2017-09-05
https://sillycodes.com/installing-rtpengine-on-ubuntu-1404/ Installing RTPEngine on Ubuntu 14.04:First of all Clone the RTPengine project from GitHub. To clone the RTPengine use below command. apt-get insta...  
123 compile only the textops module make modules=modules/textops modules admin 23641   2017-09-05
 
122 opensips command /sbin/opensipsctl detail admin 131605   2017-09-04
 
121 2017 08 31 opensips 2.32 install debian8.8 module install compile err modules admin 47092   2017-09-04
 
120 Build-Depends debian 8.8 opensips 2.3 admin 69034   2017-09-04
 
119 What is new in 2.3.0 opensips admin 254396   2017-09-04
 
118 ubuntu 安装配置opensips,rtpproxy,mediaproxy admin 27649   2017-09-04
 
117 How to install Mediaproxy 2.5.2 on CentOS 6 64 bit admin 150230   2017-09-04
 
116 Using TLS in OpenSIPS v2.2.x configuration admin 51109   2017-09-04
 
115 How to 2.3 download , OpenSIPS new apt repository. DEBs for Debian / Ubuntu admin 23260   2017-09-02
 
114 You can install CDRTool in the following ways: admin 24473   2017-09-01
 
113 How to Install OpenSIPS 2.1.2 Server on Ubuntu 15.04 admin 30268   2017-09-01