Please pay attention to the word "-을 때" which means 'when'. In this sentence when speaker miss hometown, he calls to his parents.