The correct answer is: A. What time shall I phone you?
The other options are incorrect because they are not grammatically correct or they do not make sense in the context of the situation.
Option B, "What time have I phoned you?" is incorrect because it uses the past tense, but the situation is about the future.
Option C, "What time did I phone you?" is incorrect because it uses the past tense, but the situation is about the present.
Option D, "What time do I phone you?" is incorrect because it does not ask for a specific time.
The correct answer, "What time shall I phone you?" is grammatically correct and it makes sense in the context of the situation. It is a polite way of asking your friend what time they would like you to phone them.