I need a little help here with something I've stuffed up.
I had an Asterisk box running on a home server and it's time to migrate machines (old to new) and distros (openSUSE to CentOS).
I compiled a fresh Asterisk+FreePBX install on the new box, copied over the config from the old box (I'd moved MySQL and other services earlier).
I've solved all issues migrating bar one.
I can't receive incoming calls. My personal line goes straight to voicemail and my home office line is being forwarded to my cellphone (as they both should when the * box is down).
Thing is, it's up.
Outgoing calls are 100% fine.
SIP from my mobile over VoIP and over 3G also remains fine when I make calls between extensions, local and remote.
Wireshark seems to show successful SIP registrations with WxC (coming back with 200 OK), but when I place a call from py PSTN line, with Wireshark's filter set to "net 58.28.0.0/16 and udp", no activity is shown at all relating to the incoming call.
It seems that my * box is registering, but not quite properly, and I can't quite figure out what I've screwed up.
The only change I know I've made is changing all references to as.wxcnz.net to pan.wxnz.net. I tried changing these back on one of the lines and re-added the appropriate entry in /etc/hosts but when I did that registration packets seemed to go unanswered. I've changed it back again to pan.wxnz.net.
Port forwarding on the Dynalink router is on for TCP 5060 and UDP 5060, 8000-8500 and 20000-20500. SIP ALG is OFF. Previous experimentation showed that it works both ON and OFF as the * box is the only thing that talks SIP between my home net and the internet, all other SIP traffic is local.
rtp.conf has the RTP port range set at 20000-20500 for remote extensions (my cellphone).
sip_general_custom.conf has nat=yes, externip=(my static IP) and localnet=(my local IP range).
Anything obvious I'm missing?