I know this is probably best for the Asterisk forums but these forums are very helpful and detailed so im asking...
This is what I have now for 2 carriers... I got 2 more comin in (for a total of 4)... how would I proceed with this dialplan adding two more to it, i have an idea of what to do but I really don't have many options for testing because im dealing with around 130 reps and i don't wanna mess them up since well time is money..esp for them! ...this one works great when the first dies via CONGESTION just jumps over to my next...
exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,n,GotoIf($[${GROUP_COUNT(sgw)}<80]?10)
exten => _91NXXNXXXXXX,n,NoOp("Max Trunks Exceeded")
exten => _91NXXNXXXXXX,n,Congestion
exten => _91NXXNXXXXXX,10,Set(GROUP()=sgw)
exten => _91NXXNXXXXXX,n,NoOp("TIU: ${GROUP_COUNT(sgw)}")
exten => _91NXXNXXXXXX,n,Dial(${DIAL9TRUNK}/${EXTEN:1},,To)
exten => _91NXXNXXXXXX,n,GotoIf($["${DIALSTATUS}" = "CONGESTION"]?20)
exten => _91NXXNXXXXXX,n,Hangup
exten => _91NXXNXXXXXX,20,Dial(${DIAL6TRUNK}/${EXTEN:1},,To)
exten => _91NXXNXXXXXX,n,Hangup
Cheers :0