WARNING chan_sip.c: Autodestruct on dialog ‘email@example.com:5060’ with owner SIP/1000-00000533 in place (Method: BYE). Rescheduling destruction for 10000 ms
We resolved this by looking into the dialplan. It seems that we had a channel held open that Asterisk couldn’t destroy. These built up and Asterisk was unable to successfully make calls.
A key thing I implemented was in the dialplan scripts it seems that even though a channel has been closed, i.e. someone hung up, it still executes the rest of the script. I now check multiple places to see if the channel has been closed before executing certain actions.