GXP-2000 Configuration

VoIP Hardware Solutions
Provider Solution Details
VoIP Hardware Zycoo UC Solutions
  • Modular Design IP PBX for SMB
  • Remote office Centralized Management solution
  • 3rd party app integration, Enterprise Billing, Android & iOS client
Details

Daylight Savings Strings

The GXP models (later firmware) support a 'daylight savings' string that defines when clock time should be automatically adjusted.

Optional Rule details

From the HandyTone manual:
Controls whether displayed time is daylight savings time or not. If set to “Yes” and the Optional Rule is empty, then the displayed time will be 1 hour ahead of
normal time.
• The “Automatic Daylight Saving Time Rule” has the following syntax:
o start-time;end-time;saving. Both start-time and end-time have the same syntax: month,day,weekday,hour,minute
o month: 1,2,3,..,12 (for Jan, Feb, .., Dec)
o day: [+|-]1,2,3,..,31
o weekday: 1, 2, 3, .., 7 (for Mon, Tue, .., Sun), or 0 indicating daylight savings rule is based on the day of the month.
o hour: hour (0-23),
o minute: minute (0-59)
• If “weekday” is 0, it means the date to start or end daylight savings is the given date. The “day” value must not be negative.
• If “weekday” is not zero and “day” is positive, then daylight saving starts on the first “day” of the week (1st Sunday, 3rd Tuesday etc).
• If “weekday” is not zero and “day” is negative, then daylight savings starts on the last “day” of the week (last Sunday, 3rd last Tuesday etc).
• Daylight savings is in minutes. If preceded by a (-), then subtract the number of minutes.

Examples


The default value for “Automatic Daylight Saving Time Rule” is US time:
04,01,7,02,00;10,-1,7,02,00;60

Example: US/Canada, where daylight savings is applicable:
04,01,7,02,00;10,-1,7,02,00;60

Daylight savings starts from the first Sunday of April at 2AM and ends the last Sunday of October at 2AM.).

USA: 4,1,7,2,0;10,-1,7,2,0;60
UK: 3,-1,7,1,0;10,-1,7,1,0;60
Italy: 3,-1,7,2,0;10,-1,7,3,0;60
Australia: 10,1,7,2,0;4,1,7,3,0;60
New Zealand: 9,-1,7,2,0;4,1,7,2,0;60


GXP DST Bug

A bug has been noted with DST where the GXP does not work when there are 5 Sunday's in the month. Details here:
http://forums.grandstream.com/forums/index.php?topic=6916.0

To resolve this in March 2013, I set the string to this:
3,-1,6,22,0;11,1,7,2,0;60

It prevented the switchover a week early, I will see if it does then switch correctly but just a little early at the end of the month.


Custom Ring Tones and Distinctive Ring

Configuration of custom ring tones is nearly identical to configuring BT1xx series phones.
Custom ring tones are sent to the phone via TFTP. Up to 3 ring tones can be used at one time. You must first download the Custom Ring Tone Generation Tool, which is a modified command-line version of the SOX audio utility. (No source code appears to be available, which may be a GPL violation.) Use it to generate your grandstream ring file. Place this file in the tftp root folder as ringX.bin, replace X with 1-3.
For those seeking more information about the ring tone format, see this script: Budgetone makering5. The tones are mostly 8bit 8khz ulaw files, but with a few special headers. Ring tones do have some form of scripting allowed (for example, the GXP comes with a ring tone that reads off the caller-ID of the incoming call), however this has not been documented or reverse engineered yet (that I know of, -helix).

For classic ring tones: http://www.tikalnetworks.com/ rename the files to ring1-3

In FreePBX this can be accomplished by going to the ring group or dial plan and adding the following information to the field called alert-info.

In the field, enter ;info=ring1 be sure to include the semicolon
on the grandstream phone under advanced options, scroll down about 1/2 way and in the custom ring fields for ringer 1 type ring1 no space.

Apply changes on FreePBX, Reset Phone, Make Call, Hear new ring tone. Hope it works for ya!

To use distinctive ringing(v1.2):
Set on Advanced Settings Page of phone web interface,
Distinctive Ring Tone: Custom ring tone 1, used if incoming caller ID is:<ring name>
In Dialplan,
Use SIPAddHeader(Alert-Info: \;info=<ring name>)


Example using distinctive ringtones on GXP and Asterisk 1.2 or 1.4

Configure Grandstream GXP phone to use distinctive ringtones: enter configuration menu -> Advance Settings ->
Distinctive Ring Tone
Custom ring tone 1, used if incoming caller ID is: insert ring1
Custom ring tone 2, used if incoming caller ID is: insert ring2
Custom ring tone 3, used if incoming caller ID is: insert ring3
Also, configure dialplan to specify the ringtone to use, when dialing an internal extensions:

[context from-internal]
exten => _XX,1,NoOp(Call from internal extensions to internal extensions)
; specify the ring tone to play
; note the space before \; 
exten => _XX,n,SIPAddHeader(Alert-Info: \;info=ring1)
exten => _XX,n,Dial(SIP/${EXTEN})
...





XML Phonebook

I started a page for the XML Phonebook to discuss this function on its own.
http://www.voip-info.org/wiki/view/GXP-2000+XML+Phonebook -Shane Steinbeck (Jul17/06)

XML Idle Screen

