From the BBC:
Leaders said that new migrant centres could be set up in EU countries on a "voluntary" basis.
These centres would process migrants to determine which are genuine refugees and which are "irregular migrants, who will be returned", the text of their agreement says.
The joint communique also speaks of restricting the movement of asylum seekers between EU states.
"After this European summit, Europe is more responsible and offers more solidarity," said Italian Prime Minister Giuseppe Conte. "Today Italy is no longer alone."
German Chancellor Angela Merkel came into the summit needing an EU-wide agreement on dealing with asylum seekers to avert a political crisis at home that could bring down her government.
It is unclear whether the measures agreed will be enough, and speaking to reporters at 05:00 local time (03:00 GMT), she acknowledged the EU still had "a lot of work to do to bridge the different views".
Ha ha ha. That won’t happen. Next idea please because this one isn’t even a sticking plaster on a gaping wound.