<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Putting a sipwise instance on a private IP behind NAT its calling for problems, if you don't know how to correctly setup it.<br></div><div><br></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>De: </b>"Alvaro Avello" <alvaro.avello@gmail.com><br><b>Para: </b>spce-user@lists.sipwise.com<br><b>Enviados: </b>Jueves, 28 de Julio 2016 17:20:22<br><b>Asunto: </b>[Spce-user] Direct RTP on LAN / Signaling on Internet Host<br></blockquote></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir="ltr">Hi guys. We are building an proof of concept for internal use of sipwise and have some issues dealing with an architecture.<br><div>Let's say we have an office with a couple of yealink phones and a gateway FXO for some lines. On an external datacenter, we publish to internet a sipwise instance in order to allow registrations and deal with signaling. </div><br><div>So far, we are able to register phones, but each time we make a call, we have one way audio. if we use sngrep, we see two calls in state "CALL SETUP", but if you pick up the call, just one way audio. </div><br><div> Our experience in asterisk + yealink phones, the setup is fairy simple. You set the peers to allow direct rtp, and even if they are behind nat, they can register and the rtp flow is normal.</div><br><div>our network setup :</div><br><div>
<p class="gmail-p1"><span class="gmail-s1">/etc/ngcp-config/network.yml</span></p><p class="gmail-p1"><span class="gmail-s1">---</span></p>
<p class="gmail-p1"><span class="gmail-s1">hosts:</span></p>
<p class="gmail-p1"><span class="gmail-s1"> self:</span></p>
<p class="gmail-p1"><span class="gmail-s1"> dbnode: '1'</span></p>
<p class="gmail-p1"><span class="gmail-s1"> eth0:</span></p>
<p class="gmail-p1"><span class="gmail-s1"> ip: 10.1.2.21</span></p>
<p class="gmail-p1"><span class="gmail-s1"> netmask: 255.255.255.0</span></p>
<p class="gmail-p1"><span class="gmail-s1"> type:</span></p>
<p class="gmail-p1"><span class="gmail-s1"> - web_ext</span></p>
<p class="gmail-p1"><span class="gmail-s1"> - sip_ext</span></p>
<p class="gmail-p1"><span class="gmail-s1"> - rtp_ext</span></p>
<p class="gmail-p1"><span class="gmail-s1"> - web_int</span></p>
<p class="gmail-p1"><span class="gmail-s1"> - ssh_ext</span></p>
<p class="gmail-p1"><span class="gmail-s1"> interfaces:</span></p>
<p class="gmail-p1"><span class="gmail-s1"> - lo</span></p>
<p class="gmail-p1"><span class="gmail-s1"> - eth0</span></p>
<p class="gmail-p1"><span class="gmail-s1"> lo:</span></p>
<p class="gmail-p1"><span class="gmail-s1"> cluster_sets:</span></p>
<p class="gmail-p1"><span class="gmail-s1"> - default</span></p>
<p class="gmail-p1"><span class="gmail-s1"> ip: 127.0.0.1</span></p>
<p class="gmail-p1"><span class="gmail-s1"> netmask: 255.255.255.0</span></p>
<p class="gmail-p1"><span class="gmail-s1"> shared_ip: []</span></p>
<p class="gmail-p1"><span class="gmail-s1"> shared_v6ip: []</span></p>
<p class="gmail-p1"><span class="gmail-s1"> type:</span></p>
<p class="gmail-p1"><span class="gmail-s1"> - sip_int</span></p>
<p class="gmail-p1"><span class="gmail-s1"> - ha_int</span></p>
<p class="gmail-p1"><span class="gmail-s1"> - aux_ext</span></p>
<p class="gmail-p1"><span class="gmail-s1"> - ssh_ext</span></p>
<p class="gmail-p1"><span class="gmail-s1"> - api_int</span></p>
<p class="gmail-p1"><span class="gmail-s1"> v6ip: '::1'</span></p>
<p class="gmail-p1"><span class="gmail-s1"> role:</span></p>
<p class="gmail-p1"><span class="gmail-s1"> - proxy</span></p>
<p class="gmail-p1"><span class="gmail-s1"> - lb</span></p>
<p class="gmail-p1"><span class="gmail-s1"> - mgmt</span></p>
<p class="gmail-p1"><span class="gmail-s1"> - rtp</span></p>
<p class="gmail-p1"><span class="gmail-s1"> - db</span></p><p class="gmail-p1"><span class="gmail-s1"><br></span></p><p class="gmail-p1">Attached some screenshots of sngrep and costumer configuration</p></div><br><div>Thanks in advance.</div><br><div>Saludos / Regards,</div><br><div>Alvaro</div></div>
<br>_______________________________________________<br>Spce-user mailing list<br>Spce-user@lists.sipwise.com<br>https://lists.sipwise.com/listinfo/spce-user<br></blockquote></div></div></body></html>