;Gateway is a router with dedicated internet. Used to connect to my iax trunk
DEVICE=eth1
BOOTPROTO=none
HWADDR=00:11:43:dd:ac:0d
NM_CONTROLLED=yes
ONBOOT=yes
TYPE=Ethernet
UUID="346bf041-674d-4bf9-a57d-f0ed4d461326"
DNS1=192.168.1.1
IPV6INIT=no
USERCTL=no
IPADDR=192.168.1.103
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
I have 1 switch layer 3 configured with vlan 20 for voip.
2 aastra phones both configured with vlan 20.
I can ping both phones from the freepbx (centos).
I can ping the phones and the freepbx from the switch.
The iax trunk to my provider shows up as registered on freepbx so my 192.168.1.1 gateway seems ok.
Both phones cannot register.
Sip show peers :
Name/username Host Dyn Forcerport ACL Port Status Description
100 (Unspecified) D A 0 UNKNOWN
118 (Unspecified) D A 0 UNKNOWN
Am I doing something wrong?
Just checking, If you have your server with vlan eth0.20 and your phones on the same vlan, make sure you are not untagging the vlan traffic on your switch ports, it just needs to be switched.
The Aastra phones were trying to register using an old ip address. I did a tcpdump and saw that they were trying to register with an old ip 192.168.2.100.sip > 192.168.0.101.sip:.
On the phones themselves you would not see this anywhere nor on the web interface. The only way to solve the issue was to do a complete factory reset on the phones. One of them I had to reset twice.
For anyone out there using previously configured Aastra phones make sure to completely wipe them and reconfigure them anytime you make a network change.
The Aastra will override any provisioning if there is a local setting that has been set, you can delete the “local” provisioning from the phone’s http gui