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.

aw



273 posts

Ultimate Geek
+1 received by user: 7

Subscriber

Topic # 57504 15-Feb-2010 19:42
Send private message

Hi,

I've got an issue with by VFX Asterisk box. I'm posting here as instructed by Xnet support.

I have two VFX lines - one I've had on Asterisk for ages (we'll call line 2), and one I just had moved over on Monday (we'll call line 1 as it is my original VFX line from when I signed up). "Line 1" was previously on my PAP2T box.

I've set up the trunk and routes etc etc via FreePBX and there is one thing I cannot get to work - incoming calls on line 1.

I've verified everything else works - calls both ways on Line 2, and outgoing calls on line 1. I've verified the correct CallerID shows on my cellphone so I have successfully tested using both lines for outgoing calls.

I've used Wireshark to verify SIP registration is working for both lines - it is, I get SIP/2.0 200 OK responses for both lines from WxC's server at pan.wxnz.net/58.28.20.150.

Wireshark shows no activity when I pick up my cellphone and dial my Line 1. The call goes without delay to Xnet voicemail.

The Wireshark filter I am using is "host 58.28.20.150 and udp port 5060".

I have tried both domains as.wxcnz.net as per the VFX/Asterisk instructions here on GZ and pan.wxnz.net as instructed in the provisioning e-mail with no noticeable difference. I simply cannot get incoming to work on Line 1.

Anything else I can check? Am I right in assuming that if registering is successful but if no UDP activity is seen when trying to make an incoming call to the affected line (10-30 seconds after seeing the successful register), the problem is at WxC's end? What else can I chack?

I will PM the actual phone numbers and my Xnet username if asked.

Thanks in advance for any help,

Andrew

Create new topic
26617 posts

Uber Geek
+1 received by user: 6107

Moderator
Trusted
Biddle Corp
Lifetime subscriber

  Reply # 299197 15-Feb-2010 19:47
Send private message

Somebody a long time ago had this issue as well..

If you do a "sip show registry" from the asterisk CLI do you see a Registered state next to both lines?


aw



273 posts

Ultimate Geek
+1 received by user: 7

Subscriber

  Reply # 299215 15-Feb-2010 20:08
Send private message

Yep - (stripped) output below:
as.wxcnz.net:5060 994XXXXX 165 Registered Mon, 15 Feb 2010 20:05:30
as.wxcnz.net:5060 995XXXXX 165 Registered Mon, 15 Feb 2010 20:05:30

Yep, that's a ported ex-Woosh number at the top. That's the one that works! It's the 95xxxxx one that's not working for incoming calls.

The 95xxxxx was up until this morning provisioned to a PAP2T box.

3594 posts

Uber Geek
+1 received by user: 79

Trusted
WorldxChange

  Reply # 299249 15-Feb-2010 20:31
Send private message

PM your numbers and I will take a look tomorrow ... after 8 as I don't want to wake you with a test call as I start early :),

Generally if it goes straight to VM then the system thinks there is no registration, if there was a delay before VM then it would generally be some sort of SIP signaling issue to the device.




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

             

https://www.facebook.com/wxccommunications

26617 posts

Uber Geek
+1 received by user: 6107

Moderator
Trusted
Biddle Corp
Lifetime subscriber

  Reply # 299262 15-Feb-2010 20:43
Send private message

Do you have any port forwarding set up in your router?

aw



273 posts

Ultimate Geek
+1 received by user: 7

Subscriber

  Reply # 299293 15-Feb-2010 21:17
Send private message

@Maverick: PM sent - thanks for the quick response! (what are you doing working so late?)

@sbiddle: Yep, UDP ports 5060, 8000, and 10000-20000 all forwarded to the asterisk box.

26617 posts

Uber Geek
+1 received by user: 6107

Moderator
Trusted
Biddle Corp
Lifetime subscriber

  Reply # 299296 15-Feb-2010 21:21
Send private message

What are you using port 8000 for?

If you're using it instead of port 80 I'd high recommend not having the web interface public facing. If you are lock down the root dir so you need the password to access the default web page.





26617 posts

Uber Geek
+1 received by user: 6107

Moderator
Trusted
Biddle Corp
Lifetime subscriber

  Reply # 299300 15-Feb-2010 21:26
Send private message

What sort of router do you have? Does it have any sort of SIP ALG stuff in it?

aw



273 posts

Ultimate Geek
+1 received by user: 7

Subscriber

  Reply # 299342 15-Feb-2010 22:26
Send private message

Hi, It's a Dynalink RTA1025W and yes there is a SIP ALG on this router and it's enabled.

That's just UDP port 8000 mentioned above, not TCP (all above mentioned ports are UDP only, not TCP) - left over from when I set up the box and "Line 2" ages ago. For RTP (http://en.wikipedia.org/wiki/Real-time_Transport_Protocol). When I was initially setting it up those were the recommended ports to forward in whatever guide I was reading. Yeah, it's probably unnecessary and I'll clean it up after it's all working.


3594 posts

Uber Geek
+1 received by user: 79

Trusted
WorldxChange

  Reply # 299387 16-Feb-2010 06:39
Send private message

Should all be good now, there appeared to be a issue with the the second registration for the 950 xxxx number but looks okay now.




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

             

https://www.facebook.com/wxccommunications

26617 posts

Uber Geek
+1 received by user: 6107

Moderator
Trusted
Biddle Corp
Lifetime subscriber

  Reply # 299389 16-Feb-2010 06:48
Send private message

SIP ALG can cause all sorts of issues and it's sometimes better to turn it off rather than leaving it on.

You need to have the RTP ports open but don't need the whole 10000. rtp.conf contains the port range and is 10000-20000 by default.

aw



273 posts

Ultimate Geek
+1 received by user: 7

Subscriber

  Reply # 299393 16-Feb-2010 07:37
Send private message

Thanks Maverick, it's all good now.

@Sbiddle: I seemed to need the ALG on when I had both my provisioned PAP2T and my Asterisk box for them both to work. Now they're both on the Asterisk box, I'll try turning it off.

Thanks again for your help guys

A

26617 posts

Uber Geek
+1 received by user: 6107

Moderator
Trusted
Biddle Corp
Lifetime subscriber

  Reply # 299394 16-Feb-2010 07:47
Send private message

If it doesn't cause any issues then leave it. Asterisk has no NAT issues behind a firewall if you have it configured properly so there is no need for the ALG.

Bit of reading on it here


aw



273 posts

Ultimate Geek
+1 received by user: 7

Subscriber

  Reply # 300487 20-Feb-2010 09:46
Send private message

Hm, I'll go back and recheck my config, but I do seem to need the ALG switched on for my cellphone's SIP client to work as a remote extension when away from home on outside WiFi networks. Without the ALG, often no audio gets to the remote extension.

Besides that, tests show everything else works regardless of the router's SIP ALG.

Anyway it's all working and I'm very happy with the setup. WAF (well, F[iancee]AF) seems good so far too...

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 »

Microsoft Dynamics 365 Business Central launches
Posted 10-Jul-2018 10:40


Spark completes first milestone in voice platform upgrade
Posted 10-Jul-2018 09:36


Microsoft ices heated developers
Posted 6-Jul-2018 20:16


PB Technologies charged for its extended warranties and warned for bait advertising
Posted 3-Jul-2018 15:45


Almost 20,000 people claim credits from Spark
Posted 29-Jun-2018 10:40


Cove sells NZ's first insurance policy via chatbot
Posted 25-Jun-2018 10:04


N4L helping TAKA Trust bridge the digital divide for Lower Hutt students
Posted 18-Jun-2018 13:08


Winners Announced for 2018 CIO Awards
Posted 18-Jun-2018 13:03


Logitech Rally sets new standard for USB-connected video conference cameras
Posted 18-Jun-2018 09:27


Russell Stanners steps down as Vodafone NZ CEO
Posted 12-Jun-2018 09:13


Intergen recognised as 2018 Microsoft Country Partner of the Year for New Zealand
Posted 12-Jun-2018 08:00


Finalists Announced For Microsoft NZ Partner Awards
Posted 6-Jun-2018 15:12


Vocus Group and Vodafone announce joint venture to accelerate fibre innovation
Posted 5-Jun-2018 10:52


Kogan.com to launch Kogan Mobile in New Zealand
Posted 4-Jun-2018 14:34


Enable doubles fibre broadband speeds for its most popular wholesale service in Christchurch
Posted 2-Jun-2018 20:07



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.