search for: mainoutbound

Displaying 1 result from an estimated 1 matches for "mainoutbound".

2009 Jan 20
1
Setting up an outgoing trunk group
...t what I want, which is (in pseudocode): if Zap/1 is available then Dial(Zap/1/${EXTEN}) elseif SIP/out1 is available then Dial(SIP/out1/${EXTEN}) else Dial(SIP/out2/${EXTEN}) end if Also, to make it easier to reconfigure quickly, I've got a variable defined in [globals] thus: MainOutbound=Zap/1&SIP/out1&SIP/out2 so the Dial statement above would be written in the dialplan thus: Dial(${MainOutbound}/${EXTEN}) So if I can't find the syntax to get the Dial application to do what I want I guess I'd need to use a dialplan function or AGI. Can anyone help? TIA, -- G...