<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><br>
      Thats till doesn't change the SIP header.  Basically they want to
      send a RE INVITE and authenticate my DID number.  But my DID
      number does not have a peer or user entry in sip.conf.  Perhaps I
      am answering my own question, but is that the only way this is
      going to work?<br>
      <br>
      Thanks,<br>
      <br>
      j<br>
      <br>
      On 05/08/2018 02:54 PM, Khalil Khamlichi wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEK98Waw8i7QjdisG63o9Kgb+j33aYXFvnucpNztjZBpHj3VLQ@mail.gmail.com">
      <div dir="auto">try adding a + sign for the number
        <div dir="auto"><br>
          <div dir="auto">
            <blockquote
style="color:rgb(128,0,128);font-family:sans-serif;font-size:12.8px;margin-left:0.8ex!important;margin-right:0px!important;border-left:1px
              solid
              rgb(204,204,204)!important;padding-left:1ex!important">
              <div dir="auto">
                <div>
                  <div dir="auto">same => n,Set(CALLERID(all)=<span
style="background-color:rgb(255,255,255);color:rgb(45,55,77);font-family:monospace;font-size:14px;font-weight:700">17864089672
                      <+</span><span
style="background-color:rgb(255,255,255);color:rgb(45,55,77);font-family:monospace;font-size:14px;font-weight:700">17864089672>)</span></div>
                </div>
              </div>
            </blockquote>
          </div>
          <div dir="auto"><br>
          </div>
          <div dir="auto"><br>
          </div>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Tue, May 8, 2018, 8:51 PM Jeff LaCoursiere
          <<a href="mailto:jeff@stratustalk.com"
            moz-do-not-send="true">jeff@stratustalk.com</a>> wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div text="#000000" bgcolor="#FFFFFF">
            <div class="m_-2964377173130737821moz-cite-prefix"><br>
              I *am* doing that, as I assumed it would be required just
              for the 911 mapping we have provided, but that doesn't
              change the SIP header.<br>
              <br>
              Cheers,<br>
              <br>
              j<br>
              <br>
              On 05/08/2018 02:41 PM, Khalil Khamlichi wrote:<br>
            </div>
            <blockquote type="cite">
              <div dir="auto">
                <div>try setting the callerid with
                  <div dir="auto"><br>
                  </div>
                  <div dir="auto">same => n,Set(CALLERID(all)=<span
style="background-color:rgb(255,255,255);color:rgb(45,55,77);font-family:monospace;font-size:14px;font-weight:700">17864089672
                      <</span><span
style="background-color:rgb(255,255,255);color:rgb(45,55,77);font-family:monospace;font-size:14px;font-weight:700">17864089672>)</span></div>
                  <div dir="auto"><span
style="background-color:rgb(255,255,255);color:rgb(45,55,77);font-family:monospace;font-size:14px;font-weight:700"><br>
                    </span></div>
                  <div dir="auto"><span
style="background-color:rgb(255,255,255);color:rgb(45,55,77);font-family:monospace;font-size:14px;font-weight:700">ofcourse
                      for each customer you will need to provide his own
                      did.</span></div>
                  <br>
                  <br>
                  <div class="gmail_quote">
                    <div dir="ltr">On Tue, May 8, 2018, 8:37 PM Jeff
                      LaCoursiere <<a
                        href="mailto:jeff@stratustalk.com"
                        target="_blank" rel="noreferrer"
                        moz-do-not-send="true">jeff@stratustalk.com</a>>
                      wrote:<br>
                    </div>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div 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;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;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;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;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;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline!important;float:none">To:
                                <a
                                  class="m_-2964377173130737821m_8561265757666998662moz-txt-link-rfc2396E"
href="mailto:sip:777@voxout.voxbone.com" rel="noreferrer noreferrer"
                                  target="_blank" moz-do-not-send="true"><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;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;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;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;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;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;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;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;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;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline!important;float:none">To:
                                <a
                                  class="m_-2964377173130737821m_8561265757666998662moz-txt-link-rfc2396E"
href="mailto:sip:777@voxout.voxbone.com" rel="noreferrer noreferrer"
                                  target="_blank" moz-do-not-send="true"><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;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;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;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;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> </div>
                      -- <br>
_____________________________________________________________________<br>
                      -- Bandwidth and Colocation Provided by <a
                        href="http://www.api-digital.com"
                        rel="noreferrer noreferrer noreferrer"
                        target="_blank" moz-do-not-send="true">http://www.api-digital.com</a>
                      --<br>
                      <br>
                      Check out the new Asterisk community forum at: <a
                        href="https://community.asterisk.org/"
                        rel="noreferrer noreferrer noreferrer"
                        target="_blank" moz-do-not-send="true">https://community.asterisk.org/</a><br>
                      <br>
                      New to Asterisk? Start here:<br>
                            <a
                        href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started"
                        rel="noreferrer noreferrer noreferrer"
                        target="_blank" moz-do-not-send="true">https://wiki.asterisk.org/wiki/display/AST/Getting+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 noreferrer noreferrer"
                        target="_blank" moz-do-not-send="true">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote>
                  </div>
                </div>
              </div>
              <br>
              <fieldset
                class="m_-2964377173130737821mimeAttachmentHeader"></fieldset>
              <br>
            </blockquote>
            <p><br>
            </p>
          </div>
          -- <br>
_____________________________________________________________________<br>
          -- Bandwidth and Colocation Provided by <a
            href="http://www.api-digital.com" rel="noreferrer
            noreferrer" target="_blank" moz-do-not-send="true">http://www.api-digital.com</a>
          --<br>
          <br>
          Check out the new Asterisk community forum at: <a
            href="https://community.asterisk.org/" rel="noreferrer
            noreferrer" target="_blank" moz-do-not-send="true">https://community.asterisk.org/</a><br>
          <br>
          New to Asterisk? Start here:<br>
                <a
            href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started"
            rel="noreferrer noreferrer" target="_blank"
            moz-do-not-send="true">https://wiki.asterisk.org/wiki/display/AST/Getting+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 noreferrer" target="_blank"
            moz-do-not-send="true">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>