Hi!<br><br>I&#39;m trying to register a SIP UA to my FreeSWITCH server and for some reason I always get a &quot;401 Unauthorized&quot; response. I&#39;ve tried with other UA (X-Lite and Ekiga) and they do work. The UA is: <a href="http://www.doddlephone.com">http://www.doddlephone.com</a><br>
<br>My user configuration is:<br><br>&lt;include&gt;<br>  &lt;user id=&quot;doddle&quot;&gt;<br>    &lt;params&gt;<br>      &lt;param name=&quot;password&quot; value=&quot;doddle&quot;/&gt;<br>      &lt;param name=&quot;vm-password&quot; value=&quot;1234&quot;/&gt;<br>
    &lt;/params&gt;<br>    &lt;variables&gt;<br>      &lt;variable name=&quot;toll_allow&quot; value=&quot;domestic,international,local&quot;/&gt;<br>      &lt;variable name=&quot;accountcode&quot; value=&quot;doddle&quot;/&gt;<br>
      &lt;variable name=&quot;user_context&quot; value=&quot;default&quot;/&gt;<br>      &lt;variable name=&quot;effective_caller_id_name&quot; value=&quot;doddle&quot;/&gt;<br>      &lt;variable name=&quot;effective_caller_id_number&quot; value=&quot;doddle&quot;/&gt;<br>
    &lt;/variables&gt;<br>  &lt;/user&gt;<br>&lt;/include&gt;<br><br>Can someone help me and tell me what I&#39;m doing wrong?<br><br>Here&#39;s the FreeSWITCH trace if it&#39;s useful:<br><br><a href="mailto:freeswitch@fc1160102.aspadmin.net">freeswitch@fc1160102.aspadmin.net</a>&gt; tport_wakeup_pri(0xae7056b0): events IN<br>
tport_recv_event(0xae7056b0)<br>tport_recv_iovec(0xae7056b0) msg 0xae703f88 from (udp/<a href="http://216.75.60.102:5060">216.75.60.102:5060</a>) has 444 bytes, veclen = 1<br>recv 444 bytes from udp/[190.179.3.18]:4375 at 21:51:10.194004:<br>
   ------------------------------------------------------------------------<br>   REGISTER sip:216.75.60.102 SIP/2.0<br>   From: <a href="mailto:sip%3Adoddle@216.75.60.102">sip:doddle@216.75.60.102</a>;tag=633f3915<br>   To: <a href="mailto:sip%3Adoddle@216.75.60.102">sip:doddle@216.75.60.102</a><br>
   Call-Id: 186e708700bcf9a944855105fc3dce0e<br>   Cseq: 101 REGISTER<br>   Contact: &lt;sip:doddle@192.168.0.1:4375;LINEID=fc9c0e49caad&gt;<br>   Expires: 3600<br>   Date: Wed, 11 Nov 2009 21:51:51 GMT<br>   Max-Forwards: 70<br>
   User-Agent: Doddle WebPhone<br>   Supported: replaces<br>   Via: SIP/2.0/UDP 192.168.0.1:4375;branch=z9hG4bK-0f9263f10caa;rport<br>   Content-Length: 0<br>   <br>   ------------------------------------------------------------------------<br>
tport_deliver(0xae7056b0): msg 0xae703f88 (444 bytes) from udp/<a href="http://190.179.3.18:5060/sip">190.179.3.18:5060/sip</a> next=(nil)<br>nta: received REGISTER sip:216.75.60.102 SIP/2.0 (CSeq 101)<br>nta: Via check: received=190.179.3.18<br>
nta: canonizing sip:216.75.60.102 with contact<br>nta: REGISTER (101) going to a default leg<br>nua: nua_stack_process_request: entering<br>nua: nh_create: entering<br>nua: nh_create_handle: entering<br>nua: nua_stack_set_params: entering<br>
soa_clone(static::0xae7098a0, 0xae704890, 0xae718fc8) called<br>soa_set_params(static::0xae719398, ...) called<br>nua: nua_application_event: entering<br>nua: nua_respond: entering<br>nua(0xae718fc8): sent signal r_respond<br>
nua: nua_handle_destroy: entering<br>nua(0xae718fc8): sent signal r_destroy<br>nua: nua_stack_set_params: entering<br>nua: nua_handle_magic: entering<br>nua: nua_handle_destroy: entering<br>soa_set_params(static::0xae719398, ...) called<br>
tport_tsend(0xae7056b0) tpn = UDP/<a href="http://190.179.3.18:4375">190.179.3.18:4375</a><br>tport_resolve addrinfo = <a href="http://190.179.3.18:4375">190.179.3.18:4375</a><br>tport_by_addrinfo(0xae7056b0): not found by name UDP/<a href="http://190.179.3.18:4375">190.179.3.18:4375</a><br>
tport_vsend returned 631<br>send 631 bytes to udp/[190.179.3.18]:4375 at 21:51:10.198733:<br>   ------------------------------------------------------------------------<br>   SIP/2.0 401 Unauthorized<br>   Via: SIP/2.0/UDP 192.168.0.1:4375;branch=z9hG4bK-0f9263f10caa;rport=4375;received=190.179.3.18<br>
   From: <a href="mailto:sip%3Adoddle@216.75.60.102">sip:doddle@216.75.60.102</a>;tag=633f3915<br>   To: &lt;<a href="mailto:sip%3Adoddle@216.75.60.102">sip:doddle@216.75.60.102</a>&gt;;tag=U8QpcZyvrQ3Fg<br>   Call-Id: 186e708700bcf9a944855105fc3dce0e<br>
   Cseq: 101 REGISTER<br>   User-Agent: FreeSWITCH-mod_sofia/1.0.5pre5-15326M<br>   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE<br>   Supported: timer, precondition, path, replaces<br>
   WWW-Authenticate: Digest realm=&quot;216.75.60.102&quot;, nonce=&quot;132239a5-e37e-4698-af61-5df9b3b67de8&quot;, algorithm=MD5, qop=&quot;auth&quot;<br>   Content-Length: 0<br>   <br>   ------------------------------------------------------------------------<br>
