I guess your iphone 3G mobile phone restricted by some network,So only it won't accept your t-mobile sim card.So try to unlock your phone before put your T-mobile sim.For iphone unlocking visit...