Platform Guide

Grandstream SIP Configuration

8 min read  ·  Updated April 2026

Grandstream is the most widely deployed IP phone brand globally. Getting SIP configuration right on Grandstream devices — GXP, GXV, HT ATA series — requires attention to NAT settings, codec order, and DTMF mode. Here is the complete configuration guide.

SIPSymposium is an independent platform not affiliated with or endorsed by any product or company mentioned in this guide.

In this guide

1. Account registration setup

Grandstream device web UI is accessed at the device IP address (default admin/admin). Navigate to Account 1 (or the relevant account):

SettingValueNotes
Account ActiveYesMust be enabled
SIP ServerYour PBX or provider hostname/IPUse FQDN not IP where possible
SIP User IDExtension number or usernameWhat you register as
Authenticate IDAuth username (may differ from SIP ID)Check with provider
Authenticate PasswordYour SIP passwordCase sensitive
SIP RegistrationYesEnable registration
Register Expiration60 (minutes)Most providers accept 60

After saving, check the Account Status on the main Status page — it should show "Registered" with the registration server IP. If it shows "Trying" or an error, check credentials and server address.

2. NAT and network settings

Navigate to Advanced Settings (or Network Settings on newer firmware):

SettingRecommendedNotes
NAT TraversalKeep-AliveSends keepalives to maintain NAT binding
STUN Serverstun.l.google.com:19302Use if behind NAT without SBC
Use NAT IPYour public IPOnly if STUN not available
SIP Local Port5060Standard port
Local RTP Port5004Starting port for RTP

If the phone is behind a corporate firewall or NAT and calls have one-way audio, set NAT Traversal to STUN and configure the STUN server. If using an SBC or hosted PBX that handles NAT, set to Keep-Alive only.

3. Codec and audio configuration

Navigate to Account 1 → Codec Settings:

PriorityCodecUse case
1stPCMU (G.711u)Maximum compatibility, no compression
2ndPCMA (G.711a)European standard G.711
3rdG.722HD audio, same bandwidth as G.711
4th (optional)G.729Low bandwidth, less quality

Set ptime (packetization time) to 20ms. Some providers require specific ptime values — mismatched ptime causes audio quality issues even when codecs match.

Enable VAD (Voice Activity Detection) / Silence Suppression only if your provider and PBX both support comfort noise generation. Enabling VAD without CNoise support causes clipping at the start of speech.

4. DTMF configuration

Navigate to Account 1 → DTMF:

SettingRecommendedNotes
DTMF ModeRFC2833Most reliable — use for almost all cases
DTMF Payload Type101Standard telephone-event payload

Never use in-band DTMF if G.729 is the active codec — compression destroys tone accuracy. SIP INFO DTMF is a legacy fallback that works but requires proxy support.

5. Firmware and provisioning

Manual firmware upgrade

  1. Download firmware from Grandstream support portal (grandstream.com/support)
  2. Device web UI → Maintenance → Upgrade and Provisioning
  3. Set Upgrade Via to HTTP and enter firmware server URL, or use local upload
  4. Click Start Provision or Reboot and Upgrade

Auto-provisioning with TFTP/HTTP

; Provision via DHCP option 66 (TFTP server) ; Or manually set in device: Maintenance → Config File Download ; Config file naming format: ; cfgXXXXXXXXXXXX.xml (MAC address based) ; cfg.xml (global config) ; Grandstream config file example <config version="1"> <SIP_REGISTER_URI>sip.example.com</SIP_REGISTER_URI> <USER_ID>1001</USER_ID> <AUTHENTICATE_PASSWORD>password</AUTHENTICATE_PASSWORD> <CODEC_PRIORITY_0>0</CODEC_PRIORITY_0> <!-- PCMU --> </config>

6. Troubleshooting Grandstream SIP issues

Issue 01
Phone shows "No Service" or keeps trying
Check SIP Server address — use nslookup on the hostname to verify DNS resolution. Verify credentials. Check that UDP 5060 is not blocked by firewall between phone and server. Enable syslog on the phone (Maintenance → Syslog) and check for error messages.
Issue 02
Registered but one-way audio
NAT issue. Enable STUN or set Use NAT IP to your public IP. If behind corporate NAT, check with network team for symmetric NAT — may need SBC. Verify RTP port range (default 5004-5082) is open on firewall.
Issue 03
DTMF not working on IVR
Change DTMF mode to RFC2833 with payload type 101. If still failing, try SIP INFO. Never use in-band DTMF with G.729. Verify the PBX is also configured for RFC2833.

Enable Grandstream syslog for debugging

; Device web UI: Maintenance → Syslog ; Set Syslog Server: your-server-ip ; Set Syslog Level: DEBUG ; Capture with: nc -ul 514 (Linux) ; Or use the built-in packet capture ; Maintenance → Packet Capture ; Start capture, reproduce issue, download PCAP

Frequently asked questions

How do I configure SIP on a Grandstream phone?

In the Grandstream device web UI (navigate to device IP, login admin/admin), go to Account 1 and set: SIP Server to your PBX hostname or IP, SIP User ID to your extension, Authenticate ID and Password to your credentials. Enable registration and set Register Expiration to 60 minutes. Save and check the Status page for "Registered" status.

Why does my Grandstream phone have one-way audio?

One-way audio on Grandstream phones is a NAT issue. The phone is advertising its private IP in the SDP. Fix by enabling STUN in Advanced Settings and setting STUN Server to stun.l.google.com:19302. If behind corporate NAT, set Use NAT IP to your public IP. If using a hosted PBX or SBC that handles NAT, just set NAT Traversal to Keep-Alive.

What DTMF mode should I use on Grandstream phones?

Set DTMF Mode to RFC2833 with payload type 101 on all Grandstream phones. RFC2833 is the most reliable method and works with all codecs including G.729. Never use in-band DTMF with G.729 as compression destroys the tones. SIP INFO works as a fallback but requires your SIP proxy to pass INFO messages end-to-end.

Troubleshooting a Grandstream SIP issue?

Capture SIP from your Grandstream device (Maintenance → Packet Capture) and upload to SIPSymposium for automated analysis of registration, codec, and DTMF issues.

Analyze my trace Create free account
Related guides