Someone has ported SvSIP, a VOIP application used on the Nintendo DS, to the iPod Touch and it apparently works. Just like many other VOIP software, the SIP protocol is used to carry voice over the internet. The author of the conversion promised to publish screenshots soon.
It would be logical to think that it would eventually work on the iPhone as well.
iPhone 3GS won't be upgraded to iOS 5.x, says Eldar Murtazin
Your Apple device knows where you've been, and keeps a log
iOS Outreaches Android by 59% says Comscore
iPhone 5 is dual GSM+CDMA, looks like an iPhone 4