Is the word "line" used in the same way in the following two sentences?

I tried to make a call, but the line was dead.

Drop me a line when you get there.
different meanings