<div dir="ltr"><div><div><div><div>Hi,<br><br></div>can you please elaborate on that? what do you mean by: &quot;stale=true&quot;? what&#39;s the meaning of this header?<br></div>also as you can see on the server with old freeswitch version where we don&#39;t have this issue, we don&#39;t have this header in the response.<br>
</div>is this header requested in the freeswitch upgraded version?<br><br>where should this header be added? can you please change the SIP trace for the problematic server bellow? so i can see what a valid flow should look like?<br>
&nbsp; <br>Thanks,<br></div><div>Snabel <br></div><div><div><br><div><div><div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>---------- Forwarded message ----------<br>From:&nbsp;Brian West &lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt;<br>To:&nbsp;FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
Cc:&nbsp;<br>Date:&nbsp;Mon, 7 Apr 2014 08:12:38 -0500<br>Subject:&nbsp;Re: [Freeswitch-users] [ERR] sofia_reg.c:2110 &quot;some gateway&quot; Registration Failed with status Unauthorized [401]. failure #37 (Snabel Kaabiya)<br>Your provider is broken, They should be sending a stale=true and they aren&rsquo;t, &nbsp;Since they aren&rsquo;t resetting the nonce count with stale=true in the challenge we come back thinking our current nonce count of 18f is fine.<br>

<br>
<br>
--<br>
Brian West<br>
<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a><br>
FreeSWITCH Solutions, LLC<br>
PO BOX 2531<br>
Brookfield, WI 53008-2531<br>
Twitter: @FreeSWITCH , @briankwest<br>
<a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br>
<a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a><br>
<br>
T: <a href="tel:%2B1.918.420.9001" value="+19184209001">+1.918.420.9001</a> &nbsp;| &nbsp;F: <a href="tel:%2B1.918.420.9002" value="+19184209002">+1.918.420.9002</a> &nbsp;| &nbsp;M: +1.918.424.WEST<br>
iNUM: <a href="tel:%2B883%205100%201420%209001" value="+883510014209001">+883 5100 1420 9001</a><br>
ISN: 410*543<br>
Skype:briankwest<br>
PGP Key: <a href="http://www.bkw.org/key.txt" target="_blank">http://www.bkw.org/key.txt</a> (AB93356707C76CED)<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Apr 7, 2014, at 1:55 AM, Snabel Kabiya &lt;<a href="mailto:snabel@lexifone.com">snabel@lexifone.com</a>&gt; wrote:<br>
<br>
&gt; Hi,<br>
&gt;<br>
&gt;<br>
&gt; Are they using the same account? That could conceivable cause issues, you&#39;d need to check with DIDLogic if they support that.<br>
&gt; [SNABEL] yes it&#39;s the same account.<br>
&gt;<br>
&gt; Since you have a working and non-working servers you could compare the requests to see what differs between them.<br>
&gt; [SNABEL] i did that, you can see inline both requests.<br>
&gt; the only difference i saw, is this header:<br>
&gt; Supported: precondition, path, replaces<br>
&gt; highlighted in the requests:<br>
&gt;<br>
&gt; /**************************************************************************************************************<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Working server<br>
&gt; ***************************************************************************************************************/<br>
&gt; 2014-04-06 18:00:20.896614 [NOTICE] sofia_reg.c:418 Registering DIDLogic<br>
&gt; send 618 bytes to udp/[46.165.252.40]:5060 at 15:00:20.898875:<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; &nbsp; &nbsp;REGISTER sip:<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>;transport=udp SIP/2.0<br>
&gt; &nbsp; &nbsp;Via: SIP/2.0/UDP 5.9.23.171:5080;rport;branch=z9hG4bKXrH2QjNrt081K<br>
&gt; &nbsp; &nbsp;Max-Forwards: 70<br>
&gt; &nbsp; &nbsp;From: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;;tag=4eaeaXtSSUc3a<br>
&gt; &nbsp; &nbsp;To: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;<br>
&gt; &nbsp; &nbsp;Call-ID: 2c4ba5f8-bd9c-11e3-8545-0d578f78ffdf<br>
&gt; &nbsp; &nbsp;CSeq: 58062146 REGISTER<br>
&gt; &nbsp; &nbsp;Contact: &lt;sip:gw+DIDLogic@5.9.23.171:5080;transport=udp;gw=DIDLogic&gt;<br>
&gt; &nbsp; &nbsp;Expires: 3600<br>
&gt; &nbsp; &nbsp;User-Agent: FreeSWITCH-mod_sofia/1.2.12+git~20130806T202138Z~22ab34c507<br>
&gt; &nbsp; &nbsp;Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY<br>
&gt; &nbsp; &nbsp;Supported: precondition, path, replaces<br>
&gt; &nbsp; &nbsp;Content-Length: 0<br>
&gt;<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; recv 444 bytes from udp/[46.165.252.40]:5060 at 15:00:20.912841:<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; &nbsp; &nbsp;SIP/2.0 401 Unauthorized<br>
&gt; &nbsp; &nbsp;Via: SIP/2.0/UDP 5.9.23.171:5080;rport=5080;branch=z9hG4bKXrH2QjNrt081K<br>
&gt; &nbsp; &nbsp;From: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;;tag=4eaeaXtSSUc3a<br>
&gt; &nbsp; &nbsp;To: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;;tag=b27e1a1d33761e85846fc98f5f3a7e58.c173<br>
&gt; &nbsp; &nbsp;Call-ID: 2c4ba5f8-bd9c-11e3-8545-0d578f78ffdf<br>
&gt; &nbsp; &nbsp;CSeq: 58062146 REGISTER<br>
&gt; &nbsp; &nbsp;WWW-Authenticate: Digest realm=&quot;<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>&quot;, nonce=&quot;<span style="background-color:rgb(255,255,0)">U0FtMFNBbARsF99U0eRscR/</span><span style="background-color:rgb(255,255,0)">9s7cQ6Y2ULDJAKIA=</span>&quot;, qop=&quot;auth&quot;<br>

