GSM network codes

Some characters explained

*activate
**register and activate
*#check status
#unregister
##unregister and deactivate

The codes are used by for example writing ##002# and the pressing the key corresponding to “Send”. There are some codes where you are not supposed to press “Send”. These codes are only to be used within the phone itself and they don’t take any use of the net services.

Not all codes are functioning in all nets. It depends on what the operators have included in their software.

If a phone number is expected you should enter it in the international format e.g. +4412345687. This will always do the trick whatever net you are logged in to.

The codes are divided into different categories:
Safety
Call barring
Call forwarding/diversion
Number presentation
GSM network service codes

Safety

Command stringDescription
**03*OldCode*NewCode*NewCode#Change code for call barring
**03*330*OldCode*NewCode*NewCode#Change code for call barring
**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

Command stringDescription
**33*code#Activate barr all outgoing calls (for code see “Safety” above)
#33*code#Deactivate barr all outgoing calls
*#33#Check status of barr all outgoing calls
**330*code#Activate barr all calls
#330*code#Deactivate barr all calls
*#330*code#Check status of barr all calls
**331*code#Activate barr all outgoing international calls
#331*code#Deactivate barr all outgoing international calls
*#331*code#Check status of barr all outgoing international calls
**332*code#Activate barr all outgoing international calls except home country
#332*code#Deactivate barr all outgoing international calls except home country
*#332*code#Check status of barr all outgoing international calls except home country
**333*code#Activate barr all outgoing calls
#333*code#Deactivate barr all outgoing calls
*#333#Check status of barr all outgoing calls
**35*code#Activate barr all incoming calls
#35*code#Deactivate barr all incoming calls
*#35#Check status of barr all incoming calls
**351*code#Activate barr all incoming calls when roaming
#351*code#Deactivate barr all incoming calls when roaming
*#351#Check status of barr all incoming calls when roaming
**353*code#Activate barr all incoming calls
#353*code#Deactivate barr all incoming calls
*#353#Check status of barr all incoming calls

Call forwarding/diversion

Command stringDescription
##002#Unregister all call diversions
**004*PhoneNumber#Set all configured call diversions to PhoneNumber
##004#Unregister all configured call diversions
**21*PhoneNumber#Register and activate divert all calls to PhoneNumber
*21#Activate divert all calls
#21#Deactivate divert all calls
##21#Unregister divert all calls
*#21#Check status of divert all calls
**61*PhoneNumber#Register and activate divert on no answer to PhoneNumber
*61#Activate divert on no answer
#61#Deactivate divert on no answer
##61#Unregister divert on no answer
*#61#Check status of divert on no answer
**62*PhoneNumber#Register and activate divert on not reachable
*62#Activate divert on not reachable
#62#Deactivate divert on not reachable
##62#Unregister divert on not reachable
*#62#Check status of divert on not reachable
**67*PhoneNumber#Register and activate divert on busy
*67#Activate divert on busy
#67#Deactivate divert on busy
##67#Unregister divert on busy
*#67#Check status of divert on busy
**Function**Seconds#Delay at diversion may be altered 5-30 sek

Call waiting

Command stringDescription
*43#Activate call waiting
#43#Deactivate call waiting
*#43#Check status of call waiting

Number presentation 

The commands below will only function if the net operator has the following functions activated:

CLIP=the recipient can see the number of the caller (function of the receipent)

CLIR=the receipent can’t see the number of the caller (function of the caller)

COLP=the caller can see the real number of the receipent (function of the caller)

COLR=the caller can’t see the real number of the caller (function of the receipent)

Command stringDescription
*30#PhoneNumberActivate CLIP
#30#PhoneNumberDeactivate CLIP
*#30#Check status of CLIP
*31#PhoneNumberActivate CLIR for this call
#31#PhoneNumberDeactivate 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 servicecodes

Attention! only 11, 13 and 25 are functioning today. Maybe later you willbe able to use all these codes to monitor every single of the commandsabove by entering the service code just before the last # on the command line. If you wish to divert all data calls to another PhoneNumber, you’ll enter the command ‘*21*PhoneNumber*12#

.Phone related

Service codeCode description
10All types of phone services
11Speech service
12Data service
13Fax
14Datex-J
15Teletex
16SMS
18All data services except SMS
19All phone services except SMS

.Carrier related

Service codeCode description
20All services
21All asynchronous services
22All synchronous services
233.1kHz services
24Synchronous Point-to-Point connections
25Asynchronous Point-to-Point connections
26Data packet sending
27Services with PAD share
29Digital connection with 12 kbps