한국어

소프트스위치

온누리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




조회 수 :
33379
등록일 :
2017.09.05
17:38:17 (*.160.88.18)
엮인글 :
http://webs.co.kr/index.php?document_srl=3311795&act=trackback&key=83e
게시글 주소 :
http://webs.co.kr/index.php?document_srl=3311795
List of Articles
번호 제목 글쓴이 조회 수 추천 수 날짜sort
172 opensips Rtpengine installation configuration admin 19   2024-05-22
 
171 Asterisk 에서 FreeSWITCH 전환 admin 2143   2024-04-09
 
170 OpenSIPS 이해 서비스 지원 admin 2136   2024-04-09
 
169 OpenSIPS install configuration support admin 2191   2024-04-09
 
168 opensips basic route script configuration admin 8872   2023-08-13
 
167 opensips-cli command admin 9185   2023-08-07
 
166 string trans opensips admin 7334   2023-08-05
 
165 opensips Push Notification configuration admin 7433   2023-07-29
 
164 opensips Call pickup configuration admin 7331   2023-07-27
 
163 t_relay opensips admin 7236   2023-07-25
 
162 debian 11 opensips 3.2 install command admin 11588   2023-06-25
 
161 Opensips Gateway between SIP and SMPP messages admin 268899   2019-02-19
 
160 smpp sms opensips admin 13667   2019-02-19
 
159 Busy Lamp Field (BLF) feature on Opensips 2.4.0 with Zoiper configuration admin 23182   2018-05-29
 
158 Documentation -> Tutorials -> WebSocket Transport using OpenSIPS admin 19819   2018-05-17
 
157 List of SIP response codes admin 43549   2017-12-20
 
156 opensips/modules/event_routing/ Push Notification Call pickup admin 16457   2017-12-20
 
155 opensips push notification How to detail file admin 26814   2017-12-20
 
154 OpenSIPS routing logic admin 48407   2017-12-12
 
153 OpenSIPS example configuration admin 20486   2017-12-12
 
152 opensips complete configuration example admin 43737   2017-12-10
 
151 Opensips1.6 ebook detail configuration and SIP signal and NAT etc file admin 74071   2017-12-10
 
150 dictionary.opensips radius admin 97550   2017-12-09
 
149 what is record_route() in opensips ? admin 26307   2017-12-09
 
148 what is loose_route() in opensips ? file admin 25607   2017-12-09
 
147 in opensips what is lookup(domain [, flags [, aor]]) admin 93423   2017-12-09
 
146 in opensips db_does_uri_exist() what is admin 20227   2017-12-09
 
145 in opensips what is has_totag() admin 23954   2017-12-09
 
144 opensips exec module admin 20587   2017-12-08
 
143 opensips push notification How to admin 23450   2017-12-07