Grandstream HT503

From Wildsong
Jump to navigationJump to search
  • 1 FXS port
  • 1 FXO port
  • MSRP $95 but only $38 from Streakwave

HT503 upgrades

Download the firmware file from Grandstream. Unzip it and put the bin file in /var/www/html/gs (See /etc/inetd.conf) On the HT503, for server put 192.168.2.234 and for prefix put gs

Then you can watch the log file on the server and see what the HT503 tries to pull.

192.168.2.253 - - [04/Mar/2015:16:29:15 -0800] "GET /ht503/ht503fw.bin HTTP/1.1" 200 60594 "-" "\"Grandstream Model HW HT-503  V1.4A SW 1.0.8.4 DevId 000b8242c619\""
192.168.2.253 - - [04/Mar/2015:16:29:17 -0800] "GET /ht503/ht503corea.bin HTTP/1.1" 404 537 "-" "\"Grandstream Model HW HT-503  V1.4A SW 1.0.8.4 DevId 000b8242c619\""
192.168.2.253 - - [04/Mar/2015:16:29:18 -0800] "GET /ht503/ht503basea.bin HTTP/1.1" 404 537 "-" "\"Grandstream Model HW HT-503  V1.4A SW 1.0.8.4 DevId 000b8242c619\""
192.168.2.253 - - [04/Mar/2015:16:29:19 -0800] "GET /ht503/ht503proga.bin HTTP/1.1" 404 537 "-" "\"Grandstream Model HW HT-503  V1.4A SW 1.0.8.4 DevId 000b8242c619\""

In my case the first name was correct and you can wait a few minutes and see if the upgrade worked.

HT503 Configuration

  • Change rings in FXO from 4 to 1
  • In FXO, change "PSTN Ring Thru FXS" to No so FXS handset won't ring,

Making this ATA work at BAREIS

  • Set "Enable PSTN Disconnect Tone Detection" to "Yes".
  • Change "PSTN Disconnect Tone" to "f1=697@-32,f2=1633@-32,c=500/500;"
  • Wait for dialtone needs to be "No"

Then set the DTMF tone 'A' (which is 697/1633) in the peripherals / voicemail of the Comdial to indicate the call has disconnected.

FXO - Stage 1 / Stage 2

http://www.cisco.com/c/en/us/support/docs/voice/voice-quality/22373-1stage2stage.html

We use 2 stage, called "stage 2" for some reason.

Stage 1 Asterisk initiates the call and passes SIP commands through to the HT503, and the smart PBX out there does the rest of the work

Stage 2 Asterisk sends a call to the the HT503. It seizes the PSTN line, gets a dialtone, and send all digits as DTMF tones to the Comdial.

This is where the Comdial dial plan comes in -- it needs the '9' to tell it to dial out or it needs the local 3-digit extension

Configuration server support

You can also put a configuration file on the web server the same way, so that replacing a broken HT503 is just a matter of telling it where to pull the file.

I use 192.168.2.234/gs as the server and ht503 as the prefix. These are the files it looks for on boot.

/gs/ht503cfg000b8242c619
/gs/ht503cfg000b8242c619.xml
/gs/ht503cfg.xml

Debugging settings

I tell the HT503 to send syslog messages to the server so that it's possible to debug!

Messages are getting written to /var/log/messages and /var/log/syslog