2 Network cards in asterisk server issue
Posted on 2011-09-14
have on Asterisk 18.104.22.168 with Centos 6. Phone system was working fine. But we needed to add in another network card and link to our other network so that we can use softphones as well. Asterisk system network was changed to 192.168.2.210.
We added another network card with ip address of 192.168.1.210.
Softphones can register to 192.168.1.210 ok and also handsets can register to 192.168.2.210 ok.
The issue we have it that it takes 30 seconds plus sometimes to connect calls to extensions even those on the same network. Also when we try to hang up a call from the softphone it doesn't always allow it.
in sip_custom_conf we have added in the other network os it shows:
localnet = 192.168.2.0/255.255.255.0;
localnet = 192.168.1.0/255.255.255.0;
We think that the system doesnt know where to route calls so trys to find the correct routes which is making it take ages to call. Also affecting when we hang up from.....