2 SIP providers for 1 Vicidial

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

2 SIP providers for 1 Vicidial

Postby chill_master » Tue Sep 08, 2009 11:23 am

Is it possible to have two sip providers for one vicidial server? Like if I have 20 agents doing blended calling, 10 of them pass thru SIP A and then the other 10 pass thru SIP B.

This way, I can minimize my VOIP charges.
chill_master
 
Posts: 38
Joined: Wed Aug 19, 2009 12:16 pm

Postby mflorell » Tue Sep 08, 2009 5:32 pm

There are ways of doing this, but you need to do some customizations to make that possible.

How exactly would just using two SIP providers lower your VOIP costs?
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby chill_master » Tue Sep 08, 2009 6:59 pm

Each account in my VOIP provider had max mins of 5100, where I don't need to pay extra charges aside from what I paid for the account setup every time I exceed the max. But on average I get 10,000 mins. So If I have two accounts, I don't have to pay for extra charges. Right now I'm paying $100 on average per month for extra charges.
chill_master
 
Posts: 38
Joined: Wed Aug 19, 2009 12:16 pm

Postby mflorell » Wed Sep 09, 2009 9:26 pm

The easiest way is actually to send all of the bottom ending numbers[0-4] to one account and the top half ending numbers[5-9] to the other account. You can do this through some pretty simple dialplan logic:

; put this in the first carriers dialplan entry
exten => _91NXXNXXXXX[0-4],1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXX[0-4],2,Dial(${TESTSIPTRUNKX}/${EXTEN:2},,tTor)
exten => _91NXXNXXXXX[0-4],3,Hangup

; put this in the second carriers dialplan entry
exten => _91NXXNXXXXX[5-9],1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXX[5-9],2,Dial(${TESTSIPTRUNKY}/${EXTEN:2},,tTor)
exten => _91NXXNXXXXX[5-9],3,Hangup
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby chill_master » Thu Sep 10, 2009 9:51 am

Gee, I've never thought of that.

This was so easy than I've thought it will be.

Thanks Matt.
chill_master
 
Posts: 38
Joined: Wed Aug 19, 2009 12:16 pm


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 116 guests