i am stuck in NAT issue on ec2 cloud computing from last 2-3 days , may be
some of you are doing setup and integration on cloud.
below is my setup details which may help you to suggest me solution.
Asterisk version : 126.96.36.199
1) Kamailio server having public_ip as well local ip .i am using mediaproxy
[also tried rtpproxy] .
2) Asterisk server having public_ip as well local ip.
*UAC —–> KAMAILIO —–> ASTERISK*
UAC registered to kamailio registration is successful. once it dial PSTN
number i forwarded a call to asterisk server and then is created problem
because i am not getting any media from asterisk server.
so basically UAC sends a registered request to kamailio public ip and
kamailio and asterisk works on private ip , it sends data to asterisk
private ip, i am getting sip signaling and it looks okay. i can provide it
too if we required.
here is my asterisk sip.conf kamailio context looks like
; for below three i have tried all available options
let me know how to solve this nating issue also i opened all required ports
for sip. and rtp