I've been able to receive a call from a landline thru a gateway and route it to my softphone.

can also make an outbound call from my softphone to a landline.

I need to 'tie' the two together, receive an inbound call and using a dialplan route it as an outbound call to the number in the dialplan.

what would be the proper approach to do this?

thanks
jeff