Active glasses as the luminescent sources of radiation for sensor applications