Skip to main content

Grandstream provisioning

MonoPbx provisions the current Grandstream SIP range from one built-in template: desk phones, video phones, Wi-Fi phones, DECT bases and analog adapters. The general flow (device with a MAC, per-device URL, key layout) is on Desk phone provisioning.

Devices​

FamilyModelsAccountsKeys and modules
GXP16xxGXP1610, GXP1615, GXP1620, GXP1625, GXP1628, GXP16301 to 3line keys; GXP1630 also BLF keys
GXP17xxGXP1760, GXP1780, GXP17826 to 8line and BLF keys
GXP21xxGXP2130, GXP2135, GXP2140, GXP2160, GXP21703 to 12line and multi-purpose keys; GXP2200EXT modules
GRP26xxGRP2601, GRP2602, GRP2603, GRP2604, GRP2612, GRP2613, GRP2614, GRP2615, GRP2616, GRP2624, GRP2634, GRP2636, GRP2650, GRP26702 to 14virtual multi-purpose keys (VPK); GBX20 modules on the larger models
GXV33xx/34xx (Android video)GXV3350, GXV3370, GXV3380, GXV3450, GXV3470, GXV348016SIP settings only
WP8xx (Wi-Fi)WP810, WP820, WP822, WP825, WP8262 to 6none
DECTDP750 and DP752 bases with DP720, DP722, DP725 and DP730 handsets; the DP760 repeater needs nothing10 per base, up to 5 handsetsnone
HT8xx (analog adapters)HT801, HT802, HT812, HT814, HT818one per FXS portnone

PoE and Wi-Fi variants (for example GRP2601P or GRP2602W) are treated as their base model. A model not in the list is handled by its family prefix; a Grandstream phone of unknown model gets the GXP21xx file.

How the phone finds MonoPbx​

  • Files. The phone asks for cfg<mac>.xml, then cfg<mac> and sometimes cfg<mac>.bin (MAC in lower or upper case, no separators). MonoPbx answers all three with the same XML file. The shared cfg.xml is not served: it would carry no account.
  • URL. Set https://<host>/prov/<token>/ as the configuration server path (without cfg<mac>.xml), through DHCP option 66, or through Grandstream's redirect service.
  • Model. The family comes from the model recorded on the device. When none is recorded, the User-Agent of the download tells it apart, for example Grandstream Model HW GXP2135 V2.4A SW 1.0.11.16 DevId c074ad123456 or Grandstream GRP2614 1.0.5.2. Record the model on the device to be sure.

What the file sets​

ItemValue
AccountAccount 1: SIP server, user ID, authentication ID, password, display name and transport (UDP, TCP or TLS). SRTP is offered on TLS.
VoicemailThe voicemail number and the message-waiting subscription.
CodecsThe company codec order (G.722, G.711 mu-law, G.711 a-law).
TimeThe company time zone as a self-defined rule with its daylight-saving dates (for example CET-1CEST,M3.5.0,M10.5.0/3 for Madrid, CST6 for Mexico City, which has no daylight saving time). The GXV video phones take the zone name (America/Bogota). DHCP is not allowed to override the time zone or the time server.
Time serverThe company's time server, pool.ntp.org when none is set.
LanguageThe company's default language, when the phone has a screen.
Web pageThe phone's own web login when one is set for the device (see Extensions and devices); without one, the admin and user passwords are set to the phone's SIP password, so the factory password never stays.
PhonebookThe company phonebook (XML download over HTTP or HTTPS), on phones with a screen.
KeysGXP and GRP phones: BLF, speed dial and line keys, account 1. On a GXP21xx with a GXP2200EXT, keys past the phone's own continue on the module.
FirmwareThe firmware URL of a released upgrade job for the phone.
ProvisioningThe configuration server path and, when the profile uses one, the HTTP login for later downloads.

The key settings follow the key layout of firmware 1.0.9 and later. Older GXP21xx firmware uses another layout: upgrade the phone first, or edit the template.

DECT bases (DP750, DP752)​

Add the base under Device extras > DECT bases with vendor Grandstream and model DP750 or DP752, add its handsets (slots 1 to 5) and issue its URL. Enter the URL path as the base's configuration server path. Each handset slot becomes one SIP account of the base: account 1 rings and dials out on handset 1, account 2 on handset 2, and so on. Register the handsets on the base in slot order. The DP720, DP722, DP725 and DP730 handsets and the DP760 repeater need no file of their own.

Analog adapters (HT8xx)​

Add the adapter under Device extras > SIP gateways with vendor Grandstream and its model (for example HT814), bind each FXS port to an extension and issue the configuration. MonoPbx returns cfg<mac>.xml, with one registration per port, the company time zone and time server, and the web page passwords set to port 1's SIP password. Upload it in the adapter's web page or place it on your own provisioning server. The file is shown once; issuing it again rotates the passwords.

Caveats​

  • The built-in template was written from Grandstream's public configuration templates. If a parameter does not suit your firmware, edit the Grandstream template under Desk phones > Templates; the next download uses it.
  • GXV video phones and WP Wi-Fi phones get the account, time, language and phonebook settings; their own apps and keys stay as they are.
  • An HT adapter's FXO port (HT813) is not written to the file.