I have an Asterisk server running with PJSIP protocol and after turn on the Realtime I have problems with the registration of the endpoints.
Bellow is the log when the system register the endpoint and imediatelly show as Unknown the device:
== Contact 6002/sip:6002@187.181.178.208:29023 has been deleted
-- Removed contact 'sip:6002@187.181.178.208:29023' from AOR '6002' due to request
== Contact 6002/sip:6002@187.181.178.208:29112 has been created
-- Added contact 'sip:6002@187.181.178.208:29112' to AOR '6002' with expiration of 3600 seconds
-- Contact 6002/sip:6002@187.181.178.208:29112 is now Unknown. RTT: 0.000 msec
My network has NAT allowed and the qualify_timeout was defined to 10.
ip-172-31-12-250*CLI> pjsip show contacts
Contact: <Aor/ContactUri..............................> <Hash....> <Status> <RTT(ms)..>
==========================================================================================
Contact: 6001/sip:6001@187.181.178.208:28353;rinstance= b258b9ce53 Unknown nan
Contact: 6002/sip:6002@187.181.178.208:28327 5955f33499 Unknown nan
Contact: 6002/sip:6002@187.181.178.208:28821 e0b70c1001 Unknown nan
Contact: 6002/sip:6002@187.181.178.208:29159 99ebd25ebf Unknown nan
Contact: 6003/sip:6003@187.181.178.208:28334 aad42bada3 Unknown nan
Contact: 6003/sip:6003@187.181.178.208:28394 ac2a7826fa Unknown nan