openser.cfg:
# ------------- !! Nathelper
modparam("registrar", "nat_flag", 6)
modparam("nathelper",
"natping_interval", 30) # Ping interval 30 s
modparam("nathelper",
"ping_nated_only", 1) # Ping only clients behind
NAT
modparam("nathelper", "rtpproxy_sock",
"unix:/var/run/rtpproxy.sock") # Nathelper with
RTPproxy
service run:
ps -aux | grep rtp
root 26098 0.0
0.0 2532 428 ? Ss
10:40 0:00 /usr/bin/rtpproxy
root 11143 0.0
0.0 2536 352 ? Ss
11:30 0:00 /usr/bin/rtpproxy -l xxx.xxx.xxx.xxx -s
udp:xxx.xxx.xxx.xxx 7890
logs:
Sep 10 11:32:59 src@sip2 /usr/sbin/openser[11859]: rtpp_test: RTP
proxy <unix:/var/run/rtpproxy.sock> found, support for it enabled
Sep
10 11:32:59 src@sip2 /usr/sbin/openser[11860]:
rtpp_test: RTP proxy <unix:/var/run/rtpproxy.sock> found, support for it
enabled
Sep 10 11:32:59 src@sip2
/usr/sbin/openser[11861]: rtpp_test: RTP proxy
<unix:/var/run/rtpproxy.sock> found, support for it enabled
Sep 10
11:32:59 src@sip2 /usr/sbin/openser[11862]:
rtpp_test: RTP proxy <unix:/var/run/rtpproxy.sock> found, support for it
enabled
Regards
Jeferson