I know I have seen a similar answer in here somewhere, but searching today and i cant for the life of me find it.
What i am after is the correct and best way to make outgoing calls.
To explain fully, my system is comprised of a few SIP Trunks, ISDN and standard FXO lines. When someone makes an outgoing call i want it to select the first available line in the order I specify. Is it as simple as doing :-
(For simplicity i will dial 0 for an outside line)
[outside]
exten => _0.,1,Dial(SIP/FirstTrunk/${EXTEN:1})
exten => _0.,2,Dial(SIP/SecondTrunk/${EXTEN:1})
exten => _0.,3,Dial(mISDN/1:1/${EXTEN:1})
exten => _0.,4,Dial(mISDN/1:2/${EXTEN:1})
So if someone dials an outside number, it just keeps trying down the list until it gets a match.
Ive just got a feeling that there is a better way to do this.
Again i apologise as i know i have seen a similar question related to Zaptel lines in here but i havent been able to find it.
Thanks.