&gt; &nbsp; &nbsp;Content-Length: 0<br>
&gt;<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; send 898 bytes to udp/[46.165.252.40]:5060 at 15:00:20.913382:<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; &nbsp; &nbsp;REGISTER sip:<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>;transport=udp SIP/2.0<br>
&gt; &nbsp; &nbsp;Via: SIP/2.0/UDP 5.9.23.171:5080;rport;branch=z9hG4bKy1aUSD6UQ9ymF<br>
&gt; &nbsp; &nbsp;Max-Forwards: 70<br>
&gt; &nbsp; &nbsp;From: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;;tag=4eaeaXtSSUc3a<br>
&gt; &nbsp; &nbsp;To: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;<br>
&gt; &nbsp; &nbsp;Call-ID: 2c4ba5f8-bd9c-11e3-8545-0d578f78ffdf<br>
&gt; &nbsp; &nbsp;CSeq: 58062147 REGISTER<br>
&gt; &nbsp; &nbsp;Contact: &lt;sip:gw+DIDLogic@5.9.23.171:5080;transport=udp;gw=DIDLogic&gt;<br>
&gt; &nbsp; &nbsp;Expires: 3600<br>
&gt; &nbsp; &nbsp;User-Agent: FreeSWITCH-mod_sofia/1.2.12+git~20130806T202138Z~22ab34c507<br>
&gt; &nbsp; &nbsp;Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY<br>
&gt; &nbsp; &nbsp;Supported: precondition, path, replaces<br>
&gt; &nbsp; &nbsp;Authorization: Digest username=&quot;username&quot;, realm=&quot;<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>&quot;, nonce=&quot;<span style="background-color:rgb(255,255,0)">U0FtMFNBbARsF99U0eRscR/</span><span style="background-color:rgb(255,255,0)">9s7cQ6Y2ULDJAKIA=</span>&quot;, cnonce=&quot;A8sptzg/EjKkSwAejPT25g&quot;, algorithm=MD5, uri=&quot;sip:<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>;transport=udp&quot;, response=&quot;42c896b44b2ed46127099aa90adf5c01&quot;, qop=auth, nc=00000001<br>

&gt; &nbsp; &nbsp;Content-Length: 0<br>
&gt;<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; recv 780 bytes from udp/[46.165.252.40]:5060 at 15:00:20.927553:<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; &nbsp; &nbsp;SIP/2.0 200 OK<br>
&gt; &nbsp; &nbsp;Via: SIP/2.0/UDP 5.9.23.171:5080;rport=5080;branch=z9hG4bKy1aUSD6UQ9ymF<br>
&gt; &nbsp; &nbsp;From: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;;tag=4eaeaXtSSUc3a<br>
&gt; &nbsp; &nbsp;To: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;;tag=b27e1a1d33761e85846fc98f5f3a7e58.dbc6<br>
&gt; &nbsp; &nbsp;Call-ID: 2c4ba5f8-bd9c-11e3-8545-0d578f78ffdf<br>
&gt; &nbsp; &nbsp;CSeq: 58062147 REGISTER<br>
&gt; &nbsp; &nbsp;Contact: &lt;sip:gw+DIDLogic@5.9.23.171:5080;transport=udp;gw=DIDLogic&gt;;expires=3600, &lt;sip:gw+DIDLogic@144.76.109.73:5080;transport=udp;gw=DIDLogic&gt;;expires=3150, &lt;sip:gw+DIDLogic@144.76.98.11:5080;transport=udp;gw=DIDLogic&gt;;expires=3010, &lt;sip:gw+DIDLogic@5.9.201.120:5080;transport=udp;gw=DIDLogic&gt;;expires=2869, &lt;sip:gw+DIDLogic@144.76.98.12:5080;transport=udp;gw=DIDLogic&gt;;expires=1281, &lt;sip:gw+DIDLogic@5.9.201.121:5080;transport=udp;gw=DIDLogic&gt;;expires=2545<br>

