Hi, this article may answer some of your questions 

https://www.kamailio.org/wiki/install/upgrade/4.4.x-to-5.0.0

On Wed, Aug 8, 2018, 01:06 ANOOP V M <anoop185728@gmail.com> wrote:
I have to configure the rtp proxy. The sip is working fine . But also i need to transmit the rtp packets also through kamailio. 

I was using kamailio version 
==============
version: kamailio 5.1.4 (x86_64/linux) 9e6f13
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: 9e6f13
compiled on 12:13:17 Jul 24 2018 with gcc 5.4.0
====================


But using this version, Sip proxy is working but rtp proxy not.

I think you have removed the mi_fifo in this version. I have reported this before and did not get any response from you.

So i have installed kamailio version 

==========================
version: kamailio 4.1.9 (x86_64/linux) ed7bb1
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, DBG_QM_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 4MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: ed7bb1
compiled on 11:24:29 Aug  7 2018 with gcc 5.4.0
===============================

Now i have installed rtp proxy and and it is running in my server.
 kamctl fifo nh_show_rtpp
udp:127.0.0.1:7722::  set=0
        index:: 0
        disabled:: 0
        weight:: 1
        recheck_ticks:: 0
.


But when i use the rtpproxy it says some error in log file as below.

Aug  8 07:34:51 ip-172-30-0-26 rtpproxy[1521]: DBUG:handle_command: received command "9834_10 Uc0,8,3,111,9,101 75bf3d1c656eb3c8560952220cc6cabd@52.90.183.183:5060 52.90.183.183 15712 as60627a88;1"
Aug  8 07:34:51 ip-172-30-0-26 rtpproxy[1521]: INFO:handle_command: new session 75bf3d1c656eb3c8560952220cc6cabd@52.90.183.183:5060, tag as60627a88;1 requested, type strong
Aug  8 07:34:51 ip-172-30-0-26 rtpproxy[1521]: ERR:create_twinlistener: can't bind to the IPv4 port 63826: Cannot assign requested address
Aug  8 07:34:51 ip-172-30-0-26 rtpproxy[1521]: ERR:handle_command: can't create listener
Aug  8 07:34:51 ip-172-30-0-26 rtpproxy[1521]: DBUG:doreply: sending reply "9834_10 E10#012"






Also the header is not changing for the sip packets.
Please help me. I did not find a complete documentation anywhere. Need your support as soon as possible.


I here by attaching my kamailio.cfg file for the current version and oldest one. Please check it and tell me if any changes needed.
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev