Classic Rotary Phones Forum

Telephone Switching => VOIP, Asterisk, C*NET, NPSTN, XLink, etc => Topic started by: timmerk on January 30, 2017, 10:59:50 AM

Title: Help with setting up Grandstream HT502
Post by: timmerk on January 30, 2017, 10:59:50 AM
Hi all,

I just got a Grandstream HT502 (unlocked, with latest firmware), but am having problems setting it up with a SIP server. The 502 is behind a router, and I'm using a new WE500 rotary with it. I've tried 3 different SIP servers, but all I get is a busy tone after a while. All 3 SIP servers work correctly from behind the same router with my PC and a softphone, so I'm not sure the route is the problem.

I've tried all 3 NAT settings on the 502. Any ideas? I'm guessing it's some setting that should be changed out of the many.

Title: Re: Help with setting up Grandstream HT502
Post by: unbeldi on January 30, 2017, 12:05:39 PM
This ATA has good configuration features. Make sure they are set properly.
Do you have it connected to the network by the WAN port ?  IIRC, by default the ATA requires the LAN port for configuration.  It can be set for bridging the ports.
Behind NAT you might want to use the STUN configuration or the Outbound Proxy feature.
Is SIP registration enabled? The status page shows the registration status of the FXS ports.
Title: Re: Help with setting up Grandstream HT502
Post by: timmerk on January 30, 2017, 12:38:18 PM
I have it connected to the WAN port, but I was able to access the admin webpage and log in. It's getting a correct local IP from my router. I've tried the STUN server, and outbound proxy features. The status page shows that the lines are registered with the SIP server.
Title: Re: Help with setting up Grandstream HT502
Post by: andy1702 on January 30, 2017, 01:31:53 PM
I sent you a PM. Tried to upload the settings here, but the forum's stupid rules about images won't let me do it!!!!  >:(

Andy
Title: Re: Help with setting up Grandstream HT502
Post by: unbeldi on January 30, 2017, 01:36:57 PM
Well, if it is registered, then it is not a networking issue and not an authentication issue.

Are you really getting a busy tone, or is it a reorder tone?
You probably need to ask your provider about the specific configuration requirements.
Title: Re: Help with setting up Grandstream HT502
Post by: timmerk on January 30, 2017, 09:53:36 PM
Ah, it's the reorder tone.
Title: Re: Help with setting up Grandstream HT502
Post by: timmerk on January 30, 2017, 11:10:06 PM
Finally got it working! No NAT traversal was needed, nor a port change, nor a port forwarding rule on the router was needed. The key was the vocoder/codec order. It needed to be in this order: PCMU, G729, PCMA. Hopefully that will help someone.
Title: Re: Help with setting up Grandstream HT502
Post by: Jack Ryan on January 30, 2017, 11:35:54 PM
Quote from: timmerk on January 30, 2017, 11:10:06 PM
Finally got it working! No NAT traversal was needed, nor a port change, nor a port forwarding rule on the router was needed. The key was the vocoder/codec order. It needed to be in this order: PCMU, G729, PCMA. Hopefully that will help someone.

Interesting, I haven't used that order on any of mine and I don't think that is the default order.

I think if that is the cause, something else doesn't negotiate well.

Jack
Title: Re: Help with setting up Grandstream HT502
Post by: andy1702 on January 31, 2017, 03:33:23 AM
Good to hear you got it working.
Title: Re: Help with setting up Grandstream HT502
Post by: timmerk on January 31, 2017, 08:11:32 AM
Quote from: Jack Ryan on January 30, 2017, 11:35:54 PM
Interesting, I haven't used that order on any of mine and I don't think that is the default order.

I think if that is the cause, something else doesn't negotiate well.

Jack


The strange thing is it didn't work on any of the three SIP providers until I changed it to that specific order, but now it works on all of them. Also strange it had to be that order. The default order was PCMU, PCMA, and then some others, but trying G729 first didn't fix it, either. I will play with the order more to see if I can narrow down the exact cause.
Title: Re: Help with setting up Grandstream HT502
Post by: shadow67 on May 13, 2017, 07:28:14 PM
Does anyone know why certain rotary phones would work on a HT502 and others not? My WE 500 phones and a princess and trimline rotary work fine but my 302 sets won't break dial tone. They work on a POTS line fine as well as an Iaxy ATA. Thanks
Title: Re: Help with setting up Grandstream HT502
Post by: timmerk on May 13, 2017, 07:35:05 PM
Quote from: shadow67 on May 13, 2017, 07:28:14 PM
Does anyone know why certain rotary phones would work on a HT502 and others not? My WE 500 phones and a princess and trimline rotary work fine but my 302 sets won't break dial tone. They work on a POTS line fine as well as an Iaxy ATA. Thanks

I believe it's the timing of the dial. The 502 doesn't register the digits if it's not *exactly* what it's expecting. Telco equipment is more forgiving and could accept slight variations from what they were expecting.
Title: Re: Help with setting up Grandstream HT502
Post by: andy1702 on May 14, 2017, 03:00:00 AM
It's to do with the make/break ratio of the dial. Here in the UK we have a lot if trouble with this becausebthe ratio is different to the US and the Grandstream 502 is set to wirk with US phones.

The simple answer to the problem we"ve found here is to slightly bend the pulse contacts on the dial so they don't open quite as far. It's a tiny adjustment that makes a big difference.
Title: Re: Help with setting up Grandstream HT502
Post by: dsk on May 14, 2017, 05:01:03 AM
Quote from: andy1702 on May 14, 2017, 03:00:00 AM
It's to do with the make/break ratio of the dial. Here in the UK we have a lot if trouble with this becausebthe ratio is different to the US and the Grandstream 502 is set to wirk with US phones.

The simple answer to the problem we"ve found here is to slightly bend the pulse contacts on the dial so they don't open quite as far. It's a tiny adjustment that makes a big difference.
I have heard those are sensitive to dial speed, but not the make break ratio, but you are probably right 60%break in the many countries, and 2/3 (67%) in the UK. 
dsk
Title: Re: Help with setting up Grandstream HT502
Post by: dsk on May 14, 2017, 05:03:15 AM
Quote from: shadow67 on May 13, 2017, 07:28:14 PM
Does anyone know why certain rotary phones would work on a HT502 and others not? My WE 500 phones and a princess and trimline rotary work fine but my 302 sets won't break dial tone. They work on a POTS line fine as well as an Iaxy ATA. Thanks
Are you able to connect the phone to your microphone jack on the pc and record a few 0's as a sound file? We could anlyze it and try figure out if it is to slow or fast.

dsk
Title: Re: Help with setting up Grandstream HT502
Post by: shadow67 on May 14, 2017, 07:48:04 PM
Thank you for those replies. I am not sure but I can try to record some 0s
Title: Re: Help with setting up Grandstream HT502
Post by: Jack Ryan on May 14, 2017, 08:23:00 PM
Quote from: andy1702 on May 14, 2017, 03:00:00 AM
It's to do with the make/break ratio of the dial. Here in the UK we have a lot if trouble with this becausebthe ratio is different to the US and the Grandstream 502 is set to wirk with US phones.

I've never had a problem with the make-break ratio when using phones from different parts of the world (except the IWE "long last pulse" dial).

The ATA is somewhat sensitive to dial speed and very sensitive to bounce or noise caused by dirty contacts.

Jack
Title: Re: Help with setting up Grandstream HT502
Post by: andy1702 on May 15, 2017, 06:08:10 PM
I think it's a combination of dial speed and make/break the ATA is sensitive to. In general a slow dial seems to cause more problems than a fast dial, unless it's ridiculously fast. I use the old GPO cheat to set dial speeds. Dial a 0 and as you let go count out loud at a normal speed "one onethousand and one." You should finish speaking just at the moment the dial reaches the normal position. As for the make/break, I just bend the pulse contacts until they barely open. You shoukd just be able to see they've parted but not much more.

To be honest I've never needed to do the speed test with Audacity thing. Just setting by eye etc as above has woeked for me with every phone I have. This is for adjusting UK phones to work with the Grandstream 502 though, so may be different in the US. I do have a few American phones, but these all worked ok when they arrived without any adjustment (mainly 500s).

The adjustments I make to the 700s, trimphones, bakelite phones etc are very small, but they do makenthe diffwrence between success and failure when making a call.

Andy.