[SR-Users] Kamailio on AWS

Daniel-Constantin Mierla miconda at gmail.com
Tue Mar 26 10:13:24 CET 2013


Hello,

On 3/26/13 2:38 AM, Felipe Ramos wrote:
> Can anyone please point me on a configuration example for kamailio 
> when it is behind NAT, i need to change the contact ip from internal 
> to external on sdp 

you should not need that. Kamailio should do record routing, advertising 
the public IP, so the signaling from the other side is sent to Route 
headers, not to Contact address.

Use:

listen=udp:_internal_ip_:5060 advertise _external_ip_:5060


> and proxy all media from outside to internal asterisk farm.
Asterisk has support for external IP, so it can advertise that IP in SDP 
and the media will go directly to the asterisk. Makes no sense to make a 
user space forwarding with rtpproxy.

Cheers,
Daniel

>
> Please any help will be appreciated.
> most of documentation available is when client is behind Nat but not 
> when Server behind Nat like is the case with Amazon aws vpc instances.
>
> Again thank you before hand.
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, April 16-17, 2013, Berlin
  - http://conference.kamailio.com -

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130326/7ac4fd09/attachment.htm>


More information about the sr-users mailing list