If you want to have your Asterisks on only private IPs, you will need to use some sort of RTPProxy, the standard config examples typically work for that setup.

On the other hand, some people are starting to come back from that topo, and just use Asterisk (or freeswitch) as the RTPProxy. And perhaps you can just have your asterisk on a public IP. As the extra security you might think you have because it has a private IP, is much less then what the diagram says.

Anyhow all is possible, the beauty of flexibility :)



2011/11/4 Sammy Govind <govoiper@gmail.com>
Hello List,

I've successfully configured Kamailio with a farm of asterisk servers in L/B | F/O mode. The topology is something like below:

User<-->Kamailio<-->Asterisk-Servers 
Both kamailio and Asterisk serevrs are on public IPs

The problem:
Kamailio and Asterisk Servers need to be on Public IPs in order to fully handle NAT/media related issues. Whereas what I require is to have two interfaces at kamailio server, one is Public other is Private and All the Asterisk Servers should be on LAN/Private IPs.

I've tried making a scenario as per my requirement (attached image) but there are some serious NAT and media issues. 

Can anyone help me how to handle NAT'd Asterisk servers behind Kamailio?

Thanks and Best Regards.
Sammy

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users