I installed AsteriskNow (Asterisk+FreePBX). Then i created new user in FreePBX User Management, it wrote md5 encrypted secret in sip.conf (secret=<-my encrypted password->). Then i tried to log in in X-Lite client and i saw error “wrong password”.
Then i edited sip.conf and set not encrypted secret (secret=<-my not encrypted password->), then i successfully log in in X-Lite.
I don’t want manually edit config file, what should i do to solve this problem?
Freepbx does not use encrypted passwords. It randomly generated an md5 password if you don’t set one. But that’s what the password is. It’s that md5. Nothing is encrypted. Go into freepbx and change the password/secret
I tried to do this now.
I go to Admin-User Management-User Settings and set password, then apply changes, then i see the md5 secret in sip.conf, and can’t log in in X-Lite again.
[root@localhost ~]# head -5 /etc/asterisk/sip.conf
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make ;
; custom modifications, details at: freepbx.org/configuration_files ;
;--------------------------------------------------------------------------------;
[root@localhost ~]# head -5 /etc/asterisk/sip_additional.conf
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. ;
;--------------------------------------------------------------------------------;
; For information on adding additional paramaters to this file, please visit the ;
; FreePBX.org wiki page, or ask on IRC. This file was created by the new FreePBX ;
Sorry, i saw what FreePBX write md5 secret after adding Extension.
I found my fault: Secret in User Management and Secret in Extension - it’s a different secrets. I should set secret in Extensions to successfully log in in sip-client.