Not both parties, the caller. And there's a timeout which these days is set to about 2 seconds. Here's the BT Openreach (the last mile provider and thus de facto the supplier of landline telephone service to almost all of the UK) write-up for when it was reduced to 10 seconds in 2014.