<div dir="ltr"> I had exact same issue with pjsip instead of sip - I was able to solve it by setting the password to blank. But I switched to asterisk 11 because the chan_mobile module was giving me troubles in 13.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 22, 2015 at 7:07 AM, Brendan Ord <span dir="ltr"><<a href="mailto:bord@staff.onthenet.com.au" target="_blank">bord@staff.onthenet.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-AU">
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Hi list,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">I’ve been googling this issue and found some good resources however I am still running into problems with the following combo … Here’s my story;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
<p><u></u><span style="font-family:"Verdana","sans-serif""><span>-<span style="font:7.0pt "Times New Roman"">     
</span></span></span><u></u><span style="font-family:"Verdana","sans-serif"">Asterisk 13.4 with FreePBX 12.<u></u><u></u></span></p>
<p><u></u><span style="font-family:"Verdana","sans-serif""><span>-<span style="font:7.0pt "Times New Roman"">     
</span></span></span><u></u><span style="font-family:"Verdana","sans-serif"">Migrating from Asterisk 11 / FreePBX 2.11<u></u><u></u></span></p>
<p><u></u><span style="font-family:"Verdana","sans-serif""><span>-<span style="font:7.0pt "Times New Roman"">     
</span></span></span><u></u><span style="font-family:"Verdana","sans-serif"">Mix of Cisco 79xx handsets, mostly 7940G’s.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">My problems started with (the very common) issue of the 7940 not replying to 401 UNAUTHORIZED with a second REGISTER containing the auth digest details.  A quick Google found a heap of information
 in various forums, all with replies from Joshua Colp stating that force_rport=no needs to be set for these endpoints, see
<a href="http://forums.digium.com/viewtopic.php?f=1&t=91699" target="_blank">http://forums.digium.com/viewtopic.php?f=1&t=91699</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">So, (being that this is FreePBX and the main conf files are controlled by that) I jumped into /etc/asterisk/pjsip.endpoint_custom.conf and added;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">[233]<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">force_rport=no<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Reloaded everything, recreated the extension and tested again, watching what goes between this endpoint with ‘ngrep –W byline host 172.22.3.228’ and now I get something which I don’t fully
 understand;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">U <a href="http://172.22.3.228:51440" target="_blank">172.22.3.228:51440</a> -> <a href="http://172.22.4.8:5060" target="_blank">172.22.4.8:5060</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">REGISTER sip:172.22.4.8 SIP/2.0.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Via: SIP/2.0/UDP 172.22.3.228:5060;branch=z9hG4bK505b3494.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">From: <<a href="mailto:sip%3A233@172.22.4.8" target="_blank">sip:233@172.22.4.8</a>>;tag=001469a7180c0011603d4433-6cef1ff3.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">To: <<a href="mailto:sip%3A233@172.22.4.8" target="_blank">sip:233@172.22.4.8</a>>.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Call-ID: <a href="mailto:001469a7-180c0002-58faebd6-05b99917@172.22.3.228" target="_blank">001469a7-180c0002-58faebd6-05b99917@172.22.3.228</a>.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Max-Forwards: 70.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Date: Wed, 22 Jul 2015 00:41:48 GMT.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">CSeq: 114 REGISTER.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">User-Agent: Cisco-CP7940G/8.0.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Contact: <sip:233@172.22.3.228:5060;user=phone;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-0000-0000-001469a7180c>";+u.sip!<a href="http://model.ccm.cisco.com" target="_blank">model.ccm.cisco.com</a>="8".<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Content-Length: 0.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Expires: 120.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">#<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">I 172.22.4.8 -> 172.22.3.228 3:3<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">....E..:)...@................&..REGISTER sip:172.22.4.8 SIP/2.0.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Via: SIP/2.0/UDP 172.22.3.228:5060;branch=z9hG4bK505b3494.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">From: <<a href="mailto:sip%3A233@172.22.4.8" target="_blank">sip:233@172.22.4.8</a>>;tag=001469a7180c0011603d4433-6cef1ff3.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">To: <<a href="mailto:sip%3A233@172.22.4.8" target="_blank">sip:233@172.22.4.8</a>>.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Call-ID: <a href="mailto:001469a7-180c0002-58faebd6-05b99917@172.22.3.228" target="_blank">001469a7-180c0002-58faebd6-05b99917@172.22.3.228</a>.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Max-Forwards: 70.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Date: Wed, 22 Jul 2015 00:41:48 GMT.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">CSeq: 114 REGISTER.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">User-Agent: Cisco-CP7940G/8.0.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Contact: <sip:233@172.22.3.228:5060;user=phone;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-0000-0000-001469a7180c>";+u.sip!<a href="http://model.ccm.cisco.com" target="_blank">model.ccm.cisco.com</a>="8".<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Content-Lengt<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">I don’t understand this reply from Asterisk (172.22.4.8) – why it’s not complete and what’s this 3:3?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">If anyone has input or experience with this problem I would be forever grateful.  I have read that people can get these handsets working with chan_sip (and, indeed they do, as these handsets
 are working perfectly using chan_sip in Asterisk 11), but I would really like to keep everything using pjsip (for the reason that, this is where development and improvements are heading, and I like to be using the best technology if possible).<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">Thank you…<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Verdana","sans-serif";color:#da2128">Brendan Ord</span><span style="font-size:13.5pt;font-family:"Times New Roman","serif";color:black"><br>
</span><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black">OntheNet - Network Engineer<br>
</span><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#da2128">P</span><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black"> 07 5553 9222<br>
</span><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#da2128">F</span><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black"> 07 5593 3557<br>
Level One, 165 Varsity Parade Varsity Lakes Qld 4227 (<a href="https://goo.gl/maps/p25WF" target="_blank"><span style="color:blue">Map</span></a>)<br>
<a href="http://www.onthenet.com.au/" target="_blank"><span style="color:blue">www.OntheNet.com.au</span></a></span><span><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</font></span></div>
</div>

<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" rel="noreferrer" target="_blank">http://www.asterisk.org/hello</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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>