[asterisk-users] 401 error
Steve Edwards
asterisk.org at sedwards.com
Thu Mar 9 22:19:21 CST 2023
On Thu, 9 Mar 2023, Jerry Geis wrote:
> Trying to setup an incoming call with a DNIS
>
> When I dial the number - I see nothing on the CLI.
Have you enabled [PJ]SIP debugging? Bumping up console debug and verbose
levels may also yield clues.
tcpdump+sngrep are my 'gotos' for packet analysis, but this may not need
too much depth.
> The person says the server is returning 401
>
> How do I debug that. Using asterisk 18.8.0
https://en.wikipedia.org/wiki/List_of_SIP_response_codes#:~:text=401%20Unauthorized,1%5D%3A%E2%80%8A%C2%A721.4.2
"401 Unauthorized The request requires user authentication. This response
is issued by UASs and registrars.[1]: §21.4.2"
My guess would be a user or password mismatch.
Are you using SIP or PJSIP?
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
https://www.linkedin.com/in/steve-edwards-4244281
More information about the asterisk-users
mailing list