<div dir="ltr">Yes, it requires a very particular configuration. With asterisk you in sip.conf you need<div><br></div><div>externaddr=you.public.ip</div><div><br></div><div>This is used in SIP registrations by Asterisk. You should also be comfortable with debugging the SIP traffic to make sure all IP's are set properly. For asterisk:</div><div><br></div><div>>sip set debug on</div><div><br></div><div>Look for REGISTER messages.</div><div><br></div><div>Another amazing tool for this is sipgrep (<a href="https://github.com/sipcapture/sipgrep">https://github.com/sipcapture/sipgrep</a>). It's like ngrep but for SIP.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="font-family:Helvetica;font-size:medium">Benjamin Fitzgerald</div><div style="font-family:Helvetica;font-size:medium">LETS Corporation</div><div style="font-family:Helvetica;font-size:medium">(925) 566-5600 ext. 25</div><div style="font-family:Helvetica;font-size:medium"><span style="text-align:-webkit-auto"><a href="mailto:ben@letscorp.us" style="color:rgb(17,85,204)" target="_blank">ben@letscorp.us</a></span></div><div style="font-family:Helvetica;font-size:medium"><br></div><div style="font-family:Helvetica;font-size:medium"><br></div><div><img src="https://drive.google.com/a/letscorp.us/uc?export=view&id=0BypXJ2tJXo79c0ZaNXJVUWFlMVk"><br></div><font size="1"><br style="font-family:Helvetica"><span style="font-family:Helvetica">*******Confidential Notice: </span><br style="font-family:Helvetica"><span style="font-family:Helvetica">This message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this message in error, please delete this message from all computers and contact Orion Systems/LETS Corp immediately by return e-mail and/or telephone at </span><a value="+19255665600" style="color:rgb(17,85,204);font-family:Helvetica">(925) 566-5600</a></font><br></div></div></div></div></div>
<br><div class="gmail_quote">On Fri, Aug 11, 2017 at 3:29 AM, <span dir="ltr"><<a href="mailto:vs@cell.tel" target="_blank">vs@cell.tel</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi!</div><div> </div><div>Could anyone advice me or provide an example of Kamailio config to solve this case:</div><div> </div><div>Current Kamailio+Asterisk schema:</div><div>(7XXX Users) <-> Asterisk <-> NAT <-> Internet <-> Kamailio <-> (4XXX Users)</div><div> </div><div> </div><div>7XXX Users registers on Asterisk server, and 4XXX Users registers on Kamailio.</div><div>In Addition, Asterisk registers on Kamailio with user 4444, and it is possible to make calls from 7XXX Users (Asterisk) to 4XXX Users (Kamailio) through 4444 "trunk".</div><div>Also, while Kamailio users (4XXX) call to 4444 number, call successfully goes to Asterisk.</div><div> </div><div> </div><div>How its possible to route all 7XXX destined calls from Kamailio users to Asterisk, while Asterisk is behind NAT???</div><div> </div><div>Config examples, i found, were writen only for situation with fixed asterisk IP and PORT, without nat ( <span style="white-space:pre-line">asterisk.bindip = "" ; </span><span style="white-space:pre-line">asterisk.bindport = "")</span></div><div> </div><div> </div><div> </div><div>Thanks in advance</div><br>______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br></blockquote></div><br></div>