Does the word "answer" have the same definition in the next two sentences?

Answer the telephone.

Nobody answered when I knocked on the door.
the same meaning