Place Google Voice calls directly from iPhone
Posted on : 08-10-2009 | By : Cool Geex | In : Apple, iPhone, Mac Leopard, Script Editor
1
The script works by adding numbers to contacts in Address Book that dial your contact via Google Voice. The new number is prefixed with your Google Voice number, your pin, and the number two. It dials into your Google Voice number and places the call to your contact.
Here is the code. Replace PIN_HERE and GV_NUMBER with your Google Voice pin # and your google voice number.
Enter this in Script Editor then compile and run:
[applescript]
set mymypin to “PIN_HERE”
set gvnumber to “GV_NUMBER”
tell application “Address Book”
repeat with thePerson in people
set nums to the phones of thePerson
repeat with num in nums
if the (label of num) contains “GV” then
tell thePerson
delete num
end tell
else
set gvPhone to {label:”", value:”"}
set label of gvPhone to “GV” & the (label of num)
set value of gvPhone to gvnumber & “,” & mypin & “,2,” & the (value of num)
tell thePerson
make new phone at end of phones with properties gvPhone
end tell
end if
end repeat
end repeat
end tell
[/applescript]
Use that method until Google will release API for Google Voice
Related posts:
- Create your own list of email addresses from your inbox
- Feature Suggestion For Google Voice
- Google Voice Finally Heads to iPhone With HTML5 Webapp
- Move downloaded DMG files automatically
- Google Voice iPhone App Now Available










so, does this just add an additional number for each contact in case you want to use GV to make the call or is it permanent for all future calls?