Started web page to discuss idle screen configuration.
http://www.voip-info.org/wiki/view/GXP-2000+XML+Idle+Screen - mikeB (Jul18/06)

Daylight Savings Strings

The GXP models (later firmware) support a 'daylight savings' string that defines when clock time should be automatically adjusted.

Optional Rule details

From the HandyTone manual:
Controls whether displayed time is daylight savings time or not. If set to “Yes” and the Optional Rule is empty, then the displayed time will be 1 hour ahead of
normal time.
• The “Automatic Daylight Saving Time Rule” has the following syntax:
o start-time;end-time;saving. Both start-time and end-time have the same syntax: month,day,weekday,hour,minute
o month: 1,2,3,..,12 (for Jan, Feb, .., Dec)
o day: [+|-]1,2,3,..,31
o weekday: 1, 2, 3, .., 7 (for Mon, Tue, .., Sun), or 0 indicating daylight savings rule is based on the day of the month.
o hour: hour (0-23),
o minute: minute (0-59)
• If “weekday” is 0, it means the date to start or end daylight savings is the given date. The “day” value must not be negative.
• If “weekday” is not zero and “day” is positive, then daylight saving starts on the first “day” of the week (1st Sunday, 3rd Tuesday etc).
• If “weekday” is not zero and “day” is negative, then daylight savings starts on the last “day” of the week (last Sunday, 3rd last Tuesday etc).
• Daylight savings is in minutes. If preceded by a (-), then subtract the number of minutes.

Examples


The default value for “Automatic Daylight Saving Time Rule” is US time:
04,01,7,02,00;10,-1,7,02,00;60

Example: US/Canada, where daylight savings is applicable:
04,01,7,02,00;10,-1,7,02,00;60

Daylight savings starts from the first Sunday of April at 2AM and ends the last Sunday of October at 2AM.).

USA: 4,1,7,2,0;10,-1,7,2,0;60
UK: 3,-1,7,1,0;10,-1,7,1,0;60
Italy: 3,-1,7,2,0;10,-1,7,3,0;60
Australia: 10,1,7,2,0;4,1,7,3,0;60
New Zealand: 9,-1,7,2,0;4,1,7,2,0;60


GXP DST Bug

A bug has been noted with DST where the GXP does not work when there are 5 Sunday's in the month. Details here:
http://forums.grandstream.com/forums/index.php?topic=6916.0

To resolve this in March 2013, I set the string to this:
3,-1,6,22,0;11,1,7,2,0;60

It prevented the switchover a week early, I will see if it does then switch correctly but just a little early at the end of the month.


Custom Ring Tones and Distinctive Ring

Configuration of custom ring tones is nearly identical to configuring BT1xx series phones.
Custom ring tones are sent to the phone via TFTP. Up to 3 ring tones can be used at one time. You must first download the Custom Ring Tone Generation Tool, which is a modified command-line version of the SOX audio utility. (No source code appears to be available, which may be a GPL violation.) Use it to generate your grandstream ring file. Place this file in the tftp root folder as ringX.bin, replace X with 1-3.
For those seeking more information about the ring tone format, see this script: Budgetone makering5. The tones are mostly 8bit 8khz ulaw files, but with a few special headers. Ring tones do have some form of scripting allowed (for example, the GXP comes with a ring tone that reads off the caller-ID of the incoming call), however this has not been documented or reverse engineered yet (that I know of, -helix).

For classic ring tones: http://www.tikalnetworks.com/ rename the files to ring1-3

In FreePBX this can be accomplished by going to the ring group or dial plan and adding the following information to the field called alert-info.

In the field, enter ;info=ring1 be sure to include the semicolon
on the grandstream phone under advanced options, scroll down about 1/2 way and in the custom ring fields for ringer 1 type ring1 no space.

Apply changes on FreePBX, Reset Phone, Make Call, Hear new ring tone. Hope it works for ya!

To use distinctive ringing(v1.2):
Set on Advanced Settings Page of phone web interface,
Distinctive Ring Tone: Custom ring tone 1, used if incoming caller ID is:<ring name>
In Dialplan,
Use SIPAddHeader(Alert-Info: \;info=<ring name>)


Example using distinctive ringtones on GXP and Asterisk 1.2 or 1.4

Configure Grandstream GXP phone to use distinctive ringtones: enter configuration menu -> Advance Settings ->
Distinctive Ring Tone
Custom ring tone 1, used if incoming caller ID is: insert ring1
Custom ring tone 2, used if incoming caller ID is: insert ring2
Custom ring tone 3, used if incoming caller ID is: insert ring3
Also, configure dialplan to specify the ringtone to use, when dialing an internal extensions:

[context from-internal]
exten => _XX,1,NoOp(Call from internal extensions to internal extensions)
; specify the ring tone to play
; note the space before \; 
exten => _XX,n,SIPAddHeader(Alert-Info: \;info=ring1)
exten => _XX,n,Dial(SIP/${EXTEN})
...





XML Phonebook

I started a page for the XML Phonebook to discuss this function on its own.
http://www.voip-info.org/wiki/view/GXP-2000+XML+Phonebook -Shane Steinbeck (Jul17/06)

XML Idle Screen

Started web page to discuss idle screen configuration.
http://www.voip-info.org/wiki/view/GXP-2000+XML+Idle+Screen - mikeB (Jul18/06)
Created by: linker3000, Last modification: Wed 04 of Nov, 2015 (02:22 UTC) by admin
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+