Gas and water pipes for thermo-sanitary systems