Edinburgh City Council has become the first local authority in the UK to make schools phone-free in a pilot scheme.