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.



773 posts

Ultimate Geek
+1 received by user: 41

Subscriber

Topic # 103239 1-Jun-2012 22:11 Send private message

Hi All,

I've reconfigured my local network recently and have been having issues with incoming vfx calls not arriving, instead they are being diverted by the Call Forwarding Not Reachable rule.

The new setup is a rta1320v6 in half bride mode to a wrt54g router with QOS enabled. The ATA is a wag310g.
The WAG310G is set using the 5th port as a wan port to the wrt54g using a fixed ip address. Nothing else is connected to the wag310g, it's simply being used as an ata.

I can make outgoing calls fine, it's just the incoming calls that are failing (most of the time).

I currently have line 1 set up as a provisioned vfx line. I also have line 2 set up with 2 talk so that I can make free calls from my mobile when run low on included minutes. The issue only affects line 1, incoming calls on the 2talk line come in fine.

The wrt54g is flashed with dd-wrt (voip version), having said that, there is nothing special in the voip version (other than qos) enabled for sip settings (there is a Milkfish SIP Router option, but, this is disabled). This version was chosen for a future move to IPV6 in the future.

The 2nd line is set up to use port 5061 (& TLS transport), I've also used port 50600 in case this was interfering with line 1, but, this has not made any difference, incoming calls are still not reachable.

Both lines show as registered, however, only the 2nd line reliably receives calls.

In desperation, I've forwarded port 5060 (udp & tcp) to the ata, however, this has not made any difference to the outcome, I still miss calls on the 1st line.

I have also tried swapping the power supply of the wag310g but this has made no difference.

Does anybody have any ideas of other things to try?

Create new topic
19414 posts

Uber Geek
+1 received by user: 1257

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 634518 2-Jun-2012 09:32 Send private message

Get rid of the SIP firmware, it's not needed. This created issues for me many, many years ago when I was a DD-WRT fan, even with their SIP ALG disabled.






773 posts

Ultimate Geek
+1 received by user: 41

Subscriber

  Reply # 634546 2-Jun-2012 10:42 Send private message

At the moment, I've got a workaround. The issue seems to be that there is no acknowladgement of the registration being received from the ata. Immediatly after the registration I can see the following info in the open connections

29 UDP 22 192.168.0.2 58.28.20.150 5060 UNREPLIED

If an incoming call was received in the 30second timeout of an unreplied connection (registration) I would receive the call, otherwise, the conneciton would expire and no call would be received. Not quite sure why I am not getting the reply (perhaps the sip alg in the router as mentioned above, although I didn't think this was in there). The other registration works fine, it's just vfx that won't talk back to me.

Anyway, my quick and dirty hack is to change the timeout values from 30 seconds to 190 seconds, that way, with the registration every 180 secods it gets renewed.

To do that, I connected to the router and issued the following commands,

echo 190 > /proc/sys/net/ipv4/netfilter/ip_conntrack_udp_timeout
echo 190 > /proc/sys/net/ipv4/netfilter/ip_conntrack_udp_timeout_stream

That way, even though 58.28.20.150 doesn't seem to be triggering the connection to stay open (the other line has a fully established link), it's still held open long enough for the connection.

A workaround for the issue more than the root cause, but, it seems to be working for now. I'll investergate other options later (I'm a bit busy this weekend).






773 posts

Ultimate Geek
+1 received by user: 41

Subscriber

  Reply # 635749 5-Jun-2012 00:14 Send private message

Hmm, today I've had no voip line (just line 1, line 2 is still ok) for most of the day. Decided to change try tomato software on my router but this has not made any difference. Line 1 is no longer registering (no change was made to the setup between it working and then not working, at that stage I decided to change the router firmware but this was not the main cause). Unusual for it just to die.
Have rebooted my router several times.

3558 posts

Uber Geek
+1 received by user: 60

Trusted
WorldxChange

  Reply # 635775 5-Jun-2012 06:26 Send private message

I think you will be having an issue with SIP natting on port 5060 as this is the standard port for SIP, I also do not see any attempts at all to register from your IP address at the moment .. last time was 17:04 yesterday




Yes I am a employee of WxC (My Profile) ... but I do have my own opinions as well Wink

             

https://www.facebook.com/wxccommunications



