The macro used when an internal extension calls another internal extension checks to see if the CALLED extension has recording enabled. It does not check to see if the CALLING extension has recording enabled.
Calls from an extension set to always record outgoing calls are, therefore, not recorded as they should be when the call is an internal one. Outgoing calls to trunks ARE recorded. The bug appears only when calling internally.
There is also a bug in /var/lib/asterisk/agi-bin/recordingcheck Outgoing recordings are named properly. Incoming recordings begin with the date/time stamp portion of the file name
- omitting the IN[extn]- part of the name. This is a bug in how CALLFILENAME is constructed. A corrected version of "recordingcheck" is attached.