The draw for the second round of the Scottish League Cup was made at BT Murrayfield Stadium this evening.
The Premiership clubs, with exception of those who qualified for Europe, and Dundee United, enter the competition at this stage.
Last season's runners-up Inverness CT were drawn away to Queen's Park or Rangers while there is an Ayrshire derby in store at Rugby Park.
Stranraer, who knocked out Ross County last year, again welcome Derek Adams' team to Stair Park and Ian Murray takes his Dumbarton side to Easter Road to face his former club Hibernian.
Scottish League Cup second-round draw
Hibernian v Dumbarton
Morton v Partick Thistle
Falkirk v Cowdenbeath
*Queen's Park or Rangers v Inverness Caledonian Thistle
Hamilton Academical v Alloa Athletic
Stranraer v Ross County
Dundee v Raith Rovers
Livingston v Queen of the South
Kilmarnock v Ayr United
Stenhousemuir v Heart of Midlothian
St Mirren v Dunfermline Athletic
Ties to be played August 26/27
*Queen's Park v Rangers is scheduled for August 26 so the winner of that tie will play Inverness Caley Thistle on a date to be confirmed.