&gt; &nbsp; &nbsp;Content-Length: 0<br>
&gt;<br>
&gt;<br>
&gt; /**************************************************************************************************************<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; problematic server<br>
&gt; ***************************************************************************************************************/<br>
&gt; 2014-04-06 09:32:05.472850 [NOTICE] sofia_reg.c:423 Registering DIDLogic<br>
&gt; send 894 bytes to udp/[46.165.252.40]:5060 at 06:32:05.492557:<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; &nbsp; &nbsp;REGISTER sip:<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>;transport=udp SIP/2.0<br>
&gt; &nbsp; &nbsp;Via: SIP/2.0/UDP 144.76.98.11:5080;rport;branch=z9hG4bKUZ0p2Fjget1KN<br>
&gt; &nbsp; &nbsp;Max-Forwards: 70<br>
&gt; &nbsp; &nbsp;From: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;;tag=XK0KSD17jemDN<br>
&gt; &nbsp; &nbsp;To: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;<br>
&gt; &nbsp; &nbsp;Call-ID: de332712-ba83-11e3-b33f-0dc96adc5bb0<br>
&gt; &nbsp; &nbsp;CSeq: 57892398 REGISTER<br>
&gt; &nbsp; &nbsp;Contact: &lt;sip:gw+DIDLogic@144.76.98.11:5080;transport=udp;gw=DIDLogic&gt;<br>
&gt; &nbsp; &nbsp;Expires: 3600<br>
&gt; &nbsp; &nbsp;User-Agent: FreeSWITCH-mod_sofia/1.2.23+git~20140317T213443Z~769a03a629~64bit<br>
&gt; &nbsp; &nbsp;Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY<br>
&gt; &nbsp; &nbsp;Supported: path, replaces<br>
&gt; &nbsp; &nbsp;Authorization: Digest username=&quot;username&quot;, realm=&quot;<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>&quot;, nonce=&quot;<span style="background-color:rgb(255,255,0)">U0DtvVNA7JFDwqn/</span><span style="background-color:rgb(255,255,0)">iKN2y0i7jjJF/xDpK+45ZYA=</span>&quot;, cnonce=&quot;tZUwATUmEjKDKHBU0sVf8A&quot;, algorithm=MD5, uri=&quot;sip:<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>;transport=udp&quot;, response=&quot;8aaadef8769d2234def69a699c53f95c&quot;, qop=auth, nc=0000018e<br>

&gt; &nbsp; &nbsp;Content-Length: 0<br>
&gt;<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; recv 446 bytes from udp/[46.165.252.40]:5060 at 06:32:05.520506:<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; &nbsp; &nbsp;SIP/2.0 401 Unauthorized<br>
&gt; &nbsp; &nbsp;Via: SIP/2.0/UDP 144.76.98.11:5080;rport=5080;branch=z9hG4bKUZ0p2Fjget1KN<br>
&gt; &nbsp; &nbsp;From: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;;tag=XK0KSD17jemDN<br>
&gt; &nbsp; &nbsp;To: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;;tag=b27e1a1d33761e85846fc98f5f3a7e58.437e<br>
&gt; &nbsp; &nbsp;Call-ID: de332712-ba83-11e3-b33f-0dc96adc5bb0<br>
&gt; &nbsp; &nbsp;CSeq: 57892398 REGISTER<br>
&gt; &nbsp; &nbsp;WWW-Authenticate: Digest realm=&quot;<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>&quot;, nonce=&quot;<span style="background-color:rgb(255,255,0)">U0D2EVNA9OVIqS6bUrch5649kHnuK6</span><span style="background-color:rgb(255,255,0)">PXK/Fii4A=</span>&quot;, qop=&quot;auth&quot;<br>

&gt; &nbsp; &nbsp;Content-Length: 0<br>
&gt;<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; send 894 bytes to udp/[46.165.252.40]:5060 at 06:32:05.520845:<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; &nbsp; &nbsp;REGISTER sip:<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>;transport=udp SIP/2.0<br>
&gt; &nbsp; &nbsp;Via: SIP/2.0/UDP 144.76.98.11:5080;rport;branch=z9hG4bKv8SF4a3KB3Q6g<br>
&gt; &nbsp; &nbsp;Max-Forwards: 70<br>
&gt; &nbsp; &nbsp;From: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;;tag=XK0KSD17jemDN<br>
&gt; &nbsp; &nbsp;To: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;<br>
&gt; &nbsp; &nbsp;Call-ID: de332712-ba83-11e3-b33f-0dc96adc5bb0<br>
&gt; &nbsp; &nbsp;CSeq: 57892399 REGISTER<br>
&gt; &nbsp; &nbsp;Contact: &lt;sip:gw+DIDLogic@144.76.98.11:5080;transport=udp;gw=DIDLogic&gt;<br>
&gt; &nbsp; &nbsp;Expires: 3600<br>
&gt; &nbsp; &nbsp;User-Agent: FreeSWITCH-mod_sofia/1.2.23+git~20140317T213443Z~769a03a629~64bit<br>
&gt; &nbsp; &nbsp;Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY<br>
&gt; &nbsp; &nbsp;Supported: path, replaces<br>
&gt; &nbsp; &nbsp;Authorization: Digest username=&quot;username&quot;, realm=&quot;<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>&quot;, nonce=&quot;<span style="background-color:rgb(255,255,0)">U0D2EVNA9OVIqS6bUrch5649kHnuK6</span><span style="background-color:rgb(255,255,0)">PXK/Fii4A=</span>&quot;, cnonce=&quot;tZUwATUmEjKDKHBU0sVf8A&quot;, algorithm=MD5, uri=&quot;sip:<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>;transport=udp&quot;, response=&quot;3dc99375cf925ad9af145899dcf83b1a&quot;, qop=auth, nc=0000018f<br>

&gt; &nbsp; &nbsp;Content-Length: 0<br>
&gt;<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; recv 446 bytes from udp/[46.165.252.40]:5060 at 06:32:05.536657:<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; &nbsp; &nbsp;SIP/2.0 401 Unauthorized<br>
&gt; &nbsp; &nbsp;Via: SIP/2.0/UDP 144.76.98.11:5080;rport=5080;branch=z9hG4bKv8SF4a3KB3Q6g<br>
&gt; &nbsp; &nbsp;From: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;;tag=XK0KSD17jemDN<br>
&gt; &nbsp; &nbsp;To: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;;tag=b27e1a1d33761e85846fc98f5f3a7e58.b648<br>
&gt; &nbsp; &nbsp;Call-ID: de332712-ba83-11e3-b33f-0dc96adc5bb0<br>
&gt; &nbsp; &nbsp;CSeq: 57892399 REGISTER<br>
&gt; &nbsp; &nbsp;WWW-Authenticate: Digest realm=&quot;<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>&quot;, nonce=<span style="background-color:rgb(255,255,0)">&quot;</span><span style="background-color:rgb(255,255,0)">U0D2EVNA9OUTYGscaPkV4MvAB1IDDt</span><span style="background-color:rgb(255,255,0)">pQK/FjjIA=&quot;</span>, qop=&quot;auth&quot;<br>

