Court allows Imran Khan to speak to sons over phone