As Brian West pointed out, this is a standard “Auth Challenge” and it provides the nonce for the phone to reattempt its authentication with its MD5 encrypted password.  I suspect the phone is likely NOT seeing the packet.  That is exactly what you see with NAT’ed devices that are not configured properly.  The IP addresses listed do not appear to be standard NAT IPs, but are you sure you have valid IP routes from the FS Server to the device?

 

Sean

 

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Alejandro
Sent: Wednesday, June 17, 2015 4:19 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] SIP over TCP with SPA3102 v3.3.6?

 

THanks, this is what i see into the logs:

 

send 640 bytes to udp/[200.XX.XX.XX]:5061 at 16:15:48.846094:

   ------------------------------------------------------------------------

   SIP/2.0 401 Unauthorized

   Via: SIP/2.0/UDP 172.16.9.106:5061;branch=z9hG4bK-ac588b61;received=200.XX.XX.XX

   From: 1000 <sip:1000@fs-01.domain.net>;tag=648630b5cd8732f4o1

   To: 1000 <sip:1000@fs-01.domain.net>;tag=5gNNtN4yvF0ga

   Call-ID: aed60bfe-466f66cb@172.16.9.106

   CSeq: 33700 REGISTER

   User-Agent: FreeSWITCH-mod_sofia/1.4.15~64bit

   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE

   Supported: timer, path, replaces

   WWW-Authenticate: Digest realm="fs-01.domain.net", nonce="9218ae0a-152d-11e5-9be8-9f5eedf195fc", algorithm=MD5, qop="auth"

   Content-Length: 0

   

   ------------------------------------------------------------------------

 

Something that possible can be realm="fs-01.domain.net" but my domain is just "domain.net" look like be using the Server name as realm

 

 

 

2015-06-17 17:09 GMT-03:00 Brian West <brian@freeswitch.org>:

401 isn't an error, 401 is a challenge, if the device isn't responding to that challenge then it probably has a bug in the firmware. 

 

On Wed, Jun 17, 2015 at 3:06 PM, Alejandro <cdgraff@gmail.com> wrote:

As described into the forum, i'm getting 401 error, but the credential be correct, I test with a softphone and all works, but from SPA don't

 

Say something about an issue into SPA

 

2015-06-17 16:48 GMT-03:00 <covici@ccs.covici.com>:

Why are you trying over tcp?  Udp has worked for me.


Alejandro <cdgraff@gmail.com> wrote:

> Hi guys, Any knows where is the setup of SIP over TCP into SPA3102 but
> verison v3.3.6?
>
> previous version has a lot of documentation on internet, but after the
> upgrade I can't change this, in base to the recomendation from here:
>
> https://freeswitch.org/confluence/display/FREESWITCH/SPA3102+HowTo#SPA3102HowTo-SPA3102
> "SIP/2.0401Unauthorized"Issue
>
> Thanks!
> Ale
>

> ----------------------------------------------------
> Alternatives:
>
> ----------------------------------------------------
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting@freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
--
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

 


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



 

--

Brian West
brian@freeswitch.org

Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch

T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org