nta: sent 401 Unauthorized for REGISTER (101)<br>nta: timer set to 32000 ms<br>nta_leg_destroy((nil))<br>soa_destroy(static::0xae719398) called<br>tport_wakeup_pri(0xae7056b0): events IN<br>tport_recv_event(0xae7056b0)<br>
tport_recv_iovec(0xae7056b0) msg 0xae716af8 from (udp/<a href="http://216.75.60.102:5060">216.75.60.102:5060</a>) has 706 bytes, veclen = 1<br>recv 706 bytes from udp/[190.179.3.18]:4375 at 21:51:10.453646:<br>   ------------------------------------------------------------------------<br>
   REGISTER sip:216.75.60.102 SIP/2.0<br>   From: <a href="mailto:sip%3Adoddle@216.75.60.102">sip:doddle@216.75.60.102</a>;tag=633f3915<br>   To: <a href="mailto:sip%3Adoddle@216.75.60.102">sip:doddle@216.75.60.102</a><br>
   Call-Id: 186e708700bcf9a944855105fc3dce0e<br>   Cseq: 102 REGISTER<br>   Expires: 3600<br>   Date: Wed, 11 Nov 2009 21:51:51 GMT<br>   Max-Forwards: 70<br>   User-Agent: Doddle WebPhone<br>   Supported: replaces<br>   Authorization: Digest username=&quot;doddle&quot;, realm=&quot;216.75.60.102&quot;, nonce=&quot;132239a5-e37e-4698-af61-5df9b3b67de8&quot;, uri=&quot;sip:216.75.60.102&quot;, response=&quot;686ec180c04fc70be22aaca9eb21f5e9&quot;, algorithm=MD5, cnonce=&quot;155fb1307a89ffc0eaed1e0e94958e6e&quot;, qop=auth, nc=00000033<br>
   Via: SIP/2.0/UDP 192.168.0.1:4375;branch=z9hG4bK-36a1b6039a42;rport<br>   Contact: &lt;sip:doddle@190.179.3.18:4375;LINEID=fc9c0e49caad&gt;<br>   Content-Length: 0<br>   <br>   ------------------------------------------------------------------------<br>
tport_deliver(0xae7056b0): msg 0xae716af8 (706 bytes) from udp/<a href="http://190.179.3.18:5060/sip">190.179.3.18:5060/sip</a> next=(nil)<br>nta: received REGISTER sip:216.75.60.102 SIP/2.0 (CSeq 102)<br>nta: Via check: received=190.179.3.18<br>
nta: canonizing sip:216.75.60.102 with contact<br>nta: REGISTER (102) going to a default leg<br>nua: nua_stack_process_request: entering<br>nua: nh_create: entering<br>nua: nh_create_handle: entering<br>nua: nua_stack_set_params: entering<br>
soa_clone(static::0xae7098a0, 0xae704890, 0xae71ae30) called<br>soa_set_params(static::0xae71b340, ...) called<br>nua: nua_application_event: entering<br>nua: nua_respond: entering<br>nua(0xae71ae30): sent signal r_respond<br>
nua: nua_handle_destroy: entering<br>nua: nua_stack_set_params: entering<br>nua(0xae71ae30): sent signal r_destroy<br>nua: nua_handle_magic: entering<br>soa_set_params(static::0xae71b340, ...) called<br>nua: nua_handle_destroy: entering<br>
tport_tsend(0xae7056b0) tpn = UDP/<a href="http://190.179.3.18:4375">190.179.3.18:4375</a><br>tport_resolve addrinfo = <a href="http://190.179.3.18:4375">190.179.3.18:4375</a><br>tport_by_addrinfo(0xae7056b0): not found by name UDP/<a href="http://190.179.3.18:4375">190.179.3.18:4375</a><br>
tport_vsend returned 645<br>send 645 bytes to udp/[190.179.3.18]:4375 at 21:51:10.462570:<br>   ------------------------------------------------------------------------<br>   SIP/2.0 401 Unauthorized<br>   Via: SIP/2.0/UDP 192.168.0.1:4375;branch=z9hG4bK-36a1b6039a42;rport=4375;received=190.179.3.18<br>
   From: <a href="mailto:sip%3Adoddle@216.75.60.102">sip:doddle@216.75.60.102</a>;tag=633f3915<br>   To: &lt;<a href="mailto:sip%3Adoddle@216.75.60.102">sip:doddle@216.75.60.102</a>&gt;;tag=vHHFetF0N0S2B<br>   Call-Id: 186e708700bcf9a944855105fc3dce0e<br>
   Cseq: 102 REGISTER<br>   User-Agent: FreeSWITCH-mod_sofia/1.0.5pre5-15326M<br>   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE<br>   Supported: timer, precondition, path, replaces<br>
   WWW-Authenticate: Digest realm=&quot;216.75.60.102&quot;, nonce=&quot;5a5ebe31-baf6-429c-a184-f835a22d7c24&quot;, stale=&quot;true&quot;, algorithm=MD5, qop=&quot;auth&quot;<br>   Content-Length: 0<br>   <br>   ------------------------------------------------------------------------<br>
nta: sent 401 Unauthorized for REGISTER (102)<br>nta_leg_destroy((nil))<br>soa_destroy(static::0xae71b340) called<br><br><br><br>Thank you in advacen,<br><br>Federico Omoto<br><br><br>