Hi List,
I have a Kamailio3.1 server and RTPProxy running in WAN.
The calls between UA will automatically terminated in Callee UA side 36s
after connected, while no one sends a BYE.
While Kamailio and UA are in LAN at all , everything is just working well.
Is it my rtpproxy doesn't working correctly or something else is wrong?
What can I do to fix it.
Any hint??
BTW,
Kamailio is installed following official guide
http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.1.x-from-git
The kamailio.cfg wasn't changed at all except for below:
-----------------------------------------------------------------------------------------
1) adding the following lines:
#!define WITH_MYSQL
#!define WITH_AUTH
#!define WITH_USRLOCDB
#!define WITH_NAT
2)uncommenting the line below in route[REGISTRAR],
setbflag(FLB_NATSIPPING);
3)change rtpproxy port corresponding
modparam("rtpproxy", "rtpproxy_sock",
"udp:127.0.0.1:22222")
-----------------------------------------------------------------------------------------
and my rtpproxy1.2.1 was installed by apt-get install rtpproxy,
with
1) /etc/default/rtpproxy changed into:
# Defaults for rtpproxy
# The control socket.
#CONTROL_SOCK="unix:/var/run/rtpproxy/rtpproxy.sock"
# To listen on an UDP socket, uncomment this line:
CONTROL_SOCK=udp:127.0.0.1:22222
LISTEN_ADDR=xx.xx.xx.xx
# Additional options that are passed to the daemon.
EXTRA_OPTS="-l ${LISTEN_ADDR}"
2) and started by
rtpproxy -l xx.xx.xx.xx -s udp:localhost:22222 -u kamailio
Your help will be great appreciated.
Coca