Hi forum!
Thank you for your previous help. I really appreciate it!
I have problem with authorization for my users like this:
[2017-01-18 17:28:34] NOTICE[16122]: chan_sip.c:27891 handle_request_register: Registration from ‘"101"sip:101@192.168.0.15’ failed for ‘192.168.0.5:50792’ - Wrong password
voipserv*CLI>
However, my config files are:
[root@voipserv Wed Jan 18 17:28:18 asterisk]# egrep -v ‘^;|^#|^$’ /etc/asterisk/sip.conf
[general]
include sip_additional.conf
[root@voipserv Wed Jan 18 17:29:31 asterisk]#vi /etc/asterisk/sip_additional.conf
[101]
deny=0.0.0.0/0.0.0.0
secret=secret123
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
trustrpid=yes
mediaencryption=no
sendrpid=no
type=friend
nat=no
port=5060
qualify=yes
callgroup=1
pickupgroup=1
dial=SIP/101
permit=0.0.0.0/0.0.0.0
callerid=Second <101>
callcounter=yes
faxdetect=no
Same password I put in config profile my X-Lite softphone by copy/paste method.
Is it possible that I have problem with password, because I have wrong/another information about it to somewhere? In DB let say?
I try to check it to the MySQL DB I used for my asterisk and see next
MariaDB [asterisk]> select extension, password, name, sipname from users;
±----------±---------±--------------------±--------+
| extension | password | name | sipname |
±----------±---------±--------------------±--------+
| 100 | | First | 100 |
| 101 | | Second | 101 |
| 107 | | Manual | 107 |
±----------±---------±--------------------±--------+
Field ‘password’ as you see is empty. Can it be the root of the problem? If so, what other tables, dbs I should check?
Thank you in advance,
Ivan