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

Topic # 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
3445 posts

Uber Geek
+1 received by user: 441


  Reply # 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 ;)

3 posts

Wannabe Geek

  Reply # 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.


5389 posts

Uber Geek
+1 received by user: 2457

Lifetime subscriber

  Reply # 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. If your still stuck on ADSL or VDSL, why not spend from $150 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

875 posts

Ultimate Geek
+1 received by user: 56


  Reply # 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.

875 posts

Ultimate Geek
+1 received by user: 56


  Reply # 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

  Reply # 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

Donate via Givealittle

Twitter »

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 »

A call from the companies providing internet access for the great majority of New Zealanders, to the companies with the greatest influence over social media content
Posted 19-Mar-2019 15:21

Two e-scooter companies selected for Wellington trial
Posted 15-Mar-2019 17:33

GeForce GTX 1660 available now
Posted 15-Mar-2019 08:47

Artificial Intelligence to double the rate of innovation in New Zealand by 2021
Posted 13-Mar-2019 14:47

LG demonstrates smart home concepts at LG InnoFest
Posted 13-Mar-2019 14:45

New Zealanders buying more expensive smartphones
Posted 11-Mar-2019 09:52

2degrees Offers Amazon Prime Video to Broadband Customers
Posted 8-Mar-2019 14:10

D-Link ANZ launches D-Fend AC2600 Wi-Fi Router Protected by McAfee
Posted 7-Mar-2019 11:09

Slingshot commissions celebrities to design new modems
Posted 5-Mar-2019 08:58

Symantec Annual Threat Report reveals more ambitious, destructive and stealthy attacks
Posted 28-Feb-2019 10:14

FUJIFILM launches high performing X-T30
Posted 28-Feb-2019 09:40

Netflix is killing content piracy says research
Posted 28-Feb-2019 09:33

Trend Micro finds shifting threats require kiwis to rethink security priorities
Posted 28-Feb-2019 09:27

Mainfreight uses Spark IoT Asset Tracking service
Posted 28-Feb-2019 09:25

Spark IoT network now covers 98% of New Zealand population
Posted 19-Feb-2019 09:28

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.