&gt; &nbsp; &nbsp;Content-Length: 0<br>
&gt;<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; 2014-04-06 09:32:05.532842 [ERR] sofia_reg.c:2110 DIDLogic Registration Failed with status Unauthorized [401]. failure #72<br>
&gt; 2014-04-06 09:32:06.472844 [WARNING] sofia_reg.c:478 DIDLogic Failed Registration [904], setting retry to 2160 seconds.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Sun, Apr 6, 2014 at 10:27 PM, &lt;<a href="mailto:freeswitch-users-request@lists.freeswitch.org">freeswitch-users-request@lists.freeswitch.org</a>&gt; wrote:<br>
&gt; Send FreeSWITCH-users mailing list submissions to<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
&gt;<br>
&gt; To subscribe or unsubscribe via the World Wide Web, visit<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; or, via email, send a message with subject or body &#39;help&#39; to<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:freeswitch-users-request@lists.freeswitch.org">freeswitch-users-request@lists.freeswitch.org</a><br>
&gt;<br>
&gt; You can reach the person managing the list at<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:freeswitch-users-owner@lists.freeswitch.org">freeswitch-users-owner@lists.freeswitch.org</a><br>
&gt;<br>
&gt; When replying, please edit your Subject line so it is more specific<br>
&gt; than &quot;Re: Contents of FreeSWITCH-users digest...&quot;<br>
&gt;<br>
&gt; Today&#39;s Topics:<br>
&gt;<br>
&gt; &nbsp; &nbsp;1. Re: [ERR] sofia_reg.c:2110 &quot;some gateway&quot; Registration Failed<br>
&gt; &nbsp; &nbsp; &nbsp; with status Unauthorized [401]. failure #37 (Snabel Kaabiya)<br>
&gt; &nbsp; &nbsp; &nbsp; (Snabel Kabiya)<br>
&gt; &nbsp; &nbsp;2. Re: [ERR] sofia_reg.c:2110 &quot;some gateway&quot; Registration Failed<br>
&gt; &nbsp; &nbsp; &nbsp; with status Unauthorized [401]. failure #37 (Snabel Kaabiya)<br>
&gt; &nbsp; &nbsp; &nbsp; (Steven Ayre)<br>
&gt;<br>
&gt;<br>
&gt; ---------- Forwarded message ----------<br>
&gt; From: Snabel Kabiya &lt;<a href="mailto:snabel@lexifone.com">snabel@lexifone.com</a>&gt;<br>
&gt; To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
&gt; Cc:<br>
&gt; Date: Sun, 6 Apr 2014 17:29:43 +0300<br>
&gt; Subject: Re: [Freeswitch-users] [ERR] sofia_reg.c:2110 &quot;some gateway&quot; Registration Failed with status Unauthorized [401]. failure #37 (Snabel Kaabiya)<br>
&gt; Hi,<br>
&gt;<br>
&gt; please see my answers inline:<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Snabel<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ---------- Forwarded message ----------<br>
&gt; From: Steven Ayre &lt;<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>&gt;<br>
&gt; To: FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
&gt; Cc:<br>
&gt; Date: Sun, 6 Apr 2014 09:59:43 -0400<br>
&gt; Subject: Re: [Freeswitch-users] [ERR] sofia_reg.c:2110 &quot;some gateway&quot; Registration Failed with status Unauthorized [401]. failure #37 (Snabel Kaabiya)<br>
&gt; According to <a href="https://wiki.freeswitch.org/wiki/Provider_Configuration:_DIDLogic" target="_blank">https://wiki.freeswitch.org/wiki/Provider_Configuration:_DIDLogic</a> nothing particularly special is required. What you have should work.<br>

&gt;<br>
&gt; Does this gateway ever register successfully - does it register fine then start getting the 401 later, or does it never register at all. If the latter perhaps the username/password is incorrect? If it works at first then starts to fail then it might be an error at DIDLogic&#39;s end and I suggest you contact them to find out what is causing the 401.<br>

&gt; [SNABEL] &nbsp;the gateway registers fine then start getting the 401 later, it works at first then starts to fail.<br>
&gt; i&#39;m not sure it&#39;s an error at DIDLogic&#39;s end. because we have another server with freeswitch verion:<br>
&gt; FreeSWITCH Version 1.2.12+git~20130806T202138Z~22ab34c507 (git 22ab34c 2013-08-06 20:21:38Z)<br>
&gt; which works fine, we don&#39;t get this error there...<br>
&gt;<br>
&gt;<br>
&gt; Also any modifications to the gateway (eg changing password) take more than reloadxml to take effect. You need to run &#39;sofia profile &lt;profilename&gt; killgw &lt;gateway&gt;&#39;, wait for the gateway to be removed (gives a log message or check via &#39;sofia status gateway&#39;) then &#39;sofia profile &lt;name&gt; rescan&#39; to add the gateway with the new settings. Or restart FreeSWITCH.<br>

