Asterisk (Trixbox) hangs on "recordingcheck" and drops calls
Asterisk (TrixBox) server is not functioning properly. Internal calls working fine, but external incoming and outgoing time-out and fail. Looking at Asterisk Command Line Interface (CLI) output (connect with asterisk -r) noticed unusual behaviour:
Normally when incoming call is received, Asterisk outputs number of executed actions into CLI and receiving phone starts ringing in less than a second. On this occasion, however, Asterisk was stopping at following line and hanging for about 7 seconds:
VERBOSE logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
Then, if caller was still on a phone it would go to:
VERBOSE logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
It would be stuck there for a few more seconds and eventually call would be dropped. In fact occasionally receiving handset would actually ring (probably long after caller has hanged the phone).