Problem with authentication

I’m trying to register a SIP client with my asterisknow server, and the client is telling me that my password is incorrect. Server is returning a 403. I am 100% sure the password is correct.

Edit - I’ve also tried this leaving secret blank and entering no password, same issue.

[code]<— SIP read from UDP:192.168.1.114:30140 —>
REGISTER sip:192.168.1.106 SIP/2.0
Call-ID: f0d11e37c8093669650e1455b8a2e67c@0:0:0:0:0:0:0:0
CSeq: 5 REGISTER
From: “111” sip:111@192.168.1.106;tag=b5a2d4c8
To: “111” sip:111@192.168.1.106
Max-Forwards: 70
User-Agent: Jitsi1.0-build.3967Linux
Expires: 600
Contact: “111” sip:111@192.168.1.114:30140;transport=udp;registering_acc=192_168_1_106;expires=600
Via: SIP/2.0/UDP 192.168.1.114:30140;branch=z9hG4bK-353834-a31256c2c575aced24be6369d5850083
Authorization: Digest username=“111”,realm=“asterisk”,nonce=“2c4382e7”,uri=“sip:192.168.1.106”,response=“f9486230a7014eb2a1ad7e73ba91f20e”,algorithm=MD5
Content-Length: 0

<------------->
— (12 headers 0 lines) —
Sending to 192.168.1.114:30140 (NAT)

