Cisco IP Phone 303 can't register

Hi,

I’m trying to connect a Cisco IP Phone 303 with my Asterisk server but I keep getting Failed(Authenticate) on the phone display.

Here are the configurations I have on the phone. What I suspect the most is under Subscriber information, I’m not sure about what UserID should be, or whether I should add Auth ID:

Here is the pjsip configuration for the phone:

[coworking]
type=endpoint
context=testing
disallow=all
allow=ulaw
auth=coworking-auth
aors=internal
rtp_symmetric=yes
force_rport=yes
rewrite_contact=yes
direct_media=no

[coworking-auth]
type=auth
auth_type=userpass
username=1001
password=secret123

[internal]
type=aor
max_contacts=10
;contact=sip:server@193.40.103.100
;contact=sip:coworking@172.28.65.19

Change “[coworking]” to “[1001]”. This will allow the appropriate endpoint to be matched, otherwise you will need to experiment with User ID and Auth ID to have separate values.

Thank you for your fast response.
I changed Display name to 1001 but it still doesn’t work. Here is the current state:

I was referring to in pjsip.conf, not on the phone.

I did that and now it gave me different error on the phone display Failed 404

The log said
[Feb 3 13:50:31] WARNING[32]: res_pjsip_registrar.c:1080 find_registrar_aor: AOR '' not found for endpoint '1001'

Try changing the AOR from “[internal]” to “[1001]” as well, along with changing the “aors” value in the endpoint to “1001”. If that fails you’ll need to provide the actual SIP traffic using the “pjsip set logger on” CLI command.

Hi,
It works!! Thank you so much!