Configuring Grandstream GXW-4104

dicembre 16th. News December 16th. 2007, 12:12 am

gwx410x.jpg

In the two units so far I've set the starting point was to update the firmware. The easiest way to do this is to download the latest firmware version from the appropriate page of the site GrandStream : the latest available at the time of writing this article is 1.0.1.2.

We make sure to have a webserver which make our unity GXW-4104 can download the firmware. We unpack the zip with the firmware in a subdirectory of your webserver, eg in a folder called "firmware /". Assuming that the server responds to IP 192.168.0.1, and opening a browser, we must ensure that - logging at http://192.168.0.1/firmware is displayed listing the contents of the extracted folder earlier, namely:

  • boot64.bin
  • boot64a.bin
  • gxw4100.bin
  • load64.bin

Without these basic steps, we will configure our unity so that it can take the firmware from our web server. By accessing the administration panel via our trusty browser requirements:

  1. Enable upgrade via HTTP;
  2. Set the path of the firmware ("Firmware Server Path" should be filled with the value - following the example done before - "http://192.168.0.1/firmware)
  3. Enable auditing to upgrade (Always check for New Firmware) and the period within which the check must be done ("Every check for upgrades"): the lowest value possible is 60 minutes.

Without this, after 60 minutes set the firmware will be downloaded from the web and restart the unit we find the latest firmware release: you have the time to have coffee and read the latest news on PBX-VoIP :)

After the firmware update, do not forget to check the "Status" that the firmware version is actually equivalent to that discharged.

Without the upgrade, we can do the configuration itself. We list the first steps:

  1. Set the FXO ports and parameters of PSTN tones
  2. Set the SIP Server
  3. Configuring Asterisk

The configuration described in this mini-tutorial aims to enable you to:

  • receive calls on any port FXO and sorting - all - into a single SIP account
  • make calls using the PSTN directly from your SIP phones

1. Setting FXO ports
In "FXO Lines":

Under "Termination FXO"

  • Enable Current Disconnect: Yes
  • Enable Disconnect Tone: Yes
  • Enable Polarity Reversal: No
  • AC Termination Impedance: 270 Ohm + (750 ohms | | 150 nF) and 275 Ohm + (780 ohms | | 150 nF)
  • Unconditional Call Forward to VOIP:
    • Userid: ch1-4: 111; (It means that for channels 1 to 4 calls will be forwarded all'extension SIP/111 the SIP server specified for each channel)
    • SIP Server: ch1-4: p1 (It means that for channels 1 to 4 will be used to configure the SIP server specified in p1 = Profile number 1)
    • SIP Destination Port: ch1-4: 5060; (It means that for channels 1 to 4, the SIP server is on port 5060)

In "Channel Dialing"

  • Wait for Dial-Tone (Y / N): ch1-4: N;
  • Stage Method (1 / 2): ch1-4: 1;

In "Channels":

Under the Call Progress Tones ":

  • Dial tone: ch1-4: f1 = 425 @ -14, f2 = 425 @ -14, c = 20/20-60/100;
  • Ringback tone: ch1-4: f1 = 425 @ -14, f2 = 425 @ -14, c = 100/400;
  • Busy Tone: ch1-4: f1 = 425 @ -14, f2 = 425 @ -14, c = 20/20-20/20;
  • Reorder Tone: ch1-4: f1 = 425 @ -14, f2 = 425 @ -14, c = 20/20-20/20;
  • Confirmation tone: ch1-4: f1 = 425 @ -14, f2 = 425 @ -14, c = 20/20-20/20

Under "Specific Channel Setting":

  • DTMF Methods (1-7): ch1-4: 2;

2. Set the SIP Server

We will use one profile, under "Profile 1", set the IP of your Asterisk server is "SIP Server" in "Outbound Proxy".

3. Configuring Asterisk

Edit the file sip.conf:

[gxw410x]
type=peer
context=from-grandstream
host=ip_di_asterisk
insecure=port
dtmfmode=rfc2833

[111]
type=friend
secret=111
qualify=yes
nat=no
host=dynamic
canreinvite=no
context=gxw410x

Edit the extensions.conf file and add a rule for outbound calls to the GXW 4104:

[grandstream]
exten => _0X.,1,Dial(SIP/${EXTEN:1}@gxw410x,30,r)

At this point you just have to adjust your dialplan to handle incoming calls according to your needs.

This guide is not exhaustive and is an indication of the main steps you should take a basic configuration of this product. Configurations are much more advanced, but I leave you this task: When you got to know the structure of the configuration panel, all should become easier!

[Slashdot] [Digg] [Reddit] [Del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Tags: Call Center Systems | VoIP PBX | Asterisk Consultant Naples | PBX | Voip | Asterisk CTI | PBX | IP Phones | Networking | Linux


Development of IVR systems, callcenter, PBX Voip.

8 comments

  1. Federico Modolo , 19. May 2008, 14:14

    This is certainly the only guide on the internet that makes the GXW4104 with asterisk in Italy. Should be placed on the official website. Congratulations.

  2. Gianluca, 17. December 2008, 22:03

    1000 Thanks for the valuable help.

  3. admin 17. December 2008, 22:11

    Do not mention it. I have some new configurations of this system, especially with Elastix. If you need, let me know.

  4. Mark 2. July 2009, 16:40

    I too am setting up a GXW4104 and the beginner.
    I followed this guide to the basic configuration but few things have changed in recent firmware version ...
    The latest news to which you refer are linked to the latest firmware?
    What?
    :)
    Thank you and congratulations again for your help

  5. admin 2. July 2009, 19:01

    Actually I was referring to the new configuration possibilities in relation to the fact that you can forward calls to any inbound channel to a different route.
    If you need some examples or help, please contact me by email form.

  6. gain, 11. October 2009, 16:54

    Hello!
    I am trying to configure a GXW 4108, if I understand it should be a 4104 but with 8 FXO ports ...
    Unfortunately I just can not configure it, the main problem is I do not see the line. Under "Status" panel configuration, the "FXO Line Connected" shows all the lines as "NO". I have tried several FXO ports, but without success.

    So I wanted to ask: the Grandstream, led lights corresponding port FXO only transfer data, or just plug the RJ-11 to illuminate it? Why I never lit any of the LEDs on the FXO ports. I do not know what to do ... : |

  7. admin 11. October 2009, 19:55

    I did not drive in front of me right now, but I'm pretty sure that the door switches on only during data transfer.
    What matters is that you say "FXO Line Connected: Yes"

    I advise you to follow step by step guide and check that the registration be correctly between the server and GXW asterisk.

    If you need additional help, let me know

  8. gain, 12. October 2009, 15:46

    I solved attacking another phone jack in the house ...
    strange ... : |

Write a comment: