Fixes for receiving incoming calls. More robust timer_schedule function.