<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 8, 2016 at 1:12 PM, Steve Murphy <span dir="ltr"><<a href="mailto:murf@parsetree.com" target="_blank">murf@parsetree.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello!<br clear="all"></div><br><div style="font-family:arial,helvetica,sans-serif">Oh, wise ones, ponder with me over two of the surprises that <br></div><div style="font-family:arial,helvetica,sans-serif">populate the universe!<br><br><br></div><div style="font-family:arial,helvetica,sans-serif">I have a phone, that I sometimes cannot reach, connected via pjsip.<br></div><div style="font-family:arial,helvetica,sans-serif">It can call other extensions just fine, it can call out over a<br></div><div style="font-family:arial,helvetica,sans-serif">trunk to my cell, all is well, but getting a call? Forget it most of the time.<br><br></div><div style="font-family:arial,helvetica,sans-serif">Here is all the config relevant to that phone:<br><br><br clear="all"></div>[murftest12]<br>type=aor<br>qualify_frequency=1992<br>max_contacts=2<br></div></blockquote><div> </div><div><b>max_contacts = 1</b></div><div><b>remove_existing = yes</b></div><div><b>This should take care of mystery 1.</b></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">MYSTERY #2:<br><br></div><div style="font-family:arial,helvetica,sans-serif">The above cisco-spa, when it calls out over the trunk, all is well, wonderful 2-way audio.<br></div><div style="font-family:arial,helvetica,sans-serif">But when I do the same operation from my yealink phones, I get my cell with one-way audio.<br></div><div style="font-family:arial,helvetica,sans-serif">It's
 a classic NAT situation: the phone system is in a droplet at digital 
ocean, but my phones are here at home behind a NAT. I see only 3 NAT 
related options: <br><br></div><div style="font-family:arial,helvetica,sans-serif">force_rport<br></div><div style="font-family:arial,helvetica,sans-serif">rtp_symmetric<br></div><div style="font-family:arial,helvetica,sans-serif">rewrite_contact<br><br></div><div style="font-family:arial,helvetica,sans-serif">and I set them all to "yes", and they can call each other, but as explained, in<br></div><div style="font-family:arial,helvetica,sans-serif">dialing out thru a trunk, the yealinks get one-way audio... <br><br></div><div style="font-family:arial,helvetica,sans-serif">Any more NAT options?<br></div></div></blockquote><div><br></div><div>Do the phones have settings for NAT?  If so, turn them on.</div><div>Does your home router have a setting for SIP-ALG?  If so <b>TURN IT OFF!!</b></div><div>Give that a shot.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">many thanks...<br><br></div><div style="font-family:arial,helvetica,sans-serif">murf<span class="gmail-HOEnZb"><font color="#888888"><br></font></span></div><span class="gmail-HOEnZb"><font color="#888888">-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br>Steve Murphy<br><br><br>✉  murf at parsetree dot com<br><br></div></div></div></div></div></div></div></div>
</font></span></div>
<br>--<br>
______________________________<wbr>______________________________<wbr>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016<br>
      <a href="http://www.asterisk.org/community/astricon-user-conference" rel="noreferrer" target="_blank">http://www.asterisk.org/<wbr>community/astricon-user-<wbr>conference</a><br>
<br>
New to Asterisk? Start here:<br>
      <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/<wbr>wiki/display/AST/Getting+<wbr>Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/<wbr>mailman/listinfo/asterisk-<wbr>users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><span style="font-size:12.8px">George Joseph</span><br style="font-size:12.8px"><span style="font-size:12.8px">Digium, Inc. | Software Developer</span><span style="font-size:12.8px"><br>445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br></span><span style="font-size:12.8px">Check us out at: </span><a href="http://www.digium.com/" rel="noreferrer" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">www.digium.com</a><span style="font-size:12.8px"> & </span><a href="http://www.asterisk.org/" rel="noreferrer" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">www.asterisk.org</a><br><div><br></div></div></div>
</div></div>