&gt; [SNABEL] i did restarted freeswitch.<br>
&gt;<br>
&gt; By the way sip_cid_type is a variable not a parameter. See <a href="http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#Variables" target="_blank">http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#Variables</a> - but unknown parameters are ignored so it should make no difference to registration; ping, ping-max and caller-id-in-from should also have no effect on registration.<br>

&gt; [SNABEL] i see, so i could just remove them...<br>
&gt;<br>
&gt; -Steve<br>
&gt;<br>
&gt;<br>
&gt; On 6 April 2014 03:37, Snabel Kabiya &lt;<a href="mailto:snabel@lexifone.com">snabel@lexifone.com</a>&gt; wrote:<br>
&gt; Hi All,<br>
&gt;<br>
&gt; I&#39;m still getting this error:<br>
&gt;<br>
&gt; [ERR] sofia_reg.c:2110 DIDLogic Registration Failed with status Unauthorized [401]. failure #72<br>
&gt;<br>
&gt; I&#39;ve looked at SIP trace and freeswitch logs but i can&#39;t figure out what&#39;s causing the registration failure.<br>
&gt;<br>
&gt; here is more info on the issue, i would really appreciate your help guys.<br>
&gt;<br>
&gt; Server:<br>
&gt; Linux Ubuntu-1204-precise-64-minimal 3.5.0-34-generic #55~precise1-Ubuntu SMP Fri Jun 7 16:25:50 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux<br>
&gt;<br>
&gt; freeswitch version:<br>
&gt; FreeSWITCH Version 1.2.23+git~20140317T213443Z~769a03a629~64bit (git 769a03a 2014-03-17 21:34:43Z 64bit)<br>
&gt;<br>
&gt; Gateway configuration:<br>
&gt; &nbsp; &nbsp; &lt;gateway name=&quot;DIDLogic&quot;&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;username&quot; value=&quot;username&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;realm&quot; value=&quot;<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;password&quot; value=&quot;password&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;register&quot; value=&quot;true&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;context&quot; value=&quot;public&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;caller-id-in-from&quot; value=&quot;true&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;sip_cid_type&quot; value=&quot;none&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;ping&quot; value=&quot;30&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;ping-max&quot; value=&quot;3&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &lt;/gateway&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; SIP trace:<br>
&gt;<br>
&gt; 2014-04-06 09:32:05.472850 [NOTICE] sofia_reg.c:423 Registering DIDLogic<br>
&gt; send 894 bytes to udp/[46.165.252.40]:5060 at 06:32:05.492557:<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; &nbsp; &nbsp;REGISTER sip:<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>;transport=udp SIP/2.0<br>
&gt; &nbsp; &nbsp;Via: SIP/2.0/UDP 144.76.98.11:5080;rport;branch=z9hG4bKUZ0p2Fjget1KN<br>
&gt; &nbsp; &nbsp;Max-Forwards: 70<br>
&gt; &nbsp; &nbsp;From: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;;tag=XK0KSD17jemDN<br>
&gt; &nbsp; &nbsp;To: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;<br>
&gt; &nbsp; &nbsp;Call-ID: de332712-ba83-11e3-b33f-0dc96adc5bb0<br>
&gt; &nbsp; &nbsp;CSeq: 57892398 REGISTER<br>
&gt; &nbsp; &nbsp;Contact: &lt;sip:gw+DIDLogic@144.76.98.11:5080;transport=udp;gw=DIDLogic&gt;<br>
&gt; &nbsp; &nbsp;Expires: 3600<br>
&gt; &nbsp; &nbsp;User-Agent: FreeSWITCH-mod_sofia/1.2.23+git~20140317T213443Z~769a03a629~64bit<br>
&gt; &nbsp; &nbsp;Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY<br>
&gt; &nbsp; &nbsp;Supported: path, replaces<br>
&gt; &nbsp; &nbsp;Authorization: Digest username=&quot;username&quot;, realm=&quot;<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>&quot;, nonce=&quot;U0DtvVNA7JFDwqn/iKN2y0i7jjJF/xDpK+45ZYA=&quot;, cnonce=&quot;tZUwATUmEjKDKHBU0sVf8A&quot;, algorithm=MD5, uri=&quot;sip:<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>;transport=udp&quot;, response=&quot;8aaadef8769d2234def69a699c53f95c&quot;, qop=auth, nc=0000018e<br>

