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.




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

Uber Geek
+1 received by user: 441

Trusted

  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.

 
 
 
 


5410 posts

Uber Geek
+1 received by user: 2474

Trusted
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


877 posts

Ultimate Geek
+1 received by user: 57

Subscriber

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

877 posts

Ultimate Geek
+1 received by user: 57

Subscriber

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



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 »

Orcon announces new always-on internet service for Small Business
Posted 18-Apr-2019 10:19


Spark Sport prices for Rugby World Cup 2019 announced
Posted 16-Apr-2019 07:58


2degrees launches new unlimited mobile plan
Posted 15-Apr-2019 09:35


Redgate brings together major industry speakers for SQL in the City Summits
Posted 13-Apr-2019 12:35


Exported honey authenticated on Blockchain
Posted 10-Apr-2019 21:19


HPE and Nutanix partner to deliver hybrid cloud as a service
Posted 10-Apr-2019 21:12


Southern Cross and ASN sign contract for Southern Cross NEXT
Posted 10-Apr-2019 21:09


Data security top New Zealand consumer priority when choosing a bank
Posted 10-Apr-2019 21:07


Samsung announces first 8K screens to hit New Zealand
Posted 10-Apr-2019 21:03


New cyber-protection and insurance product for businesses launched in APAC
Posted 10-Apr-2019 20:59


Kiwis ensure streaming is never interrupted by opting for uncapped broadband plans
Posted 7-Apr-2019 09:05


DHL Express introduces new MyDHL+ online portal to make shipping easier
Posted 7-Apr-2019 08:51


RackWare hybrid cloud platform removes barriers to enterprise cloud adoption
Posted 7-Apr-2019 08:50


Top partner named at MYOB High Achievers Awards
Posted 7-Apr-2019 08:48


Great ideas start in Gisborne with hackathon event back for another round
Posted 7-Apr-2019 08:42



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.