2 extensions show registered but missing Contact info

FreePBX 16.0.40.7
Asterisk 18.16.0

I just replaced (17) Polycom phones with (8) Yealink phones for a client. They haven’t been using this system for some time now - none of the extensions were mapped in EPM.

Two of the phones go straight to VM when you call their extension, FM or DND is not enabled for either of these extensions, When I look at the peers under Asterisk Info, I notice that neither extension has any contact info listed for it…

Endpoint: 100/100 Not in use 0 of inf
InAuth: 100-auth/100
Aor: 100 1

Endpoint: 101/101 Not in use 0 of inf
OutAuth: 101-auth/101
InAuth: 101-auth/101
Aor: 101 1
Contact: 101/sip:[email protected]:5060 3def9dc72b Avail 4.705

[snipped…]

Endpoint: 106/106 Not in use 0 of inf
InAuth: 106-auth/106
Aor: 106 1

I have reset the two phones to factory defaults and I have deleted and re-setup the two extensions but the issue remains, I suspect that the database is possibly corrupt, but have no proof.

I can clearly see in the logs where the endpoint registers and is reachable along with the contact info…

[2024-05-01 17:58:06] VERBOSE[7820] res_pjsip_registrar.c: Added contact 'sip:[email protected]:5060' to AOR '106' with expiration of 3600 seconds
[2024-05-01 17:58:06] VERBOSE[10588] res_pjsip/pjsip_configuration.c: Endpoint 106 is now Reachable
[2024-05-01 17:58:06] VERBOSE[10588] res_pjsip/pjsip_options.c: Contact 106/sip:[email protected]:5060 is now Reachable.  RTT: 15.172 msec
[snipped...]
[2024-05-01 19:13:45] VERBOSE[7820] res_pjsip_registrar.c: Added contact 'sip:[email protected]:5060' to AOR '100' with expiration of 3600 seconds
[2024-05-01 19:13:45] VERBOSE[10588] res_pjsip/pjsip_configuration.c: Endpoint 100 is now Reachable
[2024-05-01 19:13:45] VERBOSE[10588] res_pjsip/pjsip_options.c: Contact 100/sip:[email protected]:5060 is now Reachable.  RTT: 12.461 msec

and running “pjsip list contacts” yields…

> Contact:  <Aor/ContactUri..............................> <Hash....> <Status> <RTT(ms)..>
> ==========================================================================================
> 
> Contact:  101/sip:[email protected]:5060                 3def9dc72b Avail         5.271
> Contact:  102/sip:[email protected]:5060                 0f866ce54f Avail         4.956
> Contact:  103/sip:[email protected]:5060                 0e4436f96e Avail         5.729
> Contact:  104/sip:[email protected]:5060                 ce0b62148d Avail         5.064
> Contact:  105/sip:[email protected]:5060                 e31db83099 Avail         4.653
> Contact:  120/sip:[email protected]:5060                 15e2e0c92a Avail         4.203

running “pjsip list endpoints” yields…

> Endpoint:  <Endpoint/CID.....................................>  <State.....>  <Channels.>
> ==========================================================================================
> 
> Endpoint:  100/100                                              Not in use    0 of inf
> Endpoint:  101/101                                              Not in use    0 of inf
> Endpoint:  102/102                                              Not in use    0 of inf
> Endpoint:  103/103                                              Not in use    0 of inf
> Endpoint:  104/104                                              Not in use    0 of inf
> Endpoint:  105/105                                              Not in use    0 of inf
> Endpoint:  106/106                                              Not in use    0 of inf
> Endpoint:  120/120                                              Not in use    0 of inf

Any suggestions as to what might be wrong or what else I should check?

You have snipped more than 3600 seconds. The registration should have been refreshed more than once in this period

Here is a filter log for extension 106…

[2024-05-01 17:58:06] VERBOSE[7820] res_pjsip_registrar.c: Added contact 'sip:[email protected]:5060' to AOR '106' with expiration of 3600 seconds
[2024-05-01 17:58:06] VERBOSE[10588] res_pjsip/pjsip_configuration.c: Endpoint 106 is now Reachable
[2024-05-01 17:58:06] VERBOSE[10588] res_pjsip/pjsip_options.c: Contact 106/sip:[email protected]:5060 is now Reachable.  RTT: 15.172 msec
[2024-05-01 18:48:06] VERBOSE[10588] res_pjsip_registrar.c: Added contact 'sip:[email protected]:5060' to AOR '106' with expiration of 3600 seconds
[2024-05-01 19:38:06] VERBOSE[10588] res_pjsip_registrar.c: Added contact 'sip:[email protected]:5060' to AOR '106' with expiration of 3600 seconds

And the filtered log for extension 100…


[2024-05-01 19:13:45] VERBOSE[7820] res_pjsip_registrar.c: Added contact 'sip:[email protected]:5060' to AOR '100' with expiration of 3600 seconds
[2024-05-01 19:13:45] VERBOSE[10588] res_pjsip/pjsip_configuration.c: Endpoint 100 is now Reachable
[2024-05-01 19:13:45] VERBOSE[10588] res_pjsip/pjsip_options.c: Contact 100/sip:[email protected]:5060 is now Reachable.  RTT: 12.461 msec
[2024-05-01 20:03:45] VERBOSE[10588] res_pjsip_registrar.c: Added contact 'sip:[email protected]:5060' to AOR '100' with expiration of 3600 seconds

Well, I went ahead and created two entirely new extensions (vs. deleting and recreating the same extension number) and everything is working as expected.

If anyone has a suggestion on how to fix this issue I’m all ears. Thanks!!