Calling two parties and connect them

Hi, I need to make an application where two calls initiated from Asterisk, connect and talk.
If a do Dial on both destination, the Dial function never returns during the call.
So I’ll be stuck in the first Dial call.

exten => 1234,1,Dial(SIP/111)
exten => 1234,1,Dial(SIP/222)

I think the solution may be in the MeetMe function but it doesnt work on my asterisk.
I need some libraries from Dadhi or something like it.
I have a second Asterisk installed with everything on it. I will test the MeetMe option there.
But I would like a different solution if there is one.
Can anybody point me in the right direction ?
Thanks.
Alberto.

Howdy,

Check out the sample.call file that came with your Asterisk source. Make a copy of it. Configure it how you like. Then, mv it to /var/spool/asterisk/outgoing

Cheers