&gt; &nbsp; &nbsp;Content-Length: 0<br>
&gt;<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; recv 446 bytes from udp/[46.165.252.40]:5060 at 06:32:05.520506:<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; &nbsp; &nbsp;SIP/2.0 401 Unauthorized<br>
&gt; &nbsp; &nbsp;Via: SIP/2.0/UDP 144.76.98.11:5080;rport=5080;branch=z9hG4bKUZ0p2Fjget1KN<br>
&gt; &nbsp; &nbsp;From: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;;tag=XK0KSD17jemDN<br>
&gt; &nbsp; &nbsp;To: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;;tag=b27e1a1d33761e85846fc98f5f3a7e58.437e<br>
&gt; &nbsp; &nbsp;Call-ID: de332712-ba83-11e3-b33f-0dc96adc5bb0<br>
&gt; &nbsp; &nbsp;CSeq: 57892398 REGISTER<br>
&gt; &nbsp; &nbsp;WWW-Authenticate: Digest realm=&quot;<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>&quot;, nonce=&quot;U0D2EVNA9OVIqS6bUrch5649kHnuK6PXK/Fii4A=&quot;, qop=&quot;auth&quot;<br>
&gt; &nbsp; &nbsp;Content-Length: 0<br>
&gt;<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; send 894 bytes to udp/[46.165.252.40]:5060 at 06:32:05.520845:<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; &nbsp; &nbsp;REGISTER sip:<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>;transport=udp SIP/2.0<br>
&gt; &nbsp; &nbsp;Via: SIP/2.0/UDP 144.76.98.11:5080;rport;branch=z9hG4bKv8SF4a3KB3Q6g<br>
&gt; &nbsp; &nbsp;Max-Forwards: 70<br>
&gt; &nbsp; &nbsp;From: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;;tag=XK0KSD17jemDN<br>
&gt; &nbsp; &nbsp;To: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;<br>
&gt; &nbsp; &nbsp;Call-ID: de332712-ba83-11e3-b33f-0dc96adc5bb0<br>
&gt; &nbsp; &nbsp;CSeq: 57892399 REGISTER<br>
&gt; &nbsp; &nbsp;Contact: &lt;sip:gw+DIDLogic@144.76.98.11:5080;transport=udp;gw=DIDLogic&gt;<br>
&gt; &nbsp; &nbsp;Expires: 3600<br>
&gt; &nbsp; &nbsp;User-Agent: FreeSWITCH-mod_sofia/1.2.23+git~20140317T213443Z~769a03a629~64bit<br>
&gt; &nbsp; &nbsp;Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY<br>
&gt; &nbsp; &nbsp;Supported: path, replaces<br>
&gt; &nbsp; &nbsp;Authorization: Digest username=&quot;username&quot;, realm=&quot;<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>&quot;, nonce=&quot;U0D2EVNA9OVIqS6bUrch5649kHnuK6PXK/Fii4A=&quot;, cnonce=&quot;tZUwATUmEjKDKHBU0sVf8A&quot;, algorithm=MD5, uri=&quot;sip:<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>;transport=udp&quot;, response=&quot;3dc99375cf925ad9af145899dcf83b1a&quot;, qop=auth, nc=0000018f<br>

&gt; &nbsp; &nbsp;Content-Length: 0<br>
&gt;<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; recv 446 bytes from udp/[46.165.252.40]:5060 at 06:32:05.536657:<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; &nbsp; &nbsp;SIP/2.0 401 Unauthorized<br>
&gt; &nbsp; &nbsp;Via: SIP/2.0/UDP 144.76.98.11:5080;rport=5080;branch=z9hG4bKv8SF4a3KB3Q6g<br>
&gt; &nbsp; &nbsp;From: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;;tag=XK0KSD17jemDN<br>
&gt; &nbsp; &nbsp;To: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;;tag=b27e1a1d33761e85846fc98f5f3a7e58.b648<br>
&gt; &nbsp; &nbsp;Call-ID: de332712-ba83-11e3-b33f-0dc96adc5bb0<br>
&gt; &nbsp; &nbsp;CSeq: 57892399 REGISTER<br>
&gt; &nbsp; &nbsp;WWW-Authenticate: Digest realm=&quot;<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>&quot;, nonce=&quot;U0D2EVNA9OUTYGscaPkV4MvAB1IDDtpQK/FjjIA=&quot;, qop=&quot;auth&quot;<br>
&gt; &nbsp; &nbsp;Content-Length: 0<br>
&gt;<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; 2014-04-06 09:32:05.532842 [ERR] sofia_reg.c:2110 DIDLogic Registration Failed with status Unauthorized [401]. failure #72<br>
&gt; 2014-04-06 09:32:06.472844 [WARNING] sofia_reg.c:478 DIDLogic Failed Registration [904], setting retry to 2160 seconds.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ---------- Forwarded message ----------<br>
&gt; From: Steven Ayre &lt;<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>&gt;<br>
&gt; To: FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
&gt; Cc:<br>
&gt; Date: Sun, 6 Apr 2014 15:26:28 -0400<br>
&gt; Subject: Re: [Freeswitch-users] [ERR] sofia_reg.c:2110 &quot;some gateway&quot; Registration Failed with status Unauthorized [401]. failure #37 (Snabel Kaabiya)<br>
&gt; i&#39;m not sure it&#39;s an error at DIDLogic&#39;s end. because we have another server with freeswitch verion:<br>
&gt; FreeSWITCH Version 1.2.12+git~20130806T202138Z~22ab34c507 (git 22ab34c 2013-08-06 20:21:38Z)<br>
&gt; which works fine, we don&#39;t get this error there...<br>
&gt;<br>
&gt; Are they using the same account? That could conceivable cause issues, you&#39;d need to check with DIDLogic if they support that.<br>
&gt;<br>
&gt; Since you have a working and non-working servers you could compare the requests to see what differs between them.<br>
&gt;<br>
&gt; -Steve<br>
&gt;<br>
&gt;<br>
&gt; On 6 April 2014 10:29, Snabel Kabiya &lt;<a href="mailto:snabel@lexifone.com">snabel@lexifone.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; please see my answers inline:<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Snabel<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ---------- Forwarded message ----------<br>
&gt; From: Steven Ayre &lt;<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>&gt;<br>
&gt; To: FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
&gt; Cc:<br>
&gt; Date: Sun, 6 Apr 2014 09:59:43 -0400<br>
&gt; Subject: Re: [Freeswitch-users] [ERR] sofia_reg.c:2110 &quot;some gateway&quot; Registration Failed with status Unauthorized [401]. failure #37 (Snabel Kaabiya)<br>
&gt; According to <a href="https://wiki.freeswitch.org/wiki/Provider_Configuration:_DIDLogic" target="_blank">https://wiki.freeswitch.org/wiki/Provider_Configuration:_DIDLogic</a> nothing particularly special is required. What you have should work.<br>

