AV 8456 then JA 5124 at Bogotá
Pasto → Bogota → Medellín
Timetable, Bogota time
18:35AV 8456 from Pasto at the gate
16:25JA 5124 to Medellín leaves the gate
21 h 50 apart on the timetable, overnight
JA 5124 leaves 21 h 50 after AV 8456 arrives on the timetable: more than half a day, so not a connection we count.