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:firstname.lastname@example.org:29023 has been deleted -- Removed contact 'sip:email@example.com:29023' from AOR '6002' due to request == Contact 6002/sip:firstname.lastname@example.org:29112 has been created -- Added contact 'sip:email@example.com:29112' to AOR '6002' with expiration of 3600 seconds -- Contact 6002/sip:firstname.lastname@example.org: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:email@example.com:28353;rinstance= b258b9ce53 Unknown nan Contact: 6002/sip:firstname.lastname@example.org:28327 5955f33499 Unknown nan Contact: 6002/sip:email@example.com:28821 e0b70c1001 Unknown nan Contact: 6002/sip:firstname.lastname@example.org:29159 99ebd25ebf Unknown nan Contact: 6003/sip:email@example.com:28334 aad42bada3 Unknown nan Contact: 6003/sip:firstname.lastname@example.org:28394 ac2a7826fa Unknown nan