Asterisk and Click-to-call functionality

I want asterisk to “bridge” two connections together in a click-to-call type scenario. My question isn’t as much as how it can be done but what how I would add the ability to have a timer for calls and once that timer is up, the party that initiated the click-to-call is prompted to authorize their account to be charged for credit. So my question is, how would i implement such a feature? Are there third party asterisk providers that do this?

Thanks!