From my understanding Apple will only an iPhone to be synched with one computer at a time. I've had similar issues and had to use a program to transfer the music from my iPhone to my computer, then transfer the music from that program to my itunes account. There may be other ways, but that was my experience.
Besides what mentioned above, i like to share you a page about
You must login or register to view this content., which included transferring iPhone contents to computer/iTunes.
Hopefully this works for all of you like it just worked for me!