Those log messages may not be relevant, according to this: Sangoma Phone - PJSIP Registration Issue - #2 by lgaetz
Subscriptions are for BLFs and have nothing to do with registrations.
After leaving my phone off for a while and plugging it back in, these messages show up in the log:
[2020-01-13 15:37:49] VERBOSE[18819] res_pjsip/pjsip_options.c: Contact 117/sip:[email protected]:5060 has been deleted
[2020-01-13 15:37:55] VERBOSE[23893] res_pjsip_registrar.c: Added contact ‘sip:[email protected]:5060’ to AOR ‘117’ with expiration of 900 seconds
[2020-01-13 15:37:56] NOTICE[23893] res_pjsip_exten_state.c: Endpoint ‘117’ state subscription failed: Extension ‘*97’ does not exist in context ‘from-internal’ or has no associated hint
[2020-01-13 15:37:56] NOTICE[23893] res_pjsip_exten_state.c: Endpoint ‘117’ state subscription failed: Extension ‘*88’ does not exist in context ‘from-internal’ or has no associated hint
[2020-01-13 15:37:58] VERBOSE[23893] res_pjsip/pjsip_options.c: Contact 117/sip:[email protected]:5060 is now Unreachable. RTT: 0.000 msec
I checked that the phone has that IP address and am able to ping it from the ssh shell:
PING 10.0.10.21 (10.0.10.21) 56(84) bytes of data.
64 bytes from 10.0.10.21: icmp_seq=1 ttl=63 time=0.588 ms
64 bytes from 10.0.10.21: icmp_seq=2 ttl=63 time=0.807 ms
64 bytes from 10.0.10.21: icmp_seq=3 ttl=63 time=0.968 ms
64 bytes from 10.0.10.21: icmp_seq=4 ttl=63 time=0.562 ms
^C
— 10.0.10.21 ping statistics —
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 0.562/0.731/0.968/0.167 ms
Maybe there’s an issue accessing port 5060?