Hello;
iam running kamailio 4 with two interfaces one public and the other private
am using the default kamailio.cfg file on ubuntu
scenario
register and route calls on asterisk through the proxy private interface on the lan interface
register and route calls on asterisk through the public interface if you are on the internet
be able to call from either lan or internet to any one registered on the lan or internet
Achieved
can make register and make calls between endponts both on the internet two way audio
calls from the internet endpoint to lan registered end point one way audio
calls from lan endpoint to internet endpoint no audio
calls from lan to lan endpoints no audio
help
configuration of rtpproxy rule to allow audio flow to all endpoints
lan to lan lan to internet internet to lan
using the default configuration file
route -n
0.0.0.0 public 0.0.0.0 UG 1 0 0 eth0
0.0.0.0 private 0.0.0.0 UG 2 0 0 eth1
public 0.0.0.0 pub sunet U 0 0 0 eth0
private 0.0.0.0 pri subnet U 0 0 0 eth1
/etc/default/rtpproxy
CONTROL_SOCK="-F -s udp:*:7722"
EXTRA_OPTS="-l public/private -d DBUG:LOG_LOCAL0 -u rtpproxy"