2 is correct. Sentence 1 would make sense if you had been working at the library, answering the phone. People kept calling to ask whether the library was open.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.