The sentence describes an ongoing action in the past interrupted by another action. The past continuous tense is used for the ongoing action ('I was doing my homework'). The past simple tense is used for the interrupting action. Therefore, 'called' is the correct form.