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

Uber Geek
+1 received by user: 410

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.

 
 
 
 


5288 posts

Uber Geek
+1 received by user: 2314

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


873 posts

Ultimate Geek
+1 received by user: 56

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.

873 posts

Ultimate Geek
+1 received by user: 56

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:



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.

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