Luxembourg, which holds the EU presidency, said the decision was expected to be made law when ministers meet on 8 October.

There were no details on how the asylum seekers would be shared out among EU states. Some countries have opposed plans for mandatory quotas.

European states have been struggling to cope with a record influx of migrants, many aiming for Germany.

Media playback is unsupported on your device

Media captionMigrants are being stopped at the Hungary-Serbia border and directed to an official registration point

In Hungary, a container wagon, with one end covered in razor wire, was rolled along the track to plug the gap in the fence near the town of Roszke. Migrants were directed to an official registration point.

Hungary is due to enforce tougher measures from midnight, including arresting illegal immigrants, and Prime Minister Viktor Orban told Hungary's TV2 a state of emergency was "likely" to be introduced in the border area.

The new border checks further north are a challenge to the EU's Schengen agreement on free movement, although the rules do allow for temporary controls in emergencies.

If you are happy to be contacted by a BBC journalist please leave a telephone number that we can
contact you on. In some cases a selection of your comments will be published, displaying your name as
you provide it and location, unless you state otherwise. Your contact details will never be published.
When sending us pictures, video or eyewitness accounts at no time should you endanger yourself or others,
take any unnecessary risks or infringe any laws. Please ensure you have read the terms and conditions.