Hi guys, I am new to Asterisk. I have set up asterisk on my Ubuntu 18.04 system. Now I wanted to test it using a Soft-phone. So I have installed Twinkle soft-phone. I have created a new user in sip.conf. I have made necessary changes in sip.conf and extensions.conf but when I use that same username and secret to register with Twinkle , it shows “asterisk, registration failed: 401 Unauthorized”.
Here is my sip.conf file-
Here is my extensions.conf file-
exten = 100,1,Answer()
same = n,Wait(1)
same = n,Playback(hello-world)
same = n,Hangup()
When registering for Twinkle I have used username as 6001 and password as safepass and then domain is used which I have got through the terminal command “hostname -I”.
Also when I look at the logs of the asterisk in /var/log/asterisk/ , there is no log
Can anyone help me to get my sip phone registered so that I can move forward to a bigger project.