Phone Calling Event?

Hi i want make a phone call recorder with corona sdk and i need know when the user calling to start recording and know when stopped calling to stop recording and save file.I found method to make a call but i don’t found any events.

Not sure how this would work since corona does not support background tasks. 

This is not something you can use Corona for.

Rob