[asterisk-users] Asterisk16 - PJSIP - Error 401 on outbound registration

Administrator admin at tootai.net
Tue Jan 21 12:17:35 CST 2020


Le 20/01/2020 à 12:11, Joshua C. Colp a écrit :
> On Sun, Jan 19, 2020 at 10:45 AM Administrator <admin at tootai.net 
> <mailto:admin at tootai.net>> wrote:
>
> <snip>
>
>     It become stranger and stranger: on one of the register peer we
>     receive in asterisk:
>
>     *CLI> [2020-01-19 15:23:18] WARNING[17469]:
>     res_pjsip_outbound_registration.c:1021
>     handle_registration_response: Fatal response '401' received from
>     'sip:<myprovider>' on registration attempt to
>     'sip:<myuser>@<myprovider>', stopping outbound registration
>
> What is the actual full configuration for this?
Guess what: provider change registration port number from usual 5060 :(
>
>     [...]
>
>     So the answer is coming back to the server but not to asterisk.
>     With the debian package of asterisk-16 the 401 response was
>     received by asterisk.
>
> Every time I've seen this occur it's been the result of a firewall 
> rule gone awry.

You got it. Provider IP was blacklisted.

[...]

Finally we got it up and working, thanks to you and C.Maj

-- 

Daniel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20200121/541a3edf/attachment.html>


More information about the asterisk-users mailing list