Hello;
iam running kamailio 4  with two interfaces one public and the other private

am using the default kamailio.cfg file on ubuntu

<b>scenario</b>

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


<b>Achieved </b>
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

<b>help</b>

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"


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://sip-router.1086192.n5.nabble.com/one-audio-tp124687.html">one audio</a><br/>
Sent from the <a href="http://sip-router.1086192.n5.nabble.com/Users-f3.html">Users mailing list archive</a> at Nabble.com.<br/>