What IOS version are you using? There are plenty of tools that help you rip music from your iphone but its something you'd have to pirate...
You can try using iFunbox, not sure if your phone has to be jailbroken or not to use it.
Theres an app called iRip also Xilisoft iPhone Rip, joboshare, there are plenty of apps to help you do this without jailbreaking but like I said they're not freeware so you'll need to do a bit of pirating.... aka google searching to get them.
Your best bet is iFunbox though. It's by far the best app I've ever used to do these kinds of things, why not just jailbreak? It's as easy as connecting your phone to your computer and clicking "Jailbreak now"
edit: just noticed this is 2 years old >_>