AGI - Bridge two channels and exit

Using AGI,

1 - Have a inbound caller, collect some digits ( have this working already)
2 - Make an outbound call collect some digits from the outbound call
3 - Connect the two channels and exit the script.

I can see how I can use the EXEC command to do the DIAL command, but can’t see how I get the channel information back, or how to bind/merge/bridge the two channels.

Can this be done in * 1.4

Thanks
Andy[/list]