3cxphone can not connect to Asterisk

I followed the get-started doc, and added the following to sip.conf

[demo-alice]
type=friend
host=dynamic
secret=123456
context=users
deny=0.0.0.0/0
permit=192.168.1.0/255.255.255.0

[demo-bob]
type=friend
host=dynamic
secret=123456
context=users
deny=0.0.0.0/0
permit=192.168.1.0/255.255.255.0

reload.

and in the extensions.conf, added

[users]
exten=>6001,1,Dial(SIP/demo-alice,20)
exten=>6002,1,Dial(SIP/demo-bob,20)

reload.

when I configured 3cx phone to connect the asterisk which is running on 192.168.1.22
(firewall port: 5060 is open),

Account name: demo-alice
Caller ID: demo-alice
extension: 6001
ID: demo-alice
password: 123456
PBX localIP: 192.168.1.22

got the following error:

[Oct 11 15:25:28] NOTICE[26394]: chan_sip.c:24331 handle_request_register: Registration from ‘"demo-alice"sip:6001@192.168.1.22:5060’ failed for ‘192.168.1.100:1908’ - No matching peer found
[Oct 11 15:25:28] NOTICE[26394]: chan_sip.c:24331 handle_request_register: Registration from ‘"demo-bob"sip:6002@192.168.1.22:5060’ failed for ‘192.168.1.100:1908’ - No matching peer found

CLI> sip show peers
Name/username Host Dyn Forcerport ACL Port Status
demo-alice (Unspecified) D A 0 Unmonitored
demo-bob (Unspecified) D A 0 Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 2 offline]

Thanks for any help.
Dave

try

Account name: demo-alice
Caller ID: demo-alice
extension: demo-alice
ID: demo-alice
password: 123456
PBX localIP: 192.168.1.22

Solved according to your suggestion. Thanks!