After weeks of performing fantasically, our Asterisk went haywire the other day.
I looked at the logs of our server and it does, indeed, report losing the ability to communicate with Asterisk at some point (we're using the Java API):
org.asteriskjava.fastagi.AgiNetworkException: Unable to send command to Asterisk: Connection reset
In the var/logs/messages file of our Asterisk install, I see this huge string of "Autodestruct" errors, all of which look something similar to this:
[Sep 28 14:47:20] WARNING[25703] chan_sip.c: Autodestruct on dialog '973229537_87662997@66.7.123.144' with owner in place (Method: BYE)
[Sep 28 14:51:24] WARNING[25703] chan_sip.c: Autodestruct on dialog '2ad5325a16791b0c33ea74222848e3c0@10.30.0.232:5060' with owner in place (Method: BYE)
I've done a Google search, looked on these forums, looked on the Digium forums, and looked on voip-info.org but can't find any good information about what may have happened and how to avoid it.
Our setup is simple: we have a SIP provider and have eight channels with them. We process outgoing calls which remind patients of their dentist appointment and also incoming calls that allow offices to record a custom greeting to give to their patients.
Both calls trigger an AGI script where I present an IVR.
The error seem to have occurred on an incoming call.
Does anyone have any ideas what suddenly caused this?