Grandstream - Common Overrides

Grandstream uses P codes for their configurations, which means the parameter for each config line is the letter "P" followed by an ID.

This article is not a comprehensive list of all Grandstream P Codes, please see here for full P Code documentation.

Change Admin Password

The below will let you set what the admin password for the phone is, this is used to made advanced changes or log into the phone's web GUI.

WARNING - If changing the admin password as well as leaving the Web Interface enabled, ensure to use a strong password. Weak admin password's can put you at risk of toll fraud.

P2="<New Password Here>"

Wallpaper Branding GXP2130 & GXP2135

P2917="https://yourdomain.com/yourwallpaper.jpg"
P2916="1"

Wallpaper Branding GXP2140 & GXP2160

P2917="https://yourdomain.com/yourwallpaper.jpg"
P2916="1"

Custom Dial Plan

Change the dial plan,  the default dial plan is listed below:

{10[0-1]|11[1-2]|155|195|999|11[68]xxx|1471|157[1-2]|08001111|0845464x|0[1235789]xxxxxxxxx|00xxx+|x+|*x+|*xx*x+|*x+*|*xxx#|#xx#|#xxx#}
P4200=<dial plan>

 

Protection from SIP Scanners

Accept Incoming SIP from Proxy Only. 0 - No, 1 - Yes. Default is 0

P2347="1"

Use Random Port

Use Random Port. 0 - No, 1 - Yes. Default is 0, Mandatory

P78="1"

Screensaver Settings

Screensaver. 0 - No, 1 - Yes. Default is 1

P2918="0"

Auto Answer by Department

Allow Auto Answer by Call-Info. 0 - No, 1 - Yes. Default is 0

P298="1"

Custom Call-Info for Auto Answer.

P2356="internal"

Line Mode and Account Mode

Key Mode. 1 - Line Mode, 2 - Account Mode. Default is 1

P8369="1"

Jitter Buffer

Jitter Buffer Type. 0 - Fixed, 1 - Adaptive. Default is 1

P133="1"

Jitter Buffer Length. 0 - 100ms, 1 - 200ms, 2 - 300ms, 3 - 400ms, 4 - 500ms, 5 - 600ms, 6 - 700ms, 7 - 800ms, Default is 2

P132="2"

Manually Set NTP Server

Allow DHCP Option 42 to override NTP server. 0 - No, 1 - Yes. Default is 1

P144="0"

Manually Set Time Zone

Allow DHCP Option 2 to override Time Zone setting. 0 - No, 1 - Yes. Default is 1 

P143="0"

Local Call Features

Local Call Feature 0-disable 1-enable default is 0. 

P191="0"

Directed Call Pickup w/BLF Keys

Force BLF Call-pickup by prefix. 0 - No, 1 - Yes. Default is 0

P6752="1"

BLF Call-pickup Prefix. Default is **

P1347="*35"

 

Set MPK Keys - For firmware 1.0.8.xx and lower only

Replace x with the prefix of the extension numbers. I.e. x01 to 101.

Key Mode, Account, String, User ID

Key Mode.

0 - Speed Dial, 1 - BLF, 2 - Presence Watcher, 3 - eventlist BLF

4 - Speed Dial via active account, 5 - DialDTMF, 6 - Voicemail, 7 - CallReturn

8 - Transfer, 9 - CallPark, 10 - Intercom, 11 - LDAP Search, 13 - Multicast Paging

14 - Record

Number: 0-11, 13, 14

 

Account. 0 - Account 1, 1 - Account 2, 2 - Account 3, 3 - Account 4, 4 - Account 5, 5 - Account 6

Number: 0, 1, 2, 3, 4, 5

Mandatory

MPK 1

P323="1"
P301="0"
P302="x00"
P303="x00"

MPK 2

P324="1"
P304="0"
P305="x01"
P306="x01"

MPK 3

P325="1"
P307="0"
P308="x02"
P309="x02"

MPK 4

P326="1"
P310="0"
P311="103"
P312="103"

MPK 5

P327="1"
P313="0"
P314="x04"
P315="x04"

MPK 6

P328="1"
P316="0"
P317="x05"
P318="x05"

MPK 7

P329="1"
P319="0"
P320="x06"
P321="x06"

MPK 8

P353="1"
P354="0"
P355="x07"
P356="x07"

MPK 9 - MPK 24 - GXP2160 only

MPK 9

P357="1"
P358="0"
P359="x08"
P360="x08"

MPK 10

P361="1"
P362="0"
P363="x09"
P364="x09"

MPK 11

P365="1"
P366="0"
P367="x10"
P368="x10"

MPK 12

P369="1"
P370="0"
P371="x11"
P372="x11"

MPK 13

P373="1"
P374="0"
P375="x12"
P376="x12"

MPK 14

P377="1"
P378="0"
P379="x13"
P380="x13"

MPK 15

P381="1"
P382="0"
P383="x14"
P384="x14"

MPK 16

P385="1"
P386="0"
P387="x15"
P388="x15"

MPK 17

P389="1"
P390="0"
P391="x16"
P392="x16"

MPK 18

P393="1"
P394="0"
P395="x17"
P396="x17"

MPK 19

P1440="1"
P1441="0"
P1442="x18"
P1443="x18"

MPK 20

P1444="1"
P1445="0"
P1446="19"
P1447="19"

MPK 21

P1448="1"
P1449="0"
P1450="x20"
P1451="x20"

MPK 22

P1452="1"
P1453="0"
P1454="x21"
P1455="x21"

MPK 23

P1456="1"
P1457="0"
P1458="x22"
P1459="x22"

MPK 24

P1460="1"
P1461="0"
P1462="x23"
P1463="x23"

Set MPK Keys - For firmware 1.0.9.xx and higher only

Load the file below into Notepad or Notepad++. Replace x with the prefix of the extension numbers. I.e. x01 to 101.

# Key Mode, Account, String, User ID

# Key Mode.

# -1 - None, 0 - Line, 1 - shared line,10 - Speed Dial, 11 - BLF, 12 - Presence Watcher, 13 - Eventlist BLF, 14 - Speed Dial via active account, 15 - DialDTMF,

# 16 - Voicemail, 17 - CallReturn, 18 - Transfer, 19 - CallPark, 20 - Intercom, 21 - LDAP Search, 23 - Multicast Paging, 24 - Record, 25 - Call Log

# 26 - Monitored Call Park, 27 - Menu

# Number: -1, 0,1,10-21,23-27

# Mandatory

 

# Account. 0 - Account 1, 1 - Account 2, 2 - Account 3, 3 - Account 4, 4 - Account 5, 5 - Account 6

# Number: 0, 1, 2, 3, 4, 5

# Mandatory

 MPK 1

P1364="0"
P1363="0"
P1466="x00"
P1465="x00"

MPK 2

P1366="0"
P1365="11"
P1468="x01"
P1467="x01"

MPK 3

P1368="0"
P1367="11"
P1470="x02"
P1469="x02"

MPK 4

P1370="0"
P1369="11"
P1472="x03"
P1471="x03"

MPK 5

P1372="0"
P1371="11"
P1474="x04"
P1473="x04"

MPK 6

P1374="0"
P1373="11"
P1476="x05"
P1475="x05"

MPK 7

P23801="0"
P23800="11"
P23803="x06"
P23802="x06"

MPK 8

P23805="0"
P23804="11"
P23807="x07"
P23806="x07"

MPK 9

P23809="0"
P23808="11"
P23811="x08"
P23810="x08"

MPK 10

P23813="0"
P23812="11"
P23815="x09"
P23814="x09"

MPK 11

P23817="0"
P23816="11"
P23819="x10"
P23818="x10"

MPK 12

P23821="0"
P23820="11"
P23823="x11"
P23822="x11"

MPK 13

P23821="0"
P23820="11"
P23823="x11"
P23822="x11"

MPK 14

P23829="0"
P23828="11"
P23831="x13"
P23830="x13"

MPK 15

P23833="0"
P23832="11"
P23835="x14"
P23834="x14"

MPK 16

P23837="0"
P23836="11"
P23839="x15"
P23838="x15"

MPK 17

P23841="0"
P23840="11"
P23843="x16"
P23842="x16"

MPK 18

P23845="0"
P23844="11"
P23847="x17"
P23846="x17"

MPK 19

P23849="0"
P23848="11"
P23851="x18"
P23850="x18"

MPK 20

P23853="0"
P23852="11"
P23855="x19"
P23854="x19"

MPK 21

P23857="0"
P23856="11"
P23859="x20"
P23858="x20"

MPK 22

P23861="0"
P23860="11"
P23863="x21"
P23862="x21"

MPK 23

P23865="0"
P23864="11"
P23867="x22"
P23866="x22"

MPK 24

P23869="0"
P23868="11"
P23871="x23"
P23870="x23"

Enable Attended Transfer

P1376="1"