Distribute Calls To Multiple Carriers¶
This technique is based on the last number of the telephone being dialed.
- Setup your carriers and enable them all.
- Create your dial plan entry like the examples below:
Carrier 1 dial plan
exten => _81NXXNXXXXX[0-3],1,AGI
exten => _81NXXNXXXXX[0-3],2,Dial(SIP/${EXTEN:1}@Telco1,,tTor)
exten => _81NXXNXXXXX[0-3],3,Hangup
Carrier 2 dial plan
exten => _81NXXNXXXXX[4-6],1,AGI
exten => _81NXXNXXXXX[4-6],2,Dial(SIP/${EXTEN:1}@Telco2,,tTor)
exten => _81NXXNXXXXX[4-6],3,Hangup
Carrier 3 dial plan
exten => _81NXXNXXXXX[7-9],1,AGI
exten => _81NXXNXXXXX[7-9],2,Dial(SIP/${EXTEN:1}@Telco3,,tTor)
exten => _81NXXNXXXXX[7-9],3,Hangup
Carrier 1 will be used if the telephone's last number falls between 0-3; Carrier 2 for 4-6; and Carrier 3 for the remaining numbers
Go to top