&gt;<br>
&gt; Does this gateway ever register successfully - does it register fine then start getting the 401 later, or does it never register at all. If the latter perhaps the username/password is incorrect? If it works at first then starts to fail then it might be an error at DIDLogic&#39;s end and I suggest you contact them to find out what is causing the 401.<br>

&gt; [SNABEL] &nbsp;the gateway registers fine then start getting the 401 later, it works at first then starts to fail.<br>
&gt; i&#39;m not sure it&#39;s an error at DIDLogic&#39;s end. because we have another server with freeswitch verion:<br>
&gt; FreeSWITCH Version 1.2.12+git~20130806T202138Z~22ab34c507 (git 22ab34c 2013-08-06 20:21:38Z)<br>
&gt; which works fine, we don&#39;t get this error there...<br>
&gt;<br>
&gt;<br>
&gt; Also any modifications to the gateway (eg changing password) take more than reloadxml to take effect. You need to run &#39;sofia profile &lt;profilename&gt; killgw &lt;gateway&gt;&#39;, wait for the gateway to be removed (gives a log message or check via &#39;sofia status gateway&#39;) then &#39;sofia profile &lt;name&gt; rescan&#39; to add the gateway with the new settings. Or restart FreeSWITCH.<br>

&gt; [SNABEL] i did restarted freeswitch.<br>
&gt;<br>
&gt; By the way sip_cid_type is a variable not a parameter. See <a href="http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#Variables" target="_blank">http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#Variables</a> - but unknown parameters are ignored so it should make no difference to registration; ping, ping-max and caller-id-in-from should also have no effect on registration.<br>

&gt; [SNABEL] i see, so i could just remove them...<br>
&gt;<br>
&gt; -Steve<br>
&gt;<br>
&gt;<br>
&gt; On 6 April 2014 03:37, Snabel Kabiya &lt;<a href="mailto:snabel@lexifone.com">snabel@lexifone.com</a>&gt; wrote:<br>
&gt; Hi All,<br>
&gt;<br>
&gt; I&#39;m still getting this error:<br>
&gt;<br>
&gt; [ERR] sofia_reg.c:2110 DIDLogic Registration Failed with status Unauthorized [401]. failure #72<br>
&gt;<br>
&gt; I&#39;ve looked at SIP trace and freeswitch logs but i can&#39;t figure out what&#39;s causing the registration failure.<br>
&gt;<br>
&gt; here is more info on the issue, i would really appreciate your help guys.<br>
&gt;<br>
&gt; Server:<br>
&gt; Linux Ubuntu-1204-precise-64-minimal 3.5.0-34-generic #55~precise1-Ubuntu SMP Fri Jun 7 16:25:50 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux<br>
&gt;<br>
&gt; freeswitch version:<br>
&gt; FreeSWITCH Version 1.2.23+git~20140317T213443Z~769a03a629~64bit (git 769a03a 2014-03-17 21:34:43Z 64bit)<br>
&gt;<br>
&gt; Gateway configuration:<br>
&gt; &nbsp; &nbsp; &lt;gateway name=&quot;DIDLogic&quot;&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;username&quot; value=&quot;username&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;realm&quot; value=&quot;<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;password&quot; value=&quot;password&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;register&quot; value=&quot;true&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;context&quot; value=&quot;public&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;caller-id-in-from&quot; value=&quot;true&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;sip_cid_type&quot; value=&quot;none&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;ping&quot; value=&quot;30&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;ping-max&quot; value=&quot;3&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &lt;/gateway&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; SIP trace:<br>
&gt;<br>
&gt; 2014-04-06 09:32:05.472850 [NOTICE] sofia_reg.c:423 Registering DIDLogic<br>
&gt; send 894 bytes to udp/[46.165.252.40]:5060 at 06:32:05.492557:<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; &nbsp; &nbsp;REGISTER sip:<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>;transport=udp SIP/2.0<br>
&gt; &nbsp; &nbsp;Via: SIP/2.0/UDP 144.76.98.11:5080;rport;branch=z9hG4bKUZ0p2Fjget1KN<br>
&gt; &nbsp; &nbsp;Max-Forwards: 70<br>
&gt; &nbsp; &nbsp;From: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;;tag=XK0KSD17jemDN<br>
&gt; &nbsp; &nbsp;To: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;<br>
&gt; &nbsp; &nbsp;Call-ID: de332712-ba83-11e3-b33f-0dc96adc5bb0<br>
&gt; &nbsp; &nbsp;CSeq: 57892398 REGISTER<br>
&gt; &nbsp; &nbsp;Contact: &lt;sip:gw+DIDLogic@144.76.98.11:5080;transport=udp;gw=DIDLogic&gt;<br>
&gt; &nbsp; &nbsp;Expires: 3600<br>
&gt; &nbsp; &nbsp;User-Agent: FreeSWITCH-mod_sofia/1.2.23+git~20140317T213443Z~769a03a629~64bit<br>
&gt; &nbsp; &nbsp;Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY<br>
&gt; &nbsp; &nbsp;Supported: path, replaces<br>
&gt; &nbsp; &nbsp;Authorization: Digest username=&quot;username&quot;, realm=&quot;<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>&quot;, nonce=&quot;U0DtvVNA7JFDwqn/iKN2y0i7jjJF/xDpK+45ZYA=&quot;, cnonce=&quot;tZUwATUmEjKDKHBU0sVf8A&quot;, algorithm=MD5, uri=&quot;sip:<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>;transport=udp&quot;, response=&quot;8aaadef8769d2234def69a699c53f95c&quot;, qop=auth, nc=0000018e<br>

