Is it possible to do this?

Please see this diagram:

Will I be able to do this with Asterisk?