FYI,<br><br>Darren Schreiber did a nice presentation on SIP 101 that covers this. Look at June 20, 2012 here:<br><a href="http://wiki.freeswitch.org/wiki/Weekly_Conference_Call">http://wiki.freeswitch.org/wiki/Weekly_Conference_Call</a><br>
<br>There is a PDF to go along with the audio recording. I highly recommend any SIP n00bs check it out.<br><br><div class="gmail_quote">On Mon, Dec 10, 2012 at 9:49 AM, Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Please provide more information. Is your authentication failing?<div><br></div><div>401 Unauthorized is 100% normal behaviour for a SIP call to authenticate.</div>
<div><br></div><div>The call flow is:</div><div>&gt; REGISTER</div>

<div>&lt; 401 Unauthorized (with WWW-Authenticate header)</div><div>&gt; REGISTER (with Authorization header)</div><div>&lt; 200 OK</div><div>Ditto for INVITE.</div><div><br></div><div>The 401 is required to give the WWW-Authenticate challenge which is required to generate the Authorization header. Thus for a authenticated call the 401 &#39;error&#39; is normal and expected.</div>


<div><br></div><div>If authentication is failing after the upgrade or you were not requiring authentication before the upgrade, perhaps during the upgrade your configuration files were modified or the location has moved?</div>


<div><br></div><div>-Steve</div><div><br></div><div><br><br><div class="gmail_quote"><div><div class="h5">On 10 December 2012 15:39, Blake Priddy <span dir="ltr">&lt;<a href="mailto:bpriddy@bryantschools.org" target="_blank">bpriddy@bryantschools.org</a>&gt;</span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">So I updated to the latest git head and now several phones NOT ALL, including mine :( are giving me<div>
<br></div><div>

2012-12-10 09:36:04.584347 [DEBUG] sofia_reg.c:1498 Send challenge for [<a href="mailto:1206@pbx.bryantschools.org" target="_blank">1206@pbx.bryantschools.org</a>]<div>
2012-12-10 09:36:04.584347 [WARNING] sofia_reg.c:1502 SIP auth challenge (REGISTER) on sofia profile &#39;internal&#39; for [<a href="mailto:1206@pbx.bryantschools.org" target="_blank">1206@pbx.bryantschools.org</a>] from ip 10.10.24.20</div>



<div>send 679 bytes to udp/[10.10.24.20]:3072 at 15:36:04.585091:</div><div>   ------------------------------------------------------------------------</div><div>   SIP/2.0 401 Unauthorized</div><div>   Via: SIP/2.0/UDP 10.10.24.20:3072;branch=z9hG4bK-n757mrbdlqdw;rport=3072</div>



<div>   From: &quot;Blake Priddy&quot; &lt;<a href="mailto:sip%3A1206@pbx.bryantschools.org" target="_blank">sip:1206@pbx.bryantschools.org</a>&gt;;tag=dbou3jy9kf</div><div>   To: &quot;Blake Priddy&quot; &lt;<a href="mailto:sip%3A1206@pbx.bryantschools.org" target="_blank">sip:1206@pbx.bryantschools.org</a>&gt;;tag=v2Kpa56439DgK</div>



<div>   Call-ID: 4e000000e08c-cm5eg6nr96al</div><div>   CSeq: 7373 REGISTER</div><div>   User-Agent: FreeSWITCH-mod_sofia/1.3.9b+git~20121206T182231Z~a7fafb2039</div><div>   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE</div>



<div>   Supported: timer, precondition, path, replaces</div><div>   WWW-Authenticate: Digest realm=&quot;<a href="http://pbx.bryantschools.org" target="_blank">pbx.bryantschools.org</a>&quot;, nonce=&quot;4f0b07b6-42df-11e2-ab4a-4bb963400da6&quot;, algorithm=MD5, qop=&quot;auth&quot;</div>



<div>   Content-Length: 0</div><div>   </div><div>   ------------------------------------------------------------------------</div><div>recv 884 bytes from udp/[10.10.24.20]:3072 at 15:36:04.680840:</div><div>   ------------------------------------------------------------------------</div>



