We’ve got P320 and P330 phones that are periodically choosing to delete and recreate their contact rather than re-up the timeout. It happens periodically every 45 minutes and some endpoints stay unavailable for minutes, others only a second. I’m seeking any advice on how to avoid this downtime, to either keep the phones refreshing their registration rather than re-creating it, or figure out what causes the downtime to be long in some phones but not others.
Typically these lines are preceeded by a lot of DPMA activity, presumably endpoint manager sending data using pjsip. When I looked into it with pjsip logger on, these messages were initiated by the endpoint.
Summary
[2026-06-10 00:20:45] VERBOSE[1476439][C-00000001] pbx.c: Executing [digium_phone_module@dpma_pjsip_message_context:1] Set(“Message/ast_msg_queue”, “MESSAGE(custom_data)=mark_all_outbound”) in new stack
[2026-06-10 00:20:45] VERBOSE[1476439][C-00000001] pbx.c: Executing [digium_phone_module@dpma_pjsip_message_context:2] Set(“Message/ast_msg_queue”, “TMP_RESPONSE_URI=pjsip:172.18.17.36:5060;transport=udp”) in new stack
[2026-06-10 00:20:45] VERBOSE[1476439][C-00000001] pbx.c: Executing [digium_phone_module@dpma_pjsip_message_context:3] Set(“Message/ast_msg_queue”, “MESSAGE_DATA(Request-URI)=”) in new stack
[2026-06-10 00:20:45] VERBOSE[1476439][C-00000001] pbx.c: Executing [digium_phone_module@dpma_pjsip_message_context:4] Set(“Message/ast_msg_queue”, “MESSAGE_DATA(X-Digium-AppServer-Response-URI)=”) in new stack
[2026-06-10 00:20:45] VERBOSE[1476439][C-00000001] pbx.c: Executing [digium_phone_module@dpma_pjsip_message_context:5] Set(“Message/ast_msg_queue”, “MESSAGE_DATA(X-Digium-AppServer-Response-FullContact)=”) in new stack
[2026-06-10 00:20:45] VERBOSE[1476439][C-00000001] pbx.c: Executing [digium_phone_module@dpma_pjsip_message_context:6] MessageSend(“Message/ast_msg_queue”, “pjsip:172.18.17.36:5060;transport=udp,proxy”) in new stack
[2026-06-10 00:20:45] VERBOSE[1476439][C-00000001] pbx.c: Executing [digium_phone_module@dpma_pjsip_message_context:7] Hangup(“Message/ast_msg_queue”, “”) in new stack
[2026-06-10 00:20:45] VERBOSE[1476439][C-00000001] pbx.c: Spawn extension (dpma_pjsip_message_context, digium_phone_module, 7) exited non-zero on ‘Message/ast_msg_queue’
At first I thought, the phone checked config and is rebooting. But no one is pushing config changes in the middle of the night.
[2026-06-10 00:20:46] VERBOSE[1476476] res_pjsip_registrar.c: Removed contact ‘sip:[email protected]:5060;ob’ from AOR ‘26395’ due to request
[2026-06-10 00:23:15] VERBOSE[1476476] res_pjsip_registrar.c: Added contact ‘sip:[email protected]:5060;ob’ to AOR ‘26395’ with expiration of 300 seconds