<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><font size="+1"><tt>Hi,</tt></font></p>
    <p><font size="+1"><tt>We have been using Voxbone for some time for
          origination, and they now offer E911 services.  We are trying
          to set this up and having trouble meeting their authentication
          requirements.</tt></font></p>
    <p><font size="+1"><tt>I setup a peer as I normally would, with
          user/pass as they supplied ("lacoursj", "pass"), but my calls
          are rejected.  Their support is asking that I follow this auth
          mechanism:</tt></font></p>
    <p><font size="+1"><tt>1st step - You send an INVITE message.<br>
          2nd step - We respond with a 407.<br>
          3rd step - You send a RE INVITE message including your
          credentials.</tt></font></p>
    <p><font size="+1"><tt> The tricky bit seems to be that they want
          the original INVITE to look like:</tt></font></p>
    <p><font size="+1"><tt><span style="color: rgb(45, 55, 77);
            font-size: 14px; font-style: normal; font-variant-ligatures:
            normal; font-variant-caps: normal; font-weight: 400;
            letter-spacing: normal; text-align: left; text-indent: 0px;
            text-transform: none; white-space: normal; word-spacing:
            0px; -webkit-text-stroke-width: 0px; background-color:
            rgb(255, 255, 255); text-decoration-style: initial;
            text-decoration-color: initial; display: inline ! important;
            float: none;">From: <sip:</span><b style="box-sizing:
            border-box; font-weight: 700; color: rgb(45, 55, 77);
            font-size: 14px; font-style: normal; font-variant-ligatures:
            normal; font-variant-caps: normal; letter-spacing: normal;
            text-align: left; text-indent: 0px; text-transform: none;
            white-space: normal; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(255,
            255, 255); text-decoration-style: initial;
            text-decoration-color: initial;">17864089672</b><span
            style="color: rgb(45, 55, 77); font-size: 14px; font-style:
            normal; font-variant-ligatures: normal; font-variant-caps:
            normal; font-weight: 400; letter-spacing: normal;
            text-align: left; text-indent: 0px; text-transform: none;
            white-space: normal; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(255,
            255, 255); text-decoration-style: initial;
            text-decoration-color: initial; display: inline ! important;
            float: none;">@X.X.X.X:60060>;tag=as00771983.</span><br
            style="box-sizing: border-box; color: rgb(45, 55, 77);
            font-size: 14px; font-style: normal; font-variant-ligatures:
            normal; font-variant-caps: normal; font-weight: 400;
            letter-spacing: normal; text-align: left; text-indent: 0px;
            text-transform: none; white-space: normal; word-spacing:
            0px; -webkit-text-stroke-width: 0px; background-color:
            rgb(255, 255, 255); text-decoration-style: initial;
            text-decoration-color: initial;">
          <span style="color: rgb(45, 55, 77); font-size: 14px;
            font-style: normal; font-variant-ligatures: normal;
            font-variant-caps: normal; font-weight: 400; letter-spacing:
            normal; text-align: left; text-indent: 0px; text-transform:
            none; white-space: normal; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(255,
            255, 255); text-decoration-style: initial;
            text-decoration-color: initial; display: inline ! important;
            float: none;">To: <a class="moz-txt-link-rfc2396E"
              href="mailto:sip:777@voxout.voxbone.com"><sip:777@voxout.voxbone.com></a>.</span><br
            style="box-sizing: border-box; color: rgb(45, 55, 77);
            font-size: 14px; font-style: normal; font-variant-ligatures:
            normal; font-variant-caps: normal; font-weight: 400;
            letter-spacing: normal; text-align: left; text-indent: 0px;
            text-transform: none; white-space: normal; word-spacing:
            0px; -webkit-text-stroke-width: 0px; background-color:
            rgb(255, 255, 255); text-decoration-style: initial;
            text-decoration-color: initial;">
          <span style="color: rgb(45, 55, 77); font-size: 14px;
            font-style: normal; font-variant-ligatures: normal;
            font-variant-caps: normal; font-weight: 400; letter-spacing:
            normal; text-align: left; text-indent: 0px; text-transform:
            none; white-space: normal; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(255,
            255, 255); text-decoration-style: initial;
            text-decoration-color: initial; display: inline ! important;
            float: none;">Contact: <sip:</span><b style="box-sizing:
            border-box; font-weight: 700; color: rgb(45, 55, 77);
            font-size: 14px; font-style: normal; font-variant-ligatures:
            normal; font-variant-caps: normal; letter-spacing: normal;
            text-align: left; text-indent: 0px; text-transform: none;
            white-space: normal; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(255,
            255, 255); text-decoration-style: initial;
            text-decoration-color: initial;">17864089672</b><span
            style="color: rgb(45, 55, 77); font-size: 14px; font-style:
            normal; font-variant-ligatures: normal; font-variant-caps:
            normal; font-weight: 400; letter-spacing: normal;
            text-align: left; text-indent: 0px; text-transform: none;
            white-space: normal; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(255,
            255, 255); text-decoration-style: initial;
            text-decoration-color: initial; display: inline ! important;
            float: none;">@X.X.X.X:60060>.</span></tt></font></p>
    <p><font size="+1"><tt>The "1786..." above is meant to be the DID
          number that is placing the 911 call. Our DID numbers don't
          have peer or user entries in sip.conf. My peer isn't sending
          that, though, it is sending:</tt></font></p>
    <p><font size="+1"><tt><span style="color: rgb(45, 55, 77);
            font-size: 14px; font-style: normal; font-variant-ligatures:
            normal; font-variant-caps: normal; font-weight: 400;
            letter-spacing: normal; text-align: left; text-indent: 0px;
            text-transform: none; white-space: normal; word-spacing:
            0px; -webkit-text-stroke-width: 0px; background-color:
            rgb(255, 255, 255); text-decoration-style: initial;
            text-decoration-color: initial; display: inline ! important;
            float: none;">From: <sip:</span><b style="box-sizing:
            border-box; font-weight: 700; color: rgb(45, 55, 77);
            font-size: 14px; font-style: normal; font-variant-ligatures:
            normal; font-variant-caps: normal; letter-spacing: normal;
            text-align: left; text-indent: 0px; text-transform: none;
            white-space: normal; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(255,
            255, 255); text-decoration-style: initial;
            text-decoration-color: initial;">lacoursj</b><span
            style="color: rgb(45, 55, 77); font-size: 14px; font-style:
            normal; font-variant-ligatures: normal; font-variant-caps:
            normal; font-weight: 400; letter-spacing: normal;
            text-align: left; text-indent: 0px; text-transform: none;
            white-space: normal; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(255,
            255, 255); text-decoration-style: initial;
            text-decoration-color: initial; display: inline ! important;
            float: none;">@X.X.X.X:60060>;tag=as00771983.</span><br
            style="box-sizing: border-box; color: rgb(45, 55, 77);
            font-size: 14px; font-style: normal; font-variant-ligatures:
            normal; font-variant-caps: normal; font-weight: 400;
            letter-spacing: normal; text-align: left; text-indent: 0px;
            text-transform: none; white-space: normal; word-spacing:
            0px; -webkit-text-stroke-width: 0px; background-color:
            rgb(255, 255, 255); text-decoration-style: initial;
            text-decoration-color: initial;">
          <span style="color: rgb(45, 55, 77); font-size: 14px;
            font-style: normal; font-variant-ligatures: normal;
            font-variant-caps: normal; font-weight: 400; letter-spacing:
            normal; text-align: left; text-indent: 0px; text-transform:
            none; white-space: normal; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(255,
            255, 255); text-decoration-style: initial;
            text-decoration-color: initial; display: inline ! important;
            float: none;">To: <a class="moz-txt-link-rfc2396E"
              href="mailto:sip:777@voxout.voxbone.com"><sip:777@voxout.voxbone.com></a>.</span><br
            style="box-sizing: border-box; color: rgb(45, 55, 77);
            font-size: 14px; font-style: normal; font-variant-ligatures:
            normal; font-variant-caps: normal; font-weight: 400;
            letter-spacing: normal; text-align: left; text-indent: 0px;
            text-transform: none; white-space: normal; word-spacing:
            0px; -webkit-text-stroke-width: 0px; background-color:
            rgb(255, 255, 255); text-decoration-style: initial;
            text-decoration-color: initial;">
          <span style="color: rgb(45, 55, 77); font-size: 14px;
            font-style: normal; font-variant-ligatures: normal;
            font-variant-caps: normal; font-weight: 400; letter-spacing:
            normal; text-align: left; text-indent: 0px; text-transform:
            none; white-space: normal; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(255,
            255, 255); text-decoration-style: initial;
            text-decoration-color: initial; display: inline ! important;
            float: none;">Contact: <sip:</span><b style="box-sizing:
            border-box; font-weight: 700; color: rgb(45, 55, 77);
            font-size: 14px; font-style: normal; font-variant-ligatures:
            normal; font-variant-caps: normal; letter-spacing: normal;
            text-align: left; text-indent: 0px; text-transform: none;
            white-space: normal; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(255,
            255, 255); text-decoration-style: initial;
            text-decoration-color: initial;">lacoursj</b><span
            style="color: rgb(45, 55, 77); font-size: 14px; font-style:
            normal; font-variant-ligatures: normal; font-variant-caps:
            normal; font-weight: 400; letter-spacing: normal;
            text-align: left; text-indent: 0px; text-transform: none;
            white-space: normal; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: rgb(255,
            255, 255); text-decoration-style: initial;
            text-decoration-color: initial; display: inline ! important;
            float: none;">@X.X.X.X:60060>.</span></tt></font></p>
    <p><tt>They claim that 'lacoursj' shouldn't be sent until step 3.</tt></p>
    <p><tt>I have never been asked to authenticate this way... can
        asterisk chan_sip do it?</tt></p>
    <p><tt>Cheers,</tt></p>
    <tt>j</tt>
  </body>
</html>