Page 1 of 1
SIP trunks using DSLs
Posted:
Wed Jul 15, 2009 9:18 pm
by richo2007
Hi. I need to use several DSLs with a small capacity 640kbps for an outbound campaign dialing via SIP trunks. I have been attaching one DSL to a networkcard of a PBX and set the parameter MAX Vicidial Trunks to limit the number of call dialed through that server.
That was a practical solition for a small numbr of agents, but now I see the need to double my capacity and I'm looking for options to avoid duplicating the number of servers just to conect a DSL to each.
Can I have an aditional ethernet card with its DSL per server and configure asterisk/vicidial so that I can limit the number of calls that go through each DSL? How can I do that?
Thanks in advance
Posted:
Sat Jul 18, 2009 2:55 pm
by williamconley
yes, using ip route
if you have multiple providers with different ip addresses, you can use simple routing to send all traffic for "x.x.x.x" through eth0 and "y.y.y.y" through eth1.
if you must use the same carrier, try to use a diff PORT for the second connection and you can do the same thing "x.x.x.x:5060" through eth0, x.x.x.x:5061 through eth1.
this can actually even be done with a single card with multiple ip gateways on it if you know what you are doing (eth0:1).
as long as there can be an actual definition that your ethernet's routing system can look at for which way to send the packets ... they can be routed in this fashion.
but test it with something simple (ssh?) until you verify that it's working on an actual VOIP call. do it locally to verify you've gotten the concept.
Posted:
Sat Jul 18, 2009 9:59 pm
by richo2007
Yes, I need to use the same provider.
Ok, lets asume that I have two diferent conections.
How do I tell vicidial not to send more that X number of calls through connection A and Y number of call through connection B?
There will be a single vicidial server, so I can not take advantage of the parameter Max Vicidial Trunk. Is that correct? any ideas?
Thanks
Posted:
Sat Jul 18, 2009 10:13 pm
by williamconley
Yes, we had a similar issue at one of our facilities that had double T1s that could not be married, so individual 1.5M connections, and we had to balance the load across them. Our problem was that the provider (very inexpensive, sometimes down to .5c per min!) was using a single IP and we had to use the port as the trigger to route the packets through the other circuit.
Posted:
Sat Jul 18, 2009 10:26 pm
by richo2007
Yes, I need to use the same provider.
But I understand what you are saying.
I was stuck trying to solve the problem at the vicidial/asterisk level while indeed the solution is at the networking level.
Thanks a lot.
Posted:
Sat Jul 18, 2009 10:26 pm
by richo2007
Ok, lets asume that I have two diferent conections.
How do I tell vicidial not to send more that X number of calls through connection A and Y number of call through connection B?
There will be a single vicidial server, so I can not take advantage of the parameter Max Vicidial Trunk. Is that correct? any ideas?
Thanks
Posted:
Sat Jul 18, 2009 10:37 pm
by williamconley
split up your campaigns and use a diff carrier for each one. i've heard some requests for a "max per carrier" but noone has offered to pay for it yet. i have something like that running in Non Vicidial boxes, though.
Posted:
Sun Jul 19, 2009 8:54 am
by richo2007
Yep, something like max per carrier would make the trick.
Any idea of what would it cost?
Thanks.
Posted:
Sun Jul 19, 2009 10:05 am
by williamconley
I could probably do a quickie version of it that would work for about three hundred.
it would just be an extra setting or two for the carrier, then an extra couple of queries to run before issuing the dial command: how many channels are already in use for this carrier? what's the max? where do i dial INSTEAD if this carrier is "full"? (or do i "fail"?)