Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
Considering your newbie status, this is pretty good. There are other methods that may take into account the number of live channels to avoid failover and just jump straight to the proper carrier, but this method should certainly get the user "running" cleanly.darkeye08 wrote:Hi Good day!
It will be much appreciated if you will post your installation method and version/build of the vicidial you are using. Anyway, I'm also new but i think you can actually do this.
1. Ask your provider to add up your channels since you want to use more than 5 channels it is possible for any provider.
2. If first option is not possible then you can just create three(3) SIP trunk and the dialplan should have a failover when the channels reach its max.
For the dialplan, you can do something like this.
exten => dialplan,1,Answer
exten => dialplan,n,Dial(SIP/${EXTEN}@carrier1,,tTo)
exten => dialplan,n,Dial(SIP/${EXTEN}@carrier2,,tTo)
exten => dialplan,n,Dial(SIP/${EXTEN}@carrier3,,tTo)
exten => dialplan,n,Hangup
Hope this can help you. Cheers!
exten => _1NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1NXXNXXXXXX,n,Dial(SIP/carrier1/${EXTEN},,tTor)
exten => _1NXXNXXXXXX,n,Dial(SIP/carrier2/${EXTEN},,tTor)
exten => _1NXXNXXXXXX,n,Dial(SIP/carrier3/${EXTEN},,tTor)
exten => _1NXXNXXXXXX,n,Hangup
williamconley wrote:Considering your newbie status, this is pretty good. There are other methods that may take into account the number of live channels to avoid failover and just jump straight to the proper carrier, but this method should certainly get the user "running" cleanly.darkeye08 wrote:Hi Good day!
It will be much appreciated if you will post your installation method and version/build of the vicidial you are using. Anyway, I'm also new but i think you can actually do this.
1. Ask your provider to add up your channels since you want to use more than 5 channels it is possible for any provider.
2. If first option is not possible then you can just create three(3) SIP trunk and the dialplan should have a failover when the channels reach its max.
For the dialplan, you can do something like this.
exten => dialplan,1,Answer
exten => dialplan,n,Dial(SIP/${EXTEN}@carrier1,,tTo)
exten => dialplan,n,Dial(SIP/${EXTEN}@carrier2,,tTo)
exten => dialplan,n,Dial(SIP/${EXTEN}@carrier3,,tTo)
exten => dialplan,n,Hangup
Hope this can help you. Cheers!
The only challenge, of course, is that this is not a proper Carrier Dialplan Entry. Line 1 is always AGI.
- Code: Select all
exten => _1NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1NXXNXXXXXX,n,Dial(SIP/carrier1/${EXTEN},,tTor)
exten => _1NXXNXXXXXX,n,Dial(SIP/carrier2/${EXTEN},,tTor)
exten => _1NXXNXXXXXX,n,Dial(SIP/carrier3/${EXTEN},,tTor)
exten => _1NXXNXXXXXX,n,Hangup
exten => _51NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _51NXXNXXXXXX,n,set(CALLERID(num)=06xxxxxx47)
exten => _51NXXNXXXXXX,n,Dial(SIP/voip2/${EXTEN:1},,tTor)
exten => _51NXXNXXXXXX,n,set(CALLERID(num)=06xxxxxx48)
exten => _51NXXNXXXXXX,n,Dial(SIP/voip4/${EXTEN:1},,tTor)
exten => _51NXXNXXXXXX,n,Hangup
exten => _51NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _51NXXNXXXXXX,n,set(CALLERID(num)=06xxxxxx47)
exten => _51NXXNXXXXXX,n,Dial(${TWT_TRUNK}/${EXTEN:1},,tTor)
exten => _51NXXNXXXXXX,n,set(CALLERID(num)=06xxxxxx48)
exten => _51NXXNXXXXXX,n,Dial(${TWT_TRUNK}/${EXTEN:1},,tTor)
exten => _51NXXNXXXXXX,n,Hangup
Users browsing this forum: Majestic-12 [Bot] and 71 guests