SOLVED: 401 Unauthorized when trying to connect extension with softphone

Hello,

I am a new noob here. I have installed and configured my PBX and also added SIP Extensions. But when I am trying to connect my extension using softphone [I don’t have physical phone set] it says Unauthorized 401. My PBX version is 10.13.66-21.

Can you please help me? What could be the possible reasons?

Perhaps your IP got banned?

Monitor asterisk -rvvv while trying to register your soft phone

Thank you. After monitoring I got this

[2018-01-26 17:33:32] NOTICE[4105]: res_pjsip/pjsip_distributor.c:649 log_failed_request: Request ‘REGISTER’ from ‘“VoIP” sip:[email protected]’ failed for ‘192.168.0.101:53522’ (callid: 89322ODA4M2ExYzQwMTZiYjQyZWY1MzNmYjYxMzY1NzcyMjA) - No matching endpoint found
[2018-01-26 17:33:32] NOTICE[4105]: res_pjsip/pjsip_distributor.c:649 log_failed_request: Request ‘REGISTER’ from ‘“VoIP” sip:[email protected]’ failed for ‘192.168.0.101:53522’ (callid: 89322ODA4M2ExYzQwMTZiYjQyZWY1MzNmYjYxMzY1NzcyMjA) - No matching endpoint found
[2018-01-26 17:33:32] NOTICE[4105]: res_pjsip/pjsip_distributor.c:649 log_failed_request: Request ‘REGISTER’ from ‘“VoIP” sip:[email protected]’ failed for ‘192.168.0.101:53522’ (callid: 89322ODA4M2ExYzQwMTZiYjQyZWY1MzNmYjYxMzY1NzcyMjA) - Failed to authenticate

My extension is Chan SIP.
How can I fix this?

Thank you for your help. Now it is fixed. I was trying to connect on port 5060. But Chan SIP listen for request on 5160. I have change the port on softphone and it is working!

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.