Yes, I'd call them both a phone cord, but context tells you which one you mean. If I said "We can't have a phone in our bedroom because there's no place to plug in the cord" would you have any trouble figuring out which one I meant?
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.