I am trying to set up a VoIP server for our office. I have run into two problems, which I will post both for you. I am new to Asterisks but if you post some basic commands if you need something I will be able to get any information I didn’t provide.
The server has a public IP address but the office is behind a firewall running NAT. When I first set everything up, I was able to have a softphone (xten lite) and also a hardphone Grandstream Budge Tone 100 connect to the server. I was able to call each phone without any problems. I then connectd another Grandstream phone and used the same process as before. Once I had both hardphones connected, I wasn’t always able to call the other phones. When one hardphone would contact the other hardphone I was able to talk back and forth, no problems. Yet the other softphones couldn’t connect either. So, I removed the second hardphone to double check and make sure that wasn’t causing the problem. After I reloaded the new settings, none of the softphones or hardphones where able to reigster with the server. Here is an example of a message.
Jan 12 18:10:06 NOTICE: chan_sip.c:11328 sip_poke_noanswer: Peer ‘budgeTone’ is now UNREACHABLE! Last qualify: 0
I tried a few things, enabling NAT globally, instead of just in the part just for the phone. However, that didn’t help. I also tried changing the refresh value but that didn’t work either. I didn’t have access to the firewall, but it seems odd that it just started to deny it. I went and cleared my build files and rebuilt the asterisk configurations againbut I am getting the same problem.
My question is does anyone know what could be wrong or can point me in the direction of what could be causing it.
As for the audio problem. Well I will deal with that once I get this figured out.