GSM Network Codes
Standard codes you dial on your mobile phone to activate, cancel and check call forwarding, call barring, call waiting and caller-ID presentation — directly with your mobile network.
How to use the codes
Dial the code (for example ##002#) and press the call key. When a phone number is required, enter it in international format, e.g. +12025550123 — this works on any network. Not every code is supported on every network; it depends on your mobile operator.
Tip: to forward your mobile to your PBXme virtual number, use the call-forwarding codes below with your PBXme number as the destination.
| Symbol | Meaning |
|---|---|
| * | Activate |
| ** | Register and activate |
| *# | Check status |
| # | Deactivate |
| ## | Unregister and deactivate |
Security
| Code | Description |
|---|---|
| **03*OldCode*NewCode*NewCode# | Change call-barring code |
| **03*330*OldCode*NewCode*NewCode# | Change call-barring code |
| **04*OldPIN*NewPIN*NewPIN# | Change PIN code |
| **042*OldPIN2*NewPIN2*NewPIN2# | Change PIN2 code |
| **05*PUK*NewPIN*NewPIN# | Unlock PIN code |
| **052*PUK2*NewPIN2*NewPIN2# | Unlock PIN2 code |
| *#06# | Show the IMEI number |
Call barring
Replace code with your call-barring code (see Security).
| Code | Description |
|---|---|
| **33*code# | Activate barring of all outgoing calls |
| #33*code# | Deactivate barring of all outgoing calls |
| *#33# | Check status of outgoing-call barring |
| **330*code# | Activate barring of all calls |
| #330*code# | Deactivate barring of all calls |
| *#330*code# | Check status of all-call barring |
| **331*code# | Activate barring of outgoing international calls |
| #331*code# | Deactivate barring of outgoing international calls |
| *#331*code# | Check status of international-call barring |
| **332*code# | Activate barring of international calls except to home country |
| #332*code# | Deactivate barring of international calls except to home country |
| *#332*code# | Check status of international barring except home country |
| **333*code# | Activate barring of all outgoing calls |
| #333*code# | Deactivate barring of all outgoing calls |
| *#333# | Check status of outgoing-call barring |
| **35*code# | Activate barring of all incoming calls |
| #35*code# | Deactivate barring of all incoming calls |
| *#35# | Check status of incoming-call barring |
| **351*code# | Activate barring of incoming calls when roaming |
| #351*code# | Deactivate barring of incoming calls when roaming |
| *#351# | Check status of incoming barring when roaming |
| **353*code# | Activate barring of all incoming calls |
| #353*code# | Deactivate barring of all incoming calls |
| *#353# | Check status of incoming-call barring |
Call forwarding
Replace PhoneNumber with the destination number in international format.
| Code | Description |
|---|---|
| ##002# | Cancel all call forwarding |
| **004*PhoneNumber# | Set all conditional forwarding to PhoneNumber |
| ##004# | Cancel all conditional forwarding |
| **21*PhoneNumber# | Register and activate: forward all calls |
| *21# | Activate forward all calls |
| #21# | Deactivate forward all calls |
| ##21# | Unregister forward all calls |
| *#21# | Check status of forward all calls |
| **61*PhoneNumber# | Register and activate: forward on no answer |
| *61# | Activate forward on no answer |
| #61# | Deactivate forward on no answer |
| ##61# | Unregister forward on no answer |
| *#61# | Check status of forward on no answer |
| **62*PhoneNumber# | Register and activate: forward when unreachable |
| *62# | Activate forward when unreachable |
| #62# | Deactivate forward when unreachable |
| ##62# | Unregister forward when unreachable |
| *#62# | Check status of forward when unreachable |
| **67*PhoneNumber# | Register and activate: forward when busy |
| *67# | Activate forward when busy |
| #67# | Deactivate forward when busy |
| ##67# | Unregister forward when busy |
| *#67# | Check status of forward when busy |
| **Function**Seconds# | Change the ring delay before forwarding (5–30 seconds) |
Call waiting
| Code | Description |
|---|---|
| *43# | Activate call waiting |
| #43# | Deactivate call waiting |
| *#43# | Check status of call waiting |
Number presentation
These codes work only if your mobile operator supports the following services:
- CLIP — the recipient sees the caller’s number.
- CLIR — the recipient does not see the caller’s number.
- COLP — the caller sees the recipient’s real number.
- COLR — the caller does not see the recipient’s real number.
| Code | Description |
|---|---|
| *30#PhoneNumber | Activate CLIP |
| #30#PhoneNumber | Deactivate CLIP |
| *#30# | Check status of CLIP |
| *31#PhoneNumber | Activate CLIR for this call |
| #31#PhoneNumber | Deactivate CLIR for this call |
| *#31# | Check status of CLIR |
| *76# | Activate COLP |
| #76# | Deactivate COLP |
| *#76# | Check status of COLP |
| *77# | Activate COLR |
| #77# | Deactivate COLR |
| *#77# | Check status of COLR |
GSM network service codes
Note: on most networks today only service codes 11, 13 and 25 are active. Add a service code just before the final # of a command — for example, to forward all data calls: *21*PhoneNumber*12#
| Service code | Telephony services |
|---|---|
| 10 | All telephony services |
| 11 | Voice calls |
| 12 | Data services |
| 13 | Fax |
| 16 | SMS |
| 18 | All data services except SMS |
| 19 | All telephony services except SMS |
| Service code | Bearer services |
|---|---|
| 20 | All services |
| 21 | All asynchronous services |
| 22 | All synchronous services |
| 24 | Synchronous point-to-point connections |
| 25 | Asynchronous point-to-point connections |
| 26 | Packet data transfer |
Forward your mobile to a virtual number
Get a local number in 145 countries with a full PBX included — then forward your mobile to it with the codes above.
