chill_master wrote:I will be using two different VOIP, later on I will let go of the other VOIP and just use one.
Not quite sure how you could use 2 NICs or 2 asterisks with one account to one provider.
If opting for one provider, you may need another account with it and another asterisk box used as trunk, or in load balancing setup with number of trunks split between the two.
There could be better solutions perhaps, can't think of any easy right now.
chill_master wrote:I'm using g711. I've read reviews of g729 that the quality is not really good. I was opting to use iLBC but it's hard to find a VOIP provider that implements it with a good review.
Try GSM, try g729 too, and YOU hear how it sounds, then conclude.
chill_master wrote:how can you make asterisk route the call to a specific NIC?
You make 2 accounts to 2 providers in asterisk. Next you route the packets to the appropriate interface.
For example in our Debian box we have this:
/etc/network/interfaces :
- Code: Select all
iface eth1 inet static
pre-up /usr/sbin/ethtool -s eth1 speed 100 duplex full autoneg off
address 10.17.17.4
netmask 255.255.255.0
network 10.17.17.0
broadcast 10.17.17.255
up route add -net 10.17.17.0 netmask 255.255.255.0 dev eth1
down route del -net 10.17.17.0 netmask 255.255.255.0 dev eth1
Similar for eth0.
Figure out what's the CentOS/RedHat equivalent.