How about creating a flow for transfer where you can perform the schedule check (based on destination party's operating hours) and have a treatment (Closed Message) for afterhours.
Create an external contact for that customer with a dummy number that points to the transfer flow. Your agents will need to transfer calls to that external contact.
------------------------------
Cheers
Zubair
------------------------------