The telephone _____,but by the time I got indoors,it stopped. (

The telephone _____,but by the time I got indoors,it stopped. ( )

A.had rung

B.was ringing

C.rings

D.has rung

正确答案是B