&gt; &nbsp; &nbsp;Content-Length: 0<br>
&gt;<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; recv 446 bytes from udp/[46.165.252.40]:5060 at 06:32:05.520506:<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; &nbsp; &nbsp;SIP/2.0 401 Unauthorized<br>
&gt; &nbsp; &nbsp;Via: SIP/2.0/UDP 144.76.98.11:5080;rport=5080;branch=z9hG4bKUZ0p2Fjget1KN<br>
&gt; &nbsp; &nbsp;From: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;;tag=XK0KSD17jemDN<br>
&gt; &nbsp; &nbsp;To: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;;tag=b27e1a1d33761e85846fc98f5f3a7e58.437e<br>
&gt; &nbsp; &nbsp;Call-ID: de332712-ba83-11e3-b33f-0dc96adc5bb0<br>
&gt; &nbsp; &nbsp;CSeq: 57892398 REGISTER<br>
&gt; &nbsp; &nbsp;WWW-Authenticate: Digest realm=&quot;<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>&quot;, nonce=&quot;U0D2EVNA9OVIqS6bUrch5649kHnuK6PXK/Fii4A=&quot;, qop=&quot;auth&quot;<br>
&gt; &nbsp; &nbsp;Content-Length: 0<br>
&gt;<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; send 894 bytes to udp/[46.165.252.40]:5060 at 06:32:05.520845:<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; &nbsp; &nbsp;REGISTER sip:<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>;transport=udp SIP/2.0<br>
&gt; &nbsp; &nbsp;Via: SIP/2.0/UDP 144.76.98.11:5080;rport;branch=z9hG4bKv8SF4a3KB3Q6g<br>
&gt; &nbsp; &nbsp;Max-Forwards: 70<br>
&gt; &nbsp; &nbsp;From: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;;tag=XK0KSD17jemDN<br>
&gt; &nbsp; &nbsp;To: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;<br>
&gt; &nbsp; &nbsp;Call-ID: de332712-ba83-11e3-b33f-0dc96adc5bb0<br>
&gt; &nbsp; &nbsp;CSeq: 57892399 REGISTER<br>
&gt; &nbsp; &nbsp;Contact: &lt;sip:gw+DIDLogic@144.76.98.11:5080;transport=udp;gw=DIDLogic&gt;<br>
&gt; &nbsp; &nbsp;Expires: 3600<br>
&gt; &nbsp; &nbsp;User-Agent: FreeSWITCH-mod_sofia/1.2.23+git~20140317T213443Z~769a03a629~64bit<br>
&gt; &nbsp; &nbsp;Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY<br>
&gt; &nbsp; &nbsp;Supported: path, replaces<br>
&gt; &nbsp; &nbsp;Authorization: Digest username=&quot;username&quot;, realm=&quot;<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>&quot;, nonce=&quot;U0D2EVNA9OVIqS6bUrch5649kHnuK6PXK/Fii4A=&quot;, cnonce=&quot;tZUwATUmEjKDKHBU0sVf8A&quot;, algorithm=MD5, uri=&quot;sip:<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>;transport=udp&quot;, response=&quot;3dc99375cf925ad9af145899dcf83b1a&quot;, qop=auth, nc=0000018f<br>

&gt; &nbsp; &nbsp;Content-Length: 0<br>
&gt;<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; recv 446 bytes from udp/[46.165.252.40]:5060 at 06:32:05.536657:<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; &nbsp; &nbsp;SIP/2.0 401 Unauthorized<br>
&gt; &nbsp; &nbsp;Via: SIP/2.0/UDP 144.76.98.11:5080;rport=5080;branch=z9hG4bKv8SF4a3KB3Q6g<br>
&gt; &nbsp; &nbsp;From: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;;tag=XK0KSD17jemDN<br>
&gt; &nbsp; &nbsp;To: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net">sip:95299@sip.de.didlogic.net</a>&gt;;tag=b27e1a1d33761e85846fc98f5f3a7e58.b648<br>
&gt; &nbsp; &nbsp;Call-ID: de332712-ba83-11e3-b33f-0dc96adc5bb0<br>
&gt; &nbsp; &nbsp;CSeq: 57892399 REGISTER<br>
&gt; &nbsp; &nbsp;WWW-Authenticate: Digest realm=&quot;<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>&quot;, nonce=&quot;U0D2EVNA9OUTYGscaPkV4MvAB1IDDtpQK/FjjIA=&quot;, qop=&quot;auth&quot;<br>
&gt; &nbsp; &nbsp;Content-Length: 0<br>
&gt;<br>
&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>
&gt; 2014-04-06 09:32:05.532842 [ERR] sofia_reg.c:2110 DIDLogic Registration Failed with status Unauthorized [401]. failure #72<br>
&gt; 2014-04-06 09:32:06.472844 [WARNING] sofia_reg.c:478 DIDLogic Failed Registration [904], setting retry to 2160 seconds.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<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></div></div></div></div></div></div></div>