<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 8/11/14, 10:57 AM, David Wessell
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAGKGV3x9jR4zGS9_1MBEzrbZ89bA7EacaJaHZoz1SsMXHawYBg@mail.gmail.com"
      type="cite">
      <div dir="ltr">I have an asterisk 1.8.x box that intermittently
        returns a 401. Calls come through the same peer all the time,
        from the same carrier. However intermittently the asterisk box
        returns a 401.
        <div><br>
        </div>
        <div>
          Below is the output of a failed call (1st) and a successful
          call (2nd). I can't see any difference until we get to these
          lines.</div>
        <div><br>
        </div>
        <div>Bad call:</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>--- (17 headers 14 lines) ---<br>
        </div>
        <div>
          <div>Sending to carrierIP:5060 (no NAT)</div>
          <div>Using INVITE request as basis request -
            41597440-0-320116780@carrierIP</div>
          <div>Found peer 'phonenumber' for 'phonenumber' from
            carrierIP:5060</div>
          <div><br>
          </div>
          <div><--- Reliably Transmitting (NAT) to carrierIP:5060
            ---></div>
          <div>SIP/2.0 401 Unauthorized</div>
        </div>
        <div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>--------</div>
          <div>Good call</div>
          <div><br>
          </div>
          <div>
            <div>--- (17 headers 14 lines) ---</div>
            <div>Sending to carrierIP:5060 (no NAT)</div>
            <div>Using INVITE request as basis request -
              41604639-0-321360830@carrierIP</div>
            <div>Found peer 'carrierIP' for 'phonenumber' from
              carrierIP:5060</div>
          </div>
          <div><--- Transmitting (no NAT) to carrierIP:5060 ---><br>
          </div>
          <div>Call proceeds here.</div>
          <div><br>
          </div>
          <div>-----</div>
          <div><br>
          </div>
          <div>It's all coming from the same carrier IP and the same SIP
            trunk. All are set via static IP (No registrations). And nat
            is set to no (Everything is on a public IP).</div>
        </div>
      </div>
    </blockquote>
    According to the above, the good call matches a different peer from
    the bad call.   Look into that and you will find the cause.<br>
    <blockquote
cite="mid:CAGKGV3x9jR4zGS9_1MBEzrbZ89bA7EacaJaHZoz1SsMXHawYBg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div><br>
          </div>
          <div>Has anyone else run across anything similar?</div>
          <div><br>
          </div>
          <div>Thanks<br>
            David</div>
          -- <br>
          <div dir="ltr">
            <p style="margin:0px 0px
10px;color:rgb(155,155,155);font-family:Helvetica,Arial,sans-serif;font-size:10px"><a
                moz-do-not-send="true" href="http://ringfree.biz/"
style="color:rgb(66,139,202);text-decoration:none;background:transparent"
                target="_blank"><img moz-do-not-send="true"
src="https://www.filepicker.io/api/file/Kbjiq7X7QHuK1CEFUZXl/convert?w=150&h=55&fit=clip"
                  alt="Ringfree Communications, Inc" style="border: 0px;
                  vertical-align: middle;" border="0"></a></p>
            <p style="margin:0px 0px
10px;font-family:Helvetica,Arial,sans-serif;font-size:10px;line-height:11px;color:rgb(153,153,153)"><span
                style="font-weight:bold">David Wessell</span> <span>/</span> <span>President</span><br>
              <span>828-575-0030 x101</span><span>/</span> <a
                moz-do-not-send="true" href="mailto:david@ringfree.biz"
style="color:rgb(110,142,227);text-decoration:none;background:transparent"
                target="_blank">david@ringfree.biz</a></p>
            <p style="margin:0px 0px
10px;color:rgb(155,155,155);font-family:Helvetica,Arial,sans-serif;font-size:10px;line-height:11px"><span
                style="font-weight:bold;color:rgb(153,153,153)">Ringfree
                Communications, Inc</span> <span
                style="color:rgb(153,153,153)">Office: </span><span
                style="color:rgb(153,153,153)">828-575-0030</span> <span
                style="color:rgb(153,153,153)">/ Fax: </span><span
                style="color:rgb(153,153,153)">888-243-7830</span> <span><br>
              </span><span style="color:rgb(153,153,153)">PO BOX 1994
                Hendersonville, NC 28793</span><br>
              <a moz-do-not-send="true" href="http://ringfree.biz/"
style="color:rgb(110,142,227);text-decoration:none;background:transparent"
                target="_blank">http://ringfree.biz</a></p>
            <p style="margin:0px 0px
10px;color:rgb(155,155,155);font-family:Helvetica,Arial,sans-serif;font-size:10px;line-height:11px"><span
                style="color:rgb(153,153,153);font-size:9px">This e-mail
                message may contain confidential or legally privileged
                information and is intended only for the use of the
                intended recipient(s). Any unauthorized disclosure,
                dissemination, distribution, copying or the taking of
                any action in reliance on the information herein is
                prohibited. E-mails are not secure and cannot be
                guaranteed to be error free as they can be intercepted,
                amended, or contain viruses. Anyone who communicates
                with us by e-mail is deemed to have accepted these
                risks. Company Name is not responsible for errors or
                omissions in this message and denies any responsibility
                for any damage arising from the use of e-mail. Any
                opinion and other statement contained in this message
                and any attachment are solely those of the author and do
                not necessarily represent those of the company.</span></p>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Technical Support
<a class="moz-txt-link-freetext" href="http://www.cellroute.net">http://www.cellroute.net</a></pre>
  </body>
</html>