williamconley wrote:And remember that most sales reps will deny this, but that would be because it's not a "policy" per se, more of a "system capability" issue. And they are not going to admit system restrictions. LOL
That makes a lot more sense now. I read the their ToS yesterday that says not to use dialers...even though our sales rep said that they can do it. Oh well. It will be good as a secondary trunk. If anyone else have this problem, you can try another trunk provider specifically made for telemarketing calls and then the other trunk as a secondary via random. This is the dialplan I have it set up as:
exten => _71XXXXXXXXXX,1,AGI(
agi://127.0.0.1:4577/call_log)
exten => _71XXXXXXXXXX,n,Set(Trunk=${RAND(1|10)})
exten => _71XXXXXXXXXX,n,GoToIf($[${Trunk} = 1]?trunkA)
exten => _71XXXXXXXXXX,n,GoToIf($[${Trunk} = 2]?trunkB)
exten => _71XXXXXXXXXX,n,GoToIf($[${Trunk} = 3]?trunkC)
exten => _71XXXXXXXXXX,n,GoToIf($[${Trunk} = 4]?trunkD)
exten => _71XXXXXXXXXX,n,GoToIf($[${Trunk} = 5]?trunkE)
exten => _71XXXXXXXXXX,n,GoToIf($[${Trunk} = 6]?trunkF)
exten => _71XXXXXXXXXX,n,GoToIf($[${Trunk} = 7]?trunkG)
exten => _71XXXXXXXXXX,n,GoToIf($[${Trunk} = 8]?trunkH)
exten => _71XXXXXXXXXX,n,GoToIf($[${Trunk} = 9]?trunkI)
exten => _71XXXXXXXXXX,n,GoToIf($[${Trunk} = 10]?trunkJ)
exten => _71XXXXXXXXXX,n(trunkA),Dial(${GOVOIP2}/${EXTEN:1},,tToR)
exten => _71XXXXXXXXXX,n(trunkB),Dial(${GOVOIP2}/${EXTEN:1},,tToR)
exten => _71XXXXXXXXXX,n(trunkC),Dial(${GOVOIP2}/${EXTEN:1},,tToR)
exten => _71XXXXXXXXXX,n(trunkD),Dial(${GOVOIP2}/${EXTEN:1},,tToR)
exten => _71XXXXXXXXXX,n(trunkE),Dial(${GOVOIP2}/${EXTEN:1},,tToR)
exten => _71XXXXXXXXXX,n(trunkF),Dial(${GOVOIP2}/${EXTEN:1},,tToR)
exten => _71XXXXXXXXXX,n(trunkG),Dial(${GOVOIP2}/${EXTEN:1},,tToR)
exten => _71XXXXXXXXXX,n(trunkH),Dial(${NEXTIVA6}/${EXTEN:1},,tToR)
exten => _71XXXXXXXXXX,n(trunkI),Dial(${NEXTIVA6}/${EXTEN:1},,tToR)
exten => _71XXXXXXXXXX,n(trunkJ),Dial(${NEXTIVA6}/${EXTEN:1},,tToR)
exten => _71XXXXXXXXXX,n,Hangup
So for each call, there is a 3/10 chance that it will dial Nextiva. Good for us, since our primary trunk provider is a pay-as-you-go payment model. Good for Nextiva, since we are not bombarding them with dialing calls so much at the same time.
It's all good now though, It's solved. Thank you for the tip.