Adjust Trunk Timeout for Outgoing Call

My VOIP provider provides me with three different servers to use for outgoing calls. I have set the three different servers up as three seperate outbound trunks.

I would like to adjust the amount of time Asterisk waits to establish a connection before moving on to the next trunk. How would I do this?

read the wiki:

voip-info.org/wiki-Asterisk+cmd+Dial

you just need to add a timeout parameter to your dial statement.

Thanks for the reply whoiswes, I have read the wiki post but I am unclear as how to make the changes. I am using Asterisk@Home 2.5 which uses the following Dial out Macro:
[macro-dialout]
exten => s,1,Macro(user-callerid)
exten => s,2,GotoIf($[foo${ECID${CALLERIDNUM}} = foo]?5) ;check for CID override for exten
exten => s,3,SetCallerID(${ECID${CALLERIDNUM}})
exten => s,4,Goto(7)
exten => s,5,GotoIf($[foo${OUTCID_${ARG1}} = foo]?7) ;check for CID override for trunk
exten => s,6,SetCallerID(${OUTCID_${ARG1}})
exten => s,7,SetVar(length=${LEN(${DIAL_OUT_${ARG1}})})
exten => s,8,Dial(${OUT_${ARG1}}/${ARG2:${length}})
exten => s,9,Congestion
exten => s,109,Macro(outisbusy)

Any ideals how to modify the dial command?

[quote=“whoiswes”]read the wiki:

voip-info.org/wiki-Asterisk+cmd+Dial

you just need to add a timeout parameter to your dial statement.[/quote]