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

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 '' 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

What is the best way to get this working?

Create new topic
3496 posts

Uber Geek


  # 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

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.


5545 posts

Uber Geek

Lifetime subscriber

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

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

Chorus has spent $1.4 billion on making their xDSL broadband network faster and even more now as they are upgrading their rural Conklins. If your still stuck on ADSL or VDSL, why not spend $195 on a master filter install to make sure you are getting the most out of your connection?
I install - Naked DSL, DSL Master Splitters, VoIP, data cabling and general computer support for home and small business.
Rural Broadband RBI installer for Ultimate Broadband and Full Flavour


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

894 posts

Ultimate Geek


  # 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 and it returns the correct WXC IP, I would actually add an /etc/hosts entry for 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.

894 posts

Ultimate Geek


  # 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 :)

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 /

By removing the, 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

Twitter and LinkedIn »

Follow us to receive Twitter updates when new discussions are posted in our forums:

Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:

Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:

News »

Microsoft New Zealand Partner Awards results
Posted 18-Oct-2019 10:18

Logitech introduces new Made for Google keyboard and mouse devices
Posted 16-Oct-2019 13:36

MATTR launches to accelerate decentralised identity
Posted 16-Oct-2019 10:28

Vodafone X-Squad powers up for customers
Posted 16-Oct-2019 08:15

D Link ANZ launches EXO Smart Mesh Wi Fi Routers with McAfee protection
Posted 15-Oct-2019 11:31

Major Japanese retailer partners with smart New Zealand technology IMAGR
Posted 14-Oct-2019 10:29

Ola pioneers one-time passcode feature to fight rideshare fraud
Posted 14-Oct-2019 10:24

Spark Sport new home of NZC matches from 2020
Posted 10-Oct-2019 09:59

Meet Nola, Noel Leeming's new digital employee
Posted 4-Oct-2019 08:07

Registrations for Sprout Accelerator open for 2020 season
Posted 4-Oct-2019 08:02

Teletrac Navman welcomes AI tech leader Jens Meggers as new President
Posted 4-Oct-2019 07:41

Vodafone makes voice of 4G (VoLTE) official
Posted 4-Oct-2019 07:36

2degrees Reaches Milestone of 100,000 Broadband Customers
Posted 1-Oct-2019 09:17

Nokia 1 Plus available in New Zealand from 2nd October
Posted 30-Sep-2019 17:46

Ola integrates Apple Pay as payment method in New Zealand
Posted 25-Sep-2019 09:51

Geekzone Live »

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

Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron

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.

Alternatively, you can receive a daily email with Geekzone updates.