How to enable auto answer for FaceTime… The right way
– Use FaceTime as a home surveillance system monitored from your iPhone4! – Check in on your pets while you're away!
After spending the last couple weeks to get an app finished and ready for the Mac App Store that is due to launch on Jan 6th 2011. I decided to do some homework to prep myself for the app approval process. Digging through the Apple Developer Forums and reading Apple Policies to make sure all my ducks were in a row.
Well as some of you know, my current solution to auto answer FaceTime calls includes AppleScripting, and more importantly "Access to assistive devices" to be enabled. This is not a problem because FaceTools and it's successor that I have been working on prompt the user to enable it, and Apple says no apps are to prompt the user for an Admin privilege.
So I began to dig into facetime to find a way around the whole AppleScript approach. I fired up the good ole' Terminal to start hacking away at the FaceTime.
I ran "strings /Applications/FaceTime.app/Contents/MacOS/FaceTime" and low an behold, to my surprise and frustration I found 2 little strings of text called "AutoAcceptInvites" and "AutoAcceptInvitesFrom"
Could it be? Why yes it is. Apple has included the ability to auto answer FaceTime calls, and not only that, but AutoAnswer calls from callers you specify. (Those little sneaks. I wish I would have checked the strings a month ago)
Turns out it's pretty easy to enable, and here's how:
1.) Open up the Terminal.app located in your /Applications/Utilities folder 2.) Type in the following to allow a specified caller for auto accept incoming calls:
defaults write com.apple.FaceTime AutoAcceptInvitesFrom -array-add <iPhone number, or AppleID>
phone number example: defaults write com.apple.FaceTime AutoAcceptInvitesFrom -array-add +15205551212 AppleID (email) example: defaults write com.apple.FaceTime AutoAcceptInvitesFrom -array-add email@example.com
Not all was lost! I have since began learning C, Objective-C, Cocoa, Xcode and AppleScript because of all of this, and plan on developing more applications now. Thank you to all the 5000+ people who have downloaded FaceTools! Your support has been awesome! R.I.P. FaceTools
All though it's no longer needed, I figured I would let you all download the AutoAnswer app I was working on. DOWNLOAD HERE
Credited to theCornDog @ http://www.corndogcomputers.com/facetools/
The application itself worked fine on my MAC but not my MUM's Mac Mini. I have difficulty to enable the auto answer. So I used the command line to add in the email address. It was working fine and for iPhone 4 which required handphone number. Please enter phone number with country code in front! (e.g. +65 for singapore) I am facing a problem when auto pick up the call for the very first time. The facetime dial tone kept ringing. I will have to find a way to stop the tone from kicking into the system once FaceTime activate.