I just migrate my Asterisk ARA that was using sip protocol to jpsip, in the begining I migrate without database for the tables of the pjsip, such as (endpoints, aors, auths, etc) after finished the migration and the server is working properly I tried to enable the database, but now I cant connect the endpoints in the server, the system return error in the authentication:
[Jun 7 10:40:09] NOTICE[9436]: res_pjsip/pjsip_distributor.c:649 log_failed_request: Request 'REGISTER' from '<sip:6002@siphml.dns123.com>' failed for '187.181.178.X:27412' (callid: 575368506-18222-1@BJC.BGI.A.BAC) - No matching endpoint found
[Jun 7 10:40:09] NOTICE[9436]: res_pjsip/pjsip_distributor.c:649 log_failed_request: Request 'REGISTER' from '<sip:6002@siphml.solaristelecomdns123com>' failed for '187.181.178.X:27412' (callid: 575368506-18222-1@BJC.BGI.A.BAC) - Failed to authenticate
I didn’t put all the tables in the database, only PS_ENDPOINTS, PS_AORS and PS_AUTHS… transport, globals and other I leave in the file.
in the sorcery.conf I added it:
[res_pjsip] ; Realtime PJSIP configuration wizard
endpoint=realtime,ps_endpoints
auth=realtime,ps_auths
aor=realtime,ps_aors
They appear to be named “1”, “2”, and “3” - at least from the perspective of PJSIP after querying the database. Your device is trying to register as “6002”.