Question: we are sorry for having kept you waiting?
Answer: lrosa said: "I'm sorry to keep you waiting" - can mean (a) that the person will still have to wait a bit longer or (b) the person will not have to wait any longer. It can be used in both of these cases. "I'm sorry to have kept you waiting" - always means that the person will not have to wait any longer.