First of all, dont use Ziphone at all, we have so many users having turned their iPhone into a brick with this "tool".
If the iPhone was unlocked at firmware 1.0.2 by software, AnySIM 1.0.2 was used. The solution damaged the seczone, the iPhone should be virginized - at least if you want to be on the safe side.
If you are still at 1.0.2, check this one here:
http://www.hackint0sh.org/forum/f136/68400.htm
When done, right at the end of the how-to, DFU-restore to Apple Stock firmware 3.0 instead of 2.2.1. for that to work, iTunes 8.2 has to be installed on your iphone.
When done, the iphone is locked at firmware 3.0. To jailbreak, unlock, activate use the tutorial here:
iClarified - iPhone - How to Unlock/Jailbreak Your iPhone 2G on OS 3.0 Using RedSn0w (Windows)
or here
iClarified - iPhone - How to Unlock/Jailbreak Your iPhone 2G on OS 3.0 Using RedSn0w (Mac)
Tipp: After that, connect the iPhone to iTunes. If iTunes offers to "restore data from a backup", dont choose this one it might bring back old outdated prefs to the iPhoen that cause trouble. Choose "Setup as a new iPhone instead". After that synchronize the iPhone and you are set.
happy hacking,
v.