Hello all, thanks for looking my topic…Here is the problem:
i have 4 trunks:
2 of them are incoming\outgoing
2 other of them are only for outgoing calls
Is there any way to make asterisk to select trunks randomly when making a call?
For example trunks 1 and are busy with incoming calls and asterisk must select 1 of 2 outgoing trunks to place an outgoing call?
Or as i understand there is easier way to organize stair-like script using 103 priorities (102 priority - line is circuit busy)
for example
making outbound call
2 outgoing trunks are busy…
astersik checks first trunk - and gets circuit busy…at 103 there is Goto to trunk2 but also gets circuit busy…in/out trunk1 is free to make call and asterisk places call throught in/out trunk1…
Which way is better?
And how can i construct “stair like script”?