German Chancellor Angela Merkel has urged European leaders to work together on finding solutions to irregular migration.

She told Germany's parliament the issue could be a defining moment for the EU.

The call comes ahead of an EU summit focused on how to deal with the many undocumented migrants - mainly Africans - who continue to risk their lives to cross the Mediterranean.

Mrs Merkel is under pressure to come up with a deal to prevent new arrivals.

Interior Minister Horst Seehofer, from her Bavarian coalition partner the CSU, has given her until this weekend. Otherwise he has said he will start turning away migrants from the border in his home state.

The migrant flows also include refugees fleeing the Syrian war and other conflicts, urgently seeking asylum.

It is not a crisis on the scale of 2015, when thousands were coming ashore daily on the Greek islands. The European Council - the EU's strategic leadership - says the numbers illegally entering the EU have dropped 96% since their peak in October 2015.

But this month's tensions over migrant rescue ships barred from entry to Italian ports - most recently the German charity ship Lifeline - have put the issue firmly back in the EU spotlight.

The Lifeline was only allowed to dock in Malta after intense diplomacy among several EU states, who each agreed to take a share of the migrants on board. Malta said that Norway had now also agreed to take some migrants from the Lifeline.

The Dublin principle - that asylum seekers should stay in the country where they enter the EU - has broken down. Italy and Greece, who receive the most, are demanding that their neighbours share the burden.

What are the new pressures on EU leaders?
Italy's new populist government has made getting an EU-wide deal on immigration and asylum a priority.

The issue played a major role in the Italian election, catapulting nationalist League leader Matteo Salvini into power. But it is a powerful election issue EU-wide.

Austria's right-wing government takes over the EU's rotating presidency next month and it has a hardline stance on irregular migrants. So do its Visegrad Group neighbours: the Czech Republic, Slovakia, Hungary and Poland. That group rejected an EU scheme to relocate 160,000 refugees from overcrowded camps in Greece and Italy.

Much of the attention is on the German chancellor, because her interior minister has threatened to start blocking migrants at the border if they have already registered in another EU country. Without his party, the CSU, she would lose her parliamentary majority.

European Council President Donald Tusk told the leaders in his pre-summit letter "the stakes are very high and time is short".

He warned that the EU's problems with migration policy were giving ammunition to populists, who "offer simple answers to the most complicated questions".

What are EU leaders saying?
Mr Tusk urged EU nations to focus on the EU's external border. He warned that the alternative would be a "chaotically advancing closure of borders" and conflict between member states.

Dutch Prime Minister Mark Rutte said said the EU was trying to come to Turkey-like agreements with countries in Africa to return economic migrants to their home countries in return for investment.

"I can easily sell this at home, because people understand that to control the migration flows... it will involve being willing to spend some money, it's unavoidable," he said.

He also said the EU needed to work on "secondary migration" - onward journeys by migrants who had already entered the EU.

What solutions are on offer?
There will be talk of "regional disembarkation platforms" - an Austrian-Danish proposal, aimed at breaking the business model of the people-smuggling gangs. It is in the draft summit conclusions, seen as a way to speed up the processing of asylum claims and stopping illegal economic migrants.

Pros?

They could deter migrants from putting to sea in overloaded boats.
Gangs might then be less able to profit from migrants' desperation.

Cons?

Getting North African countries to host such centres could be very difficult.
Close co-ordination with UN agencies will be needed, to prevent them becoming crowded, dangerous camps.

The EU should beef up the border agency Frontex, to make it a genuine border police force, the European Commission says. The force is to be boosted from the current 1,300 (with 1,500 in reserve) to 10,000 by 2027.

Pros?

The force could intervene more rapidly, nipping migrant emergencies in the bud, preventing any repetition of the 2015 chaos.

Cons?

Solidarity has been lacking among the 28 member states.
Frontex still lacks some important resources that were pledged.

The EU wants much tighter co-operation with transit countries and migrants' home countries. This would allow more failed asylum seekers to be sent back; the "return" rate currently is just 36.6%, the Commission says.

Pros?

There has been effective EU co-operation with Turkey: a 2016 deal led to a drastic drop in migrants taking the Balkan route.
The EU naval mission off Libya works closely with the Libyan coastguard to stop people-smuggling.

Cons?

Conditions are dire in Libyan migrant holding centres.
Turkey is still short of €3bn (£2.6bn; $3.5bn), pledged by the EU for Syrian refugees.
Tackling poverty in Africa, from which many migrants are fleeing, requires generous EU funding. There is an EU Trust Fund for Africa, but it is short of €1.2bn in pledged funds.
EU police risk usurping the role of national border guards - a sensitive issu