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
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]: 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.
_______________________________________________