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.


rcgcreations

8 posts

Wannabe Geek


#40703 2-Sep-2009 12:08
Send private message

Hi All,

I have been having on going problems with VFX and my trixbox. My incoming calls do not always get through.

My trixbox says it's registered and sometimes to call we get to my server.

I have tried the following
- Moved away from the ADSL XNet fusion connection to a TelstraClear cable connection.
- Turned off all voicemail and diverts at WorldxChange.

My installation has been working relatively well for many years without modification. It really has been of late that this has been happening.

Has anyone experience this too? Of course I emailed XNet but I got the "We do not support Asterisk" But they did say they can see the registeration at their end.

Any help would be great.

Thanks in advance

Craig

View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2 | 3
sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #252524 2-Sep-2009 12:13
Send private message

How often does this happen? What happens when your box isn't connected?

There have been some random issues with Asterisk failing to reregister correctly with VFX.

Doing a "sip show registry" from the command line will show the current status of your connections. "sip reload" should fix the issue when it does happen.



rcgcreations

8 posts

Wannabe Geek


  #252530 2-Sep-2009 12:27
Send private message

Hi,

Thank you for replying so quick!

It seems to happen through out the day randomly. Usually when it's not connected it just goes to Voicemail.

Yep the sip show registry command shows it's registered ok.

It's weird because one minute it will be working the next it won't be.

My Cable connection is up all the time.

I am using NAT on a pfsense box as my firewall. Do I need to have pinholes through to my Trixbox?

Recently have I changed the registerattempt to 0 and registertimeout = 60 but that does not seem to make much different.

I am thinking tonight I might install Trixbox 2.8 and try that. Currently I'm using Trixbox 2.6.

Craig


sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #252534 2-Sep-2009 12:40
Send private message

Having port 5060 open is recommended but shouldn't be essential.

If you can perform a sip show registry and it shows as connected but inbound calls are failing then it's not the issue I described above. That's something that's happened to a few people on here maybe once every couple of months.




rcgcreations

8 posts

Wannabe Geek


  #252537 2-Sep-2009 12:47
Send private message

It's certainly weird. Is there extra logging options I can turn on in Trixbox, so I can see if it's trying to connect?

I will give the Trixbox 2.8 install a go and see if that helps. I will also put the pinholes through for port 5060. I assume they will have to be TCP and UDP?

Btw, Thank you for spending the time to reply to me.


rcgcreations

8 posts

Wannabe Geek


  #252538 2-Sep-2009 12:49
Send private message

Oh also, I have call notify to email on and I just got about 5 emails when I tried to call my number . It's like Worldxchange is trying to connect and then retrying.



sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #252548 2-Sep-2009 13:02
Send private message

If sip show registry shows as registered then it's possible that your firewall is blocking inbound traffic.

All SIP traffic using Asterisk is UDP only so only port UDP/5060 needs to be opened.

Once you have done that I'd be interested so know what happens. What configuration settings are you using? Have you added anything extra to your conf files such as externip= and if so is it correct?

rcgcreations

8 posts

Wannabe Geek


  #252587 2-Sep-2009 14:44
Send private message

I have added a NAT rule for port 5060 UDP to pinhole to my Trixbox and the last few phone calls seem to work.

Here is some of my config


[VFX2]
username=*my username*
type=peer
secret=*secret*
nat=yes
insecure=invite,port
host=as.wxcnz.net
fromuser=37411237
fromdomain=as.wxcnz.net
dtmfmode=rfc2833
disallow=all
context=from-trunk
canreinvite=no
allow=ulaw
allow=alaw


 
 
 

GoodSync. Easily back up and sync your files with GoodSync. Simple and secure file backup and synchronisation software will ensure that your files are never lost (affiliate link).
rcgcreations

8 posts

Wannabe Geek


  #252927 3-Sep-2009 15:30
Send private message

Things seem to be better today with the incoming NAT rule in place. I haven't changed to 2.8 that will be a Friday mission I'm guessing.

Have a look at this screenshot. This is why I moved to TelstraClear Cable for my VOIP. It is usually 2400 down.





sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #252934 3-Sep-2009 16:01
Send private message

There is no real need to move away from 2.6 unless you want to move to Asterisk 1.6

The problem would occur regardless of what version you use since it was more than likely your firewall causing the issue.

Just one other small thing, you can now use pan.wxnz.net as the VFX server, you also don't need to add this to your hosts file.



rcgcreations

8 posts

Wannabe Geek


  #252995 3-Sep-2009 19:40
Send private message

Cool cheers..

I will when I get a chance put a log on incoming UDP port 5060 connections. I looked out my old firewall and it didn't have such rule and it worked for years until recently.

Maybe WorldxChange do a lookup UDP port 5060 on incoming call now to see if the asterisk server is there or something.

Anyway thank you for your advice.

sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #253000 3-Sep-2009 19:52
Send private message

rcgcreations: Cool cheers..

I will when I get a chance put a log on incoming UDP port 5060 connections. I looked out my old firewall and it didn't have such rule and it worked for years until recently.

Maybe WorldxChange do a lookup UDP port 5060 on incoming call now to see if the asterisk server is there or something.

Anyway thank you for your advice.


Were you using pfsence before?

Different firewalls can do slightly different things. Opening port 5060 is recommended but isn't always necessary.

rcgcreations

8 posts

Wannabe Geek


  #253009 3-Sep-2009 20:02
Send private message

No I was using a Linksys WAG54GP2 Adsl router with DMZ back to a Debian box (2.4 kernel) with shorewall. But the trixbox was on the WAN side(ie using the linksys as its gateway) so it had NAT directly through the Linksys router.


richms
28172 posts

Uber Geek

Trusted
Lifetime subscriber

  #253616 6-Sep-2009 20:14
Send private message

I had no end of problems with incoming calls even with a portfoward. Putting my asterisk box as the DMZ has sorted it out mostly, but I think there were still occasions when the ports are used by other outgoing UDP which is why I got no audio some times.

I was going to try limiting the RTP port range on asterisk and fowarding that specofically to the asterisk machine but I consolodated and made it into the nat machine as well so its still a DMZ and no audio is very very rare now.

UDP is a prick thru nat IMO.




Richard rich.ms

zimbonz
96 posts

Master Geek


  #253695 7-Sep-2009 10:57
Send private message

I have had the same problem, with three different sites recently. I have Trix 2.6, working on a DMZ, and at least once a week on all three sites, I have to reload Asterisk to re - register the trunk.
Incoming calls will get dealt with by the WxC voicemail, instead of the forwarding to the TRix. Outgoing calls work fine, so everyone thinks it is working fine... :(
Any other ideas?

sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #253703 7-Sep-2009 11:16
Send private message

Problems like this happening on a continual basis are obviously something to do with your setup. What type of router are you using?

The changes I posted the other day that are also in my blog will get around the issue you are having by forcing a SIP reload but aren't a proper fix for whatever problems you are having.

Lack of audio is typically an issue with poor quality routers or incorrectly forwarded ports.. I've never had an issue with any audio loss with VFX on any device. Just make sure your rtp.conf is modified and you're opening these ports up.

Are these trixbox installs on three different sites zimbonz? PM me if you need any help looking at the setup.

 1 | 2 | 3
View this topic in a long page with up to 500 replies per page 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.