<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">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_8561265757666998662moz-txt-link-rfc2396E" href="mailto:sip:777@voxout.voxbone.com" target="_blank" rel="noreferrer"><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_8561265757666998662moz-txt-link-rfc2396E" href="mailto:sip:777@voxout.voxbone.com" target="_blank" rel="noreferrer"><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" target="_blank">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">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">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">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div></div></div>