The announcement comes after hard negotiations between Chancellor and his Interior minister, Horst Seehofer, who agreed to establish closed migrant centres on German-Austrian border to accelerate return of asylum seekers To first community country where y were registered.
Orban said that Germany should be grateful for the fence that Hungary has built on its borders with Serbia and Croatia, and which, according to him, is guarded 24 hours a day to 8,000 armed men.
The parties agreed to speed up the process of returning migrants who have applied for asylum in other European Union states to those countries, as mandated by current European Union law, but only if agreements were in place with the country where they first registered.
Merkel, leader of Germany's Christian Democrats (CDU), was speaking at a press conference here alongside Hungarian Prime Minister Viktor Orban, who is known for his anti-immigration policies.
Under the deal, Germany will set up transit centres on its border with Austria where asylum seekers will be held while their cases are decided.
Andrea Nahles, leader of the centre-left Social Democrats (SPD), and German Finance Minister Olaf Scholz, also an SPD member, stressed the agreement would not involve creation of any transit centres or unilateral action by Germany. "That is why I am pleased we've found a solution".
Migration to Germany has dropped dramatically since the height of Europe's refugee crisis in 2015, but the issue has remained high on the political agenda, more recently as the CSU gears up for state elections in the autumn. Such a move, it said, could address Mr Trump's complaint that the United States sector is unfairly treated, while reducing export costs for other participating countries' auto sectors.
Kurz said "major progress" on external borders had been made at a recent summit in Brussels of European Union leaders as he sought to dispel doubts about the vague communique that was agreed.
Under Kurz's leadership, the Austrian People's party entered into a coalition with the far-right anti-immigrant Freedom party last December. The SPD had warned such centers could be seen as internment camps.
"I understand that if you only ever talk about border security, border security, border security that people will say: you only want to seal yourselves off", she said.