Call Trunking

Hi!! can somebody help on my simple problem?It all about on the dialing plan. below is my extension.conf

[pass-thru]
exten=>1800051181,1,Dial(SIP/7777,20)
exten=>1800051181,n,Dial(SIP/7771,20)
exten=>1800051181,n,Dial(SIP/7772,20)
exten=>1800051181,n,Background(unavailable)
exten=>1800051181,Hangup

This config works well,But I wanted to make that whenever that 3 lines are engage or answered, The call will be placed on hold for 2 mins then rings again another phone when it becomes available. I wanted also to make a recording when everytime the calls starts.

Hope you could help on this one.Thank you very much.

Regards,
newbie_aste

look at setting up a queue with those 3 as static agents.

voip-info.org/wiki/view/Asterisk+cmd+Queue