Ответ:The action of entering happened before the phone call, so the past perfect is used.Answer: had just entered