End Outgoing calls after X seconds of no pickup

Hi,
We would like to end outgoing calls if nobody picked the phone on the other side for 45 seconds for example.
I didn’t see any settings in the GUI so i assume it should be done from the CLI but we are not sure which file should be edited and what exactly.
Please assist,

Thanks.