<div>   REGISTER sip:<a href="http://pbx.bryantschools.org" target="_blank">pbx.bryantschools.org</a> SIP/2.0</div><div>   Via: SIP/2.0/UDP 10.10.24.20:3072;branch=z9hG4bK-cpukgis6pexk;rport</div><div>   From: &quot;Blake Priddy&quot; &lt;<a href="mailto:sip%3A1206@pbx.bryantschools.org" target="_blank">sip:1206@pbx.bryantschools.org</a>&gt;;tag=dbou3jy9kf</div>



<div>   To: &quot;Blake Priddy&quot; &lt;<a href="mailto:sip%3A1206@pbx.bryantschools.org" target="_blank">sip:1206@pbx.bryantschools.org</a>&gt;</div><div>   Call-ID: 4e000000e08c-cm5eg6nr96al</div><div>   CSeq: 7374 REGISTER</div>


<div>
   Max-Forwards: 70</div><div>   Contact: &lt;<a href="http://sip:1206@10.10.24.20:3072" target="_blank">sip:1206@10.10.24.20:3072</a>&gt;;reg-id=1;q=1.0;+sip.instance=&quot;&lt;urn:uuid:cb7105d7-ce2c-4835-8300-000413411CA5&gt;&quot;</div>



<div>   User-Agent: snom870/<a href="http://8.7.3.10" target="_blank">8.7.3.10</a></div><div>   Allow-Events: dialog</div><div>   X-Real-IP: 10.10.24.20</div><div>   Supported: path, gruu</div><div>   WWW-Contact: &lt;<a href="http://10.10.24.20:80" target="_blank">http://10.10.24.20:80</a>&gt;</div>



<div>   WWW-Contact: &lt;<a href="https://10.10.24.20:443" target="_blank">https://10.10.24.20:443</a>&gt;</div><div>   Authorization: Digest username=&quot;1206&quot;,realm=&quot;<a href="http://pbx.bryantschools.org" target="_blank">pbx.bryantschools.org</a>&quot;,nonce=&quot;4f0b07b6-42df-11e2-ab4a-4bb963400da6&quot;,uri=&quot;sip:<a href="http://pbx.bryantschools.org" target="_blank">pbx.bryantschools.org</a>&quot;,qop=auth,nc=00000001,cnonce=&quot;4afc06b9&quot;,response=&quot;8c9a1fcedd906467bd0afa2b98b50829&quot;,algorithm=MD5</div>



<div>   Expires: 3600</div><div>   Content-Length: 0</div><div><br></div><div><br></div><div>So........ Yea ha</div><span><font color="#888888"><div><br></div>-- <br><span></span><span></span> 
<div><span style="border-collapse:collapse;font-size:13px"><img src="" height="96" width="96"><br><b style="font-family:georgia,serif">Blakelund Priddy</b><br>
<span style="font-family:georgia,serif"></span>
<div style="font-family:arial,sans-serif;color:rgb(80,0,80)"><font color="#000000" face="Georgia">Network Systems Engineer</font><br><span style="font-family:georgia,serif">Bryant Public School District</span><br style="font-family:georgia,serif">



<span style="font-family:georgia,serif">Bryant, Arkansas 72022</span><br style="font-family:georgia,serif"><a style="font-family:georgia,serif;color:rgb(0,0,0)" href="http://www.bryantschools.org/" target="_blank">http://www.bryantschools.org</a><br style="font-family:georgia,serif">



</div><span style="font-family:georgia,serif">p <a href="tel:501-653-5038" value="+15016535038" target="_blank">501-653-5038</a></span><br style="font-family:georgia,serif"><font face="georgia, serif">f <a href="tel:501-847-5656" value="+15018475656" target="_blank">501-847-5656</a></font></span></div>


<br>
</font></span></div>
<br></div></div><div class="im">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></div></blockquote></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br><br>