Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


s01ipsist

3 posts

Wannabe Geek


#129278 9-Sep-2013 16:32
Send private message

I switched from Trixbox to FreePBX and at some stage in the process have lost the ability to register our WxC trunk.

Asterisk reports
Registration for '99######@pan.wxnz.net' timed out, trying again (Attempt #28)

The 2talk trunk on the same box is working fine.

All the connection details are correct, WxC frontline support said that they are receiving correct 'registration' attempts, and directed me to this forum.

If I set up NAT port redirection on 5060 on the router then the connection works. I don't want to do this due to the increased security risk, and it wasn't necessary before.

This seems like a very similar issue to http://www.geekzone.co.nz/forums.asp?forumid=65&topicid=123449

What is the best way to get this working?

Create new topic
Zeon
3916 posts

Uber Geek

Trusted

  #892203 9-Sep-2013 16:37
Send private message

Yea if you run a PBX behind NAT you need to forward the port in my experience. Can't you couple it with a firewall rule to only allow connections from the WxC IP address? That's what I've done... Bring on IPv6 WorldXChange ;)




Speedtest 2019-10-14




s01ipsist

3 posts

Wannabe Geek


  #892220 9-Sep-2013 16:42
Send private message

Up until a few days ago it did work without port forwarding so there must be a way.
Unfortunately with the number of changes made, I'm just not sure what single change caused the problem...

We could lock down the port but that is just one more point of failure to me if I can get it working without NAT forwarding.

coffeebaron
6234 posts

Uber Geek

Trusted
Lifetime subscriber

  #892246 9-Sep-2013 16:58
Send private message

Ask WxC to clear all registrations at their end, this sometimes works.




Rural IT and Broadband support.

 

Broadband troubleshooting and master filter installs.
Starlink installer - one month free: https://www.starlink.com/?referral=RC-32845-88860-71 
Wi-Fi and networking
Cel-Fi supply and installer - boost your mobile phone coverage legally

 

Need help in Auckland, Waikato or BoP? Click my email button, or email me direct: [my user name] at geekzonemail dot com




rphenix
985 posts

Ultimate Geek

Lifetime subscriber

  #895293 13-Sep-2013 15:08
Send private message

Have you changed your router in anyway? Make sure you have qualify on in your trunk, so your asterisk box will be sending out SIP UDP Traffic every 60 seconds which keeps the nat session alive at your router so incoming call traffic will work.

Actually now I think on it, none of the above should affect the trunk registering anyway port forwarding wont affect registration.

Make sure you can ping pan.wxnz.net and it returns the correct WXC IP, I would actually add an /etc/hosts entry for pan.wxnz.net anyway to avoid any flakey dns issue good practice to avoid DNS problems wherever you can.

Lastly just in case something has got a bit mucked up, I've seen it before in certain scenarios where you've got an incorrect entry which stops the registration and even after correcting it things don't work till you stop attempting to register for a few minutes so try that shut asterisk down, let 2+ minutes go by then start it up again and see if it works.

rphenix
985 posts

Ultimate Geek

Lifetime subscriber

  #895294 13-Sep-2013 15:10
Send private message

coffeebaron: Ask WxC to clear all registrations at their end, this sometimes works.


This is the alternative to waiting a few minutes with asterisk stopped :)

s01ipsist

3 posts

Wannabe Geek


  #895324 13-Sep-2013 15:53
Send private message

After further reading around, I ended up playing with the network settings on FreePBX, partly because that was one thing I remember touching over the period after which it started failing.

Settings -> Asterisk SIP Settings -> Local Networks
which corresponds to the Asterisk localnet setting

Auto-configure had set it to
192.168.1.0 / 255.255.255.0

By removing the 192.168.1.0, the WxC trunk now successfully registers. The 2talk trunk worked either way.

I still don't understand the issue but maybe this will help someone else.

Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.