[asterisk-users] Redone setup, bizare problems

Nicolas Ross rossnick-lists at cybercat.ca
Mon Apr 26 21:12:25 CDT 2010


Hi !

Sorry if this is a long post...

I had this setup for about a year without problems :

Network A   <->  wrv200  <->  internet  <->  wrv200  <-> net b

The 2 networks are linked with an ipsec vpn. The 2 internet connections are 
with the same cable company to minimize latency, both separates /24 subnets.

On network A, I got 2 computers, a single sip phone (aastra 9112i). On 
network B, I got a linux box acting as smb domain controler and many other 
thins, another linux box that only do an asterisk server, 4 computers, 3 sip 
phones (2 aastra 9112i and one 480i ct), 1 analog ATA for the alarm system, 
an internet point of sale terminal, that's about it.

The asterisk server is connected to the PSTN with a VOIP provider trough 
IAX.

All of this was working fine. Since the last couple of months, we had some 
qos problems with the exterior. The sound was choping up randomly. With what 
I can do with the linksys wrv200, I was limited. I also had some filesystem 
issues that made the asterisk server locks up from time to time. So I wanted 
to reformat the server and re-install it on a ssd drive.

So for the time of the re-format, I installed asterisk on my smb server, and 
re-copied /etc/asterisk, /var/spool/asterisk and /var/lib/asterisk to it.

When I arrived at home, the externel power supply of the little shuttle box 
refused to power up. So I ended up building a new computer from scratch. 
This new server will be acting as asterisk server and router, replacing the 
wrv200 from network b (demoting it to wireless access point and switch).

Last sunday, I installed the server, re-copying the 3 folders of asterisk in 
the same maner. I then had a hard time making the phones register to the 
server. I always had "no service" with the mwi light steady on. I finaly got 
the phones to register, I'm still not sure exactly what I did to make it 
work. And the phone on network A didn't work wither. I'll get to that one 
later. The linksys pap2t ata didn't had the problem, it registered right as 
I started the server.

On the phones on network B, since then I get the MWI light come on 
momentarely, with the "no service" on the display, and then all comes back 
to normal. But all phones can make and receive calls.

For the remote phone, for those familiar with ipsec vpns, it's a net to net 
connection. So, the gateway cannot reach the computers on the network on the 
other side. So I had to add a static route on my router/asterisk server to 
be able to reach the phone on the other side. It was able to register for 
some time, but the next morning it was "no service", and I wasn't able to 
make it work again. I ended up connecting the phone trough the externel 
interface of the router/asterisk server.


So, my questions :

Why is the phones are constatly showing "no service" with the light flashing 
?

Is there a way for the remote phone from net A to connect properly trough 
the vpn ?


Thanks for any hints,

Niolas 




More information about the asterisk-users mailing list