It may be referring to terminating a telephone conversation ("the line" meaning "the telephone line"). There is a question about whether it is "got off the line", as in this transcription, or "cut off the line", as in some others.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.