AstRecipes » Using a HT-488 with Asterisk
The Grandstream HandyTone HT-488 is a low-cost SIP analog adapter that offers one FXS port and one FXO port to connect one analog telephone and one POTS line to the unit. The scenarioWe want to install the unit with an Asterisk server whick IP is 10.10.3.5 and want to register the telephone attached to the unit as SIP/32, while the FXO line will be seen by Asterisk as SIP/33. Installing the HT-488
As it ships, access for the web interface is disabled for users accessing from the WAN. To enable it, connect the LAN port of the unit to a PC with a cross-cable patch, use the unit's own DHCP server to assign address to the PC and logon by navigating to http://192.168.2.1 (password admin) - go to Basic settings and set WAN side http access. Save and reboot. Connect the unit to your LAN through the WAN port and connect to it through its DHCP-assigned address (to see what that is, connect a phone to the FXS port and digit ***02 to have the unit read out the assigned IP address). If the unit did not get an IP address, select the option ***01 and then 9 to switch from fixed-ip to DHCP mode. Firmware upgrade
It is VERY IMPORTANT that you set the unit with a modern firmware, or you'll have a number of problems. Luckily this is very easy: check the current TFTP server address on Grandsteram site (see below) and enter it under the configuration page, and set "Yes, check for upgrade every 1 minute". Reboot.
The unit light should go red while the unit downloads and installs the new firmware, it will take like 5 minutes to update. Unit configuration
Under NAT/DHCP Server Information & Configuration
WAN side http access: yes
Reply to ICMP on WAN port: yes
Number of Rings: 0
Forward to VoIP: s
FXO One Stage Dialing: yes
SIP Server: 10.10.3.5
Outbound Proxy: 10.10.3.5
SIP User ID: 32
Authenticate ID: 32
Authenticate Password: XXX
Name: (leave blank)
SIP Registration: yes
Unregister On Reboot: yes
Send DTMF: via RTP (RFC2833)
Send Flash Event: Yes
Enable Call Features: No
NAT Traversal (STUN): No
No Key Entry Timeout: 4
Preferred Vocoder: PCMU / PCMA
Silence Suppression: No
Fax Mode: Pass-through
SIP Server: 10.10.3.5
Outbound Proxy: 10.10.3.5
SIP User ID: 33
Authenticate ID: 33
Authenticate Password: XXX
Name: (leave blank)
SIP Registration: yes
Unregister On Reboot: yes
Send DTMF: via RTP (RFC2833)
Send Flash Event: No
NAT Traversal (STUN): No
Preferred Vocoder: PCMU / PCMA
Silence Suppression: No
Fax-mode: Pass-through
PSTN AC Termination: 270 Ohm
Enable PSTN Disconnect Tone Detection: yes
PSTN Silence Timeout: 20
Enable Current Disconnect: Yes
; FXS port
[32]
type=friend
secret=XXX
callerid="My FXS" <32>
host=dynamic
nat=no
canreinvite=no
disallow=all
allow=ulaw
context=sip
qualify=yes
dtmfmode=rfc2833
; FXO port
[33]
type=friend
secret=XXX
callerid="My FXO" <33>
host=dynamic
nat=no
canreinvite=no
disallow=all
allow=ulaw
context=in-sip
qualify=yes
dtmfmode=rfc2833
pbx*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
33/33 10.10.3.103 D 5062 OK (5 ms)
32/32 10.10.3.103 D 5060 OK (5 ms)
Softlinks:
Home Page - Installing QueueMetrics from scratch - Installing QueueMetrics - QueueMetrics - Utenti/Lenz73 - Compiling Asterisk 1.4 with TDM400 and H323 - Misc links - Upgrading QueueMetrics licences - AddQueueMember and the queue_log file - Create an account - User stats - Installing Queuemetrics on Debian - Utenti/walmass - Add a recipe - UPDATING - Compiling Asterisk with OH323 - Configuring a queue - SandBox - Licences - Improving AstRecipes - Managing agents that dynamically log-on - Compressing recorded calls to MP3 - QueueMetrics logs - Avoiding queue_log file rotation - Utenti/timlitw - Installing QueueMetrics on Fonality PBXtra - asterisk - Manually updating QueueMetrics - Monitoring Zaptel Hardware - Recording all outgoing traffic for some extensions - Listening to recorded calls using XC-AST - Installing the Linksys PAP2-NA port adapter - Installing Queuemetrics on PBX-in-a-Flash - Administering QueueMetrics using Tomcat - Connecting to FWD using IAX - Utenti/peter-dean - Optimizing QueueMetrics data access - Installing XC-AST - Installing QueueMetrics using Yum - Generic QueueMetrics startup script - Installing XC-AST under Jetty - Rebuilding Fonality queue_log - Compiling Asterisk on EPIA with VIA C3 - Simple queue and agent debug monitoring - Connecting to Squillo using SIP - Debugging Qloaderd installation - Utenti/lostdave - Utenti/bg - AstRecipes markup - Installing QueueMetrics beta through RPM
Home Page - Installing QueueMetrics from scratch - Installing QueueMetrics - QueueMetrics - Utenti/Lenz73 - Compiling Asterisk 1.4 with TDM400 and H323 - Misc links - Upgrading QueueMetrics licences - AddQueueMember and the queue_log file - Create an account - User stats - Installing Queuemetrics on Debian - Utenti/walmass - Add a recipe - UPDATING - Compiling Asterisk with OH323 - Configuring a queue - SandBox - Licences - Improving AstRecipes - Managing agents that dynamically log-on - Compressing recorded calls to MP3 - QueueMetrics logs - Avoiding queue_log file rotation - Utenti/timlitw - Installing QueueMetrics on Fonality PBXtra - asterisk - Manually updating QueueMetrics - Monitoring Zaptel Hardware - Recording all outgoing traffic for some extensions - Listening to recorded calls using XC-AST - Installing the Linksys PAP2-NA port adapter - Installing Queuemetrics on PBX-in-a-Flash - Administering QueueMetrics using Tomcat - Connecting to FWD using IAX - Utenti/peter-dean - Optimizing QueueMetrics data access - Installing XC-AST - Installing QueueMetrics using Yum - Generic QueueMetrics startup script - Installing XC-AST under Jetty - Rebuilding Fonality queue_log - Compiling Asterisk on EPIA with VIA C3 - Simple queue and agent debug monitoring - Connecting to Squillo using SIP - Debugging Qloaderd installation - Utenti/lostdave - Utenti/bg - AstRecipes markup - Installing QueueMetrics beta through RPM



