Hey Davy, 

Thanks for looking into it, I've already setup RTPproxy as Standard procedure as published in this Kamailio KB/Wiki
RTPproxy is currently working fine for any NAT'd cleints. i.e

Client(10.2.3.45)->VMAsterisk(NAT'd)<--->Windows7Host(172.16.30.30)<-->NAT'd<---->(internet)<--->Kamailio<-->Asterisk

This works fine. the only thing now I'm wishing to establish is put Asterisks/Freeswitches in Private/LAN block so I've no limitation on buying Public IPs for Media-Services.

I was also hoping in the beginning that stock/standard configurations for this setup. I'd to start RTPproxy in Bridge mode and also force_send_socket before relaying calls to private-ip Servers etc. but all in vain.

I'm still working to make it work like I pictured it. Any help in it would be much appreciated. I'm already very thankful to Alex for helping and pointing to some direction last-night.

Thanks and Best Regards,
Sammy

On Fri, Nov 4, 2011 at 12:03 PM, davy van de moere <davy.van.de.moere@gmail.com> wrote:
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



_______________________________________________
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