Hi Rinoy,
I suspect that the record vs playback may be an issue - at least I can not think of anything else. Recording in the background is not in itself an issue, if you setup your app correctly.
If the app is in the foreground and a phone call comes in, the app can restart recording after the phone call ends.
If the app is in the background and wakes up periodically on a timer, when it wakes up, the app can restart recording for a while (and then stop recording and go back to sleep for a while... and then repeat the whole thing over and over).
But if the app is in the background and a phone call comes in, then once the phone call ends, when the app wakes up on the next timer, it is unable to restart recording.
1. app running in the background on a timer