Code to manage and handle phone calls etc, approximately migrated from
/telephony etc.