<— Transmitting (NAT) to 192.168.1.114:30140 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.114:30140;branch=z9hG4bK-353834-a31256c2c575aced24be6369d5850083;received=192.168.1.114;rport=30140
From: “111” sip:111@192.168.1.106;tag=b5a2d4c8
To: “111” sip:111@192.168.1.106;tag=as2a10ec80
Call-ID: f0d11e37c8093669650e1455b8a2e67c@0:0:0:0:0:0:0:0
CSeq: 5 REGISTER
Server: FPBX-2.10.0rc1(1.8.11.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="2a291b18"
Content-Length: 0

<------------>
Scheduling destruction of SIP dialog ‘f0d11e37c8093669650e1455b8a2e67c@0:0:0:0:0:0:0:0’ in 32000 ms (Method: REGISTER)
Scheduling destruction of SIP dialog ‘f0d11e37c8093669650e1455b8a2e67c@0:0:0:0:0:0:0:0’ in 32000 ms (Method: REGISTER)

<— SIP read from UDP:192.168.1.114:30140 —>
REGISTER sip:192.168.1.106 SIP/2.0
Call-ID: f0d11e37c8093669650e1455b8a2e67c@0:0:0:0:0:0:0:0
CSeq: 6 REGISTER
From: “111” sip:111@192.168.1.106;tag=b5a2d4c8
To: “111” sip:111@192.168.1.106
Max-Forwards: 70
User-Agent: Jitsi1.0-build.3967Linux
Expires: 600
Contact: “111” sip:111@192.168.1.114:30140;transport=udp;registering_acc=192_168_1_106;expires=600
Via: SIP/2.0/UDP 192.168.1.114:30140;branch=z9hG4bK-353834-4993b691e2751aec8925515913a5ed09
Authorization: Digest username=“111”,realm=“asterisk”,nonce=“2a291b18”,uri=“sip:192.168.1.106”,response=“f83306fe7b69a925d2b4f8f6962874ea”,algorithm=MD5
Content-Length: 0

<------------->
— (12 headers 0 lines) —
Sending to 192.168.1.114:30140 (NAT)

<— Transmitting (NAT) to 192.168.1.114:30140 —>
SIP/2.0 403 Forbidden (Bad auth)
Via: SIP/2.0/UDP 192.168.1.114:30140;branch=z9hG4bK-353834-4993b691e2751aec8925515913a5ed09;received=192.168.1.114;rport=30140
From: “111” sip:111@192.168.1.106;tag=b5a2d4c8
To: “111” sip:111@192.168.1.106;tag=as2a10ec80
Call-ID: f0d11e37c8093669650e1455b8a2e67c@0:0:0:0:0:0:0:0
CSeq: 6 REGISTER
Server: FPBX-2.10.0rc1(1.8.11.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0

<------------>
Scheduling destruction of SIP dialog ‘f0d11e37c8093669650e1455b8a2e67c@0:0:0:0:0:0:0:0’ in 32000 ms (Method: REGISTER)

<— SIP read from UDP:192.168.1.114:30140 —>
REGISTER sip:192.168.1.106 SIP/2.0
Call-ID: f0d11e37c8093669650e1455b8a2e67c@0:0:0:0:0:0:0:0
CSeq: 7 REGISTER
From: “111” sip:111@192.168.1.106;tag=b5a2d4c8
To: “111” sip:111@192.168.1.106
Max-Forwards: 70
User-Agent: Jitsi1.0-build.3967Linux
Expires: 600
Contact: “111” sip:111@192.168.1.114:30140;transport=udp;registering_acc=192_168_1_106;expires=600
Via: SIP/2.0/UDP 192.168.1.114:30140;branch=z9hG4bK-353834-04435b63fa9675da350513efcbdbb8d2
Content-Length: 0

<------------->
— (11 headers 0 lines) —
Sending to 192.168.1.114:30140 (NAT)

<— Transmitting (NAT) to 192.168.1.114:30140 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.114:30140;branch=z9hG4bK-353834-04435b63fa9675da350513efcbdbb8d2;received=192.168.1.114;rport=30140
From: “111” sip:111@192.168.1.106;tag=b5a2d4c8
To: “111” sip:111@192.168.1.106;tag=as2a10ec80
Call-ID: f0d11e37c8093669650e1455b8a2e67c@0:0:0:0:0:0:0:0
CSeq: 7 REGISTER
Server: FPBX-2.10.0rc1(1.8.11.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="10d4a71d"
Content-Length: 0

<------------>
Scheduling destruction of SIP dialog ‘f0d11e37c8093669650e1455b8a2e67c@0:0:0:0:0:0:0:0’ in 32000 ms (Method: REGISTER)
Scheduling destruction of SIP dialog ‘f0d11e37c8093669650e1455b8a2e67c@0:0:0:0:0:0:0:0’ in 32000 ms (Method: REGISTER)
Really destroying SIP dialog ‘f0d11e37c8093669650e1455b8a2e67c@0:0:0:0:0:0:0:0’ Method: REGISTER

<— SIP read from UDP:192.168.1.114:30140 —>
REGISTER sip:192.168.1.106 SIP/2.0
Call-ID: f0d11e37c8093669650e1455b8a2e67c@0:0:0:0:0:0:0:0
CSeq: 8 REGISTER
From: “111” sip:111@192.168.1.106;tag=b5a2d4c8
To: “111” sip:111@192.168.1.106
Max-Forwards: 70
User-Agent: Jitsi1.0-build.3967Linux
Expires: 600
Contact: “111” sip:111@192.168.1.114:30140;transport=udp;registering_acc=192_168_1_106;expires=600
Via: SIP/2.0/UDP 192.168.1.114:30140;branch=z9hG4bK-353834-763ce04c5586bb836747409da5f04f54
Authorization: Digest username=“111”,realm=“asterisk”,nonce=“10d4a71d”,uri=“sip:192.168.1.106”,response=“736a7e58bada956e76e1c21b52a86623”,algorithm=MD5
Content-Length: 0

<------------->
— (12 headers 0 lines) —
Sending to 192.168.1.114:30140 (NAT)

<— Transmitting (NAT) to 192.168.1.114:30140 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.114:30140;branch=z9hG4bK-353834-763ce04c5586bb836747409da5f04f54;received=192.168.1.114;rport=30140
From: “111” sip:111@192.168.1.106;tag=b5a2d4c8
To: “111” sip:111@192.168.1.106;tag=as572748a7
Call-ID: f0d11e37c8093669650e1455b8a2e67c@0:0:0:0:0:0:0:0
CSeq: 8 REGISTER
Server: FPBX-2.10.0rc1(1.8.11.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="048c05a3"
Content-Length: 0

<------------>
Scheduling destruction of SIP dialog ‘f0d11e37c8093669650e1455b8a2e67c@0:0:0:0:0:0:0:0’ in 32000 ms (Method: REGISTER)
Scheduling destruction of SIP dialog ‘f0d11e37c8093669650e1455b8a2e67c@0:0:0:0:0:0:0:0’ in 32000 ms (Method: REGISTER)

<— SIP read from UDP:192.168.1.114:30140 —>
REGISTER sip:192.168.1.106 SIP/2.0
Call-ID: f0d11e37c8093669650e1455b8a2e67c@0:0:0:0:0:0:0:0
CSeq: 9 REGISTER
From: “111” sip:111@192.168.1.106;tag=b5a2d4c8
To: “111” sip:111@192.168.1.106
Max-Forwards: 70
User-Agent: Jitsi1.0-build.3967Linux
Expires: 600
Contact: “111” sip:111@192.168.1.114:30140;transport=udp;registering_acc=192_168_1_106;expires=600
Via: SIP/2.0/UDP 192.168.1.114:30140;branch=z9hG4bK-353834-bc01c9aa540dcd5a60cb89027065c26f
Authorization: Digest username=“111”,realm=“asterisk”,nonce=“048c05a3”,uri=“sip:192.168.1.106”,response=“25de874051bfce7da472d615b5157822”,algorithm=MD5
Content-Length: 0

<------------->
— (12 headers 0 lines) —
Sending to 192.168.1.114:30140 (NAT)

<— Transmitting (NAT) to 192.168.1.114:30140 —>
SIP/2.0 403 Forbidden (Bad auth)
Via: SIP/2.0/UDP 192.168.1.114:30140;branch=z9hG4bK-353834-bc01c9aa540dcd5a60cb89027065c26f;received=192.168.1.114;rport=30140
From: “111” sip:111@192.168.1.106;tag=b5a2d4c8
To: “111” sip:111@192.168.1.106;tag=as572748a7
Call-ID: f0d11e37c8093669650e1455b8a2e67c@0:0:0:0:0:0:0:0
CSeq: 9 REGISTER
Server: FPBX-2.10.0rc1(1.8.11.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0

<------------>
Scheduling destruction of SIP dialog ‘f0d11e37c8093669650e1455b8a2e67c@0:0:0:0:0:0:0:0’ in 32000 ms (Method: REGISTER)

<— SIP read from UDP:192.168.1.114:30140 —>
REGISTER sip:192.168.1.106 SIP/2.0
Call-ID: f0d11e37c8093669650e1455b8a2e67c@0:0:0:0:0:0:0:0
CSeq: 10 REGISTER
From: “111” sip:111@192.168.1.106;tag=b5a2d4c8
To: “111” sip:111@192.168.1.106
Max-Forwards: 70
User-Agent: Jitsi1.0-build.3967Linux
Expires: 600
Contact: “111” sip:111@192.168.1.114:30140;transport=udp;registering_acc=192_168_1_106;expires=600
Via: SIP/2.0/UDP 192.168.1.114:30140;branch=z9hG4bK-353834-a3eb735b5498a7d49c615fbfe18fce9a
Content-Length: 0

<------------->
— (11 headers 0 lines) —
Sending to 192.168.1.114:30140 (NAT)

<— Transmitting (NAT) to 192.168.1.114:30140 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.114:30140;branch=z9hG4bK-353834-a3eb735b5498a7d49c615fbfe18fce9a;received=192.168.1.114;rport=30140
From: “111” sip:111@192.168.1.106;tag=b5a2d4c8
To: “111” sip:111@192.168.1.106;tag=as572748a7
Call-ID: f0d11e37c8093669650e1455b8a2e67c@0:0:0:0:0:0:0:0
CSeq: 10 REGISTER
Server: FPBX-2.10.0rc1(1.8.11.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="4d0067f4"
Content-Length: 0

[/code]

please check the password from the command: sip show peers, the command will tell you a “right password”.