Your first suggestion is fine. Your second doesn't make sense. What do you mean by "on the line or over the phone"? You are already talking over the phone. You might ask "Do I need to stay on the line or are you going to call me back?" or "Do I need to stay on the line or shall I call you back in a few minutes?"
Student or Learner