Grandstream GWX40xx FXS

The Grandstream GXW40XX provides FXS - to ring your old analog phone sets We are assuming here that this is on a LAN and you have configured a few Wifi boxes and can get it set up with an IP address.

The sane way to set it up is via a web browser. If you plug it in it will get an IP from DHCP - find the IP in the logs and connect with your favorite browser.

Upgrade first

You likely will want to upgrade to the latest firmware version (1.0.10.9 as of 2013-09)- this means having a TFTP server up and running or figuring out how to make it work with grandstream's site.

The unit will assume the root directory of your TFTP - You can use the Firmware File Prefix to set the name of a directory - such as GXW410x.1.4.1.4/ and put the firmware goodies you get from grandstreams web sit in it. A similar procedure is used to restore saved config files as described below.

In Debian this means installing tftpd-hpa then edit /etc/default/tftpd-hpa Change the TFTP_OPTIONS line to:

TFTP_OPTIONS="--secure -vvvv"

This will provide a bit of logging to /var/log/syslog -- you can change it back after you have everything working.


Once you have your firmware up-to-date don't change any thing not listed here.

Setup

In the setup -

Primary SIP server ( set to the FS server IP address)

For each port(or line number on the box):

Valid Line# (set to 1)
IP of FS server

FS config

In /etc/freeswitch/directory/default/grandstream In between an <include> </include> pair - For each line create something similar to:

  <user id="13">  
    <params>
      <param name="password" value="grandstream"/>
    </params>
    <variables>
      <variable name="toll_allow" value="domestic,international,local"/>
      <variable name="accountcode" value="password"/>
      <variable name="user_context" value="default"/>
      <variable name="effective_caller_id_name" value="FAX"/>
      <variable name="effective_caller_id_number" value="13"/>
      <variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
      <variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
      <variable name="callgroup" value="default" />
    </variables>
  </user>

Backup your config

Hit the download button - which will do a file dialog to save your config. This file should be renamed as below

Restore your config

You can set up your TFTP server in a similar way as for getting software updates to get this file that you renamed cfg000b82123456 where the digits after cfg are the mac address of your grandstream unit.


Top Page wiki Index

Disclaimer

This information may have errors; It is not permissible to be read by anyone who has ever met a lawyer.
Use is confined to Engineers with more than 370 course hours of electronic engineering for theoretical studies.
ph +1(785) 841-3089

Email inform@xtronics.com

(C) Copyright 1994-2017, Transtronics, Inc. All rights reserved
TranstronicsĀ® is a registered trademark of Transtronics, Inc.
All trademarks are the property of their respective owners.