I'm considering building a PhoneGap app that would work with my web app via web socket. It would receive the instruction to dial a phone number, run in the background while the phone call is in progress, detect when the phone call picks up and when the call hangs up, and then resume so that the call information is sent back via ajax.
Can this be done in PhoneGap? Can this be approved for iOS?
Note: this is a feasibility question, not a give-me-code question.