Here are things I would look for:
-
Are there any
WARNING
orERROR
s in Asterisk when the issue occurs? -
When the issue occurs, what is happening in Asterisk? Are you running calls, recordings? What SIP messages are in flight?
-
Are you interfacing to any external systems (databases, API servers, etc.), and is Asterisk communicating with them when the issue occurs?
-
When the issue occurs, does Asterisk stop processing (a) SIP requests (you’ll stop seeing requests logged, or responses won’t be sent, etc.); (b) new calls (SIP messages are processed but calls hang); © calls are processed but get stuck at parts in the dialplan, etc.