<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
<div class="moz-cite-prefix">On 3/26/13 2:38 AM, Felipe Ramos wrote:<br>
</div>
<blockquote
cite="mid:CAHjGmH=cG8b+H4YHONgTjdFseVRN7Vqgu02qiOiJ8gYtN6ZNAA@mail.gmail.com"
type="cite">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 </blockquote>
<br>
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.<br>
<br>
Use:<br>
<br>
<div>listen=<a class="moz-txt-link-freetext" href="udp:_internal_ip_:5060">udp:_internal_ip_:5060</a> advertise _external_ip_:5060 <br>
<br>
</div>
<br>
<blockquote
cite="mid:CAHjGmH=cG8b+H4YHONgTjdFseVRN7Vqgu02qiOiJ8gYtN6ZNAA@mail.gmail.com"
type="cite">and proxy all media from outside to internal asterisk
farm.</blockquote>
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.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote
cite="mid:CAHjGmH=cG8b+H4YHONgTjdFseVRN7Vqgu02qiOiJ8gYtN6ZNAA@mail.gmail.com"
type="cite">
<div><br>
</div>
<div>Please any help will be appreciated.</div>
<div>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.</div>
<div><br>
</div>
<div>
Again thank you before hand.</div>
<div><br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, April 16-17, 2013, Berlin
- <a class="moz-txt-link-freetext" href="http://conference.kamailio.com">http://conference.kamailio.com</a> -</pre>
</body>
</html>