773 posts

Ultimate Geek
+1 received by user: 41

Subscriber

  Reply # 636014 5-Jun-2012 13:08 Send private message

Thanks for the update, it confirms what I am seeing, no registration.

I can see the connections it's making for ntp, the other provider, and even a tftp link (I think) to your servers, but, I don't see any attempt for the vfx connection. It's as if it has somehow become corrupted. Late tonight I'll factory reset my router and get it to re-provision and see what happens. If that doesn't work, I'll snoop on what is coming out of that box and see what's going on.

Cheers,
Daniel.

3558 posts

Uber Geek
+1 received by user: 60

Trusted
WorldxChange

  Reply # 636016 5-Jun-2012 13:12 Send private message

Hi Daniel,

We don't use tftp at all so that is a bit strange if your seeing that Frown




Yes I am a employee of WxC (My Profile) ... but I do have my own opinions as well Wink

             

https://www.facebook.com/wxccommunications



773 posts

Ultimate Geek
+1 received by user: 41

Subscriber

  Reply # 636044 5-Jun-2012 13:45 Send private message

maverick: Hi Daniel,

We don't use tftp at all so that is a bit strange if your seeing that Frown



Yeah, actually it would be quite strange to use that, I must have misread ntp.wxnz.net from going cross eyed from looking at this.
Sorry for the misinformation, will reset everything tonight as see what happens.




773 posts

Ultimate Geek
+1 received by user: 41

Subscriber

  Reply # 636442 6-Jun-2012 00:35 Send private message

dolsen:
maverick: Hi Daniel,

We don't use tftp at all so that is a bit strange if your seeing that Frown



Yeah, actually it would be quite strange to use that, I must have misread ntp.wxnz.net from going cross eyed from looking at this.
Sorry for the misinformation, will reset everything tonight as see what happens.



Ok, did a trace of what was coming out of the box, couldn't see anything looking like a registration.

Reset the ata, and entered the provision link, it made the following link (which is why I thought I saw a tftp connection, it's just the name though).

TCP    192.168.0.2    1041    tftp.wxnz.net (58.28.20.69)    443    High

after it had done it's thing, I looked through the capture of the data and can now see this (info changed, but not the ip address)

REGISTER sip:as.wxcnz.net SIP/2.0
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=xxxxxxx-xxxxxxxx
From: 0483nnnnn <sip:[email protected]>;tag=xxxxxxxxxxxxxxxxxx
To: 0483nnnnn <sip:[email protected]>
Call-ID: [email protected]
CSeq: 5010 REGISTER
Max-Forwards: 70
Contact: 0483nnnnn <sip:[email protected]:5060>;expires=180
User-Agent: Linksys/WAG310G-4.1.12(07011729)
Content-Length: 0
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
Supported: x-sipura, replaces

Not quite sure what changed between it working  and not though...
Will come back to this tomorrow. hmm, actually, it will be this evening...





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 »

Trending now »
Hot discussions in our forums right now:

Warning: Rage Ahead - Campbell Live and childhood poverty
Created by kawaii, last reply by networkn on 2-Sep-2014 19:57 (112 replies)
Pages... 6 7 8


Does NZ need better gun laws?
Created by mattwnz, last reply by heylinb4nz on 2-Sep-2014 16:23 (104 replies)
Pages... 5 6 7


What tyre brand/model to look at ?
Created by Mark, last reply by miked on 2-Sep-2014 19:34 (32 replies)
Pages... 2 3


VideoEZY OnDemand
Created by Andib, last reply by davidcole on 2-Sep-2014 20:10 (63 replies)
Pages... 3 4 5


Judith Collins: I am resigning
Created by Presso, last reply by gzt on 2-Sep-2014 11:42 (109 replies)
Pages... 6 7 8


Cirque du Soleil Cellphone Hijack
Created by myopinion, last reply by PhantomNVD on 1-Sep-2014 18:01 (21 replies)
Pages... 2


Orcon Global Mode launched
Created by freitasm, last reply by shk292 on 1-Sep-2014 11:32 (132 replies)
Pages... 7 8 9


Lightbox press event release
Created by freitasm, last reply by IcI on 30-Aug-2014 17:54 (562 replies)
Pages... 36 37 38



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.