Winet hosted Asterisk PBX SIP 403: Bad auth
Today I encountered a problem that is common to some GUIs for Asterisk: Problems with synchronizing Asterisk with the Configuration from the GUI.
In my case, I was confronted with a hosted Asterisk instance that I can only access through a web gui.
A user complained, that he got a "403: Bad auth" and he was totally sure that he got the password and username right. I checked and he got them right.
So I checked if it was his softphone that fucked things up - it turned out to happen on my softphone as well when I tried to connect with his credentials.
It even happened with a second user account but not with a third one.
As it turned out: The common factor of the two accounts that failed was a previous password change.
The Winet GUI offers you a console via "System" > "Console" where you can use pretty much all the Asterisk CLI commands.
In that particular case you can do the following:
Enter "sip show users" - the "Secret" column shows the beginning of the password of a user.
Enter "sip reload".
Enter "sip show users" again and check if the password is now refreshed.
Now your users should be abled to connect properly.







