GSM codes to note

GSM LogoJust for a note… some interesting hard-to-find (to-remember) GSM commands:

*35*0000*16# – Incoming SMS off (Block incoming SMS messages)
#35*0000*16# – Incoming SMS ON

Here 0000 is your Network barring password, 35 is GSM code for Barring Incoming Calls, 16 is service code for SMS.

To bar other routes use these codes instead of 35:

  • 35 – Incoming
  • 351 – Incoming If Roaming
  • 33 – Outgoing
  • 331 – Outgoing International
  • 332 – Outgoing International except Home (Effective while roaming)

You can combine barring by route with the call types of your choice. E.g. the following 4 combinations may be activated in 4 consecutive steps:
*331*0000*11# (bar outgoing international voice calls)
#331*0000*16# (while allowing outgoing international SMS)
*351*0000*16# (bar incoming SMS only in roaming)
#351*0000*11# (while allowing incoming voice calls in roaming)

BTW, Network Password is used for all types of bars (incoming and outgoing calls, SMS, faxes and so on – both in home network and while roaming) and should be changed from the default 0000 in case you intend to lend your phone or SIM card to somebody. To change Network Barring code enter:


for example:

Other quirky codes:

*61*number# – Divert if “No Answer”

To set the time-out for diverting on “no reply” condition (no pick-up) use this format:
“seconds” should be between 5 and 30 and will be rounded to the nearest 5 seconds.
This command also sets the default timeout for subsequent commands of *61*number#

##002# – Disable All Call Forwarding

*#43# – Check whether Call Waiting is On or Off

Here are common patterns for GSM codes:
*[service]# Activate [service]
**[service]# Register and activate [service]
*#[service]# Check status [service]
#[service]# Unregister [service]
##[service]# Unregister and deactivate [service]

The sequences mentioned are used in the beginning of the code, like:
*#[service]# – Check status of [service] ([service] is a numeric code of the command)
Note that all the codes (“GSM commands”) end with “#

GSM call types:
(used as an optional parameter like in *#43*10#, which is a refined version of *#43#)

*10 - All cellphone services
*11 - Speech (Voice)
*12 - Data
*13 - Fax
*16 - Short message service (SMS)
*18 - All data services without SMS
*19 - All cellphone services without SMS
*25 - All asynchronous data services

1 Star2 Stars3 Stars4 Stars5 Stars (5 votes, 4.40 of 5)

14 thoughts on “GSM codes to note

  1. thanks to your codes that has enable me to access my cell phone properly, i really apprieciate this so much.
    i would like to ask if there is anyway one can listen to other peoples conversation.the codes required how to activate and deactivate it.thanks

  2. if your code doesn’t works try with *35*1234*16#. that happened to me :)

    si tu codigo no funcionó con 0000 intenta con 1234 eso me funcionó :)

  3. Pingback: Тотальная слежка через мобильный больше не секрет •


    Nokia 6030b
    (c) Nokia
    v 5.25
    (c) Nokia.

  5. Hi

    i had used the code to block the sms but i am unable to unblock it with the above code #35*0000*16#

    it gives message as “Password error”

  6. Hey,

    I have a Samsung Android phone. Its a SM – G313H model and Android version of 4.4.2.

    Since the 06.08.2015 I have not been able to receive sms and I have called MTN several times and they gave me codes first of *330*00000*16# to use which never worked then I called again and the second agent gave me a code of *35*0000*16# again which never worked then again I called and got told they would reset my sim which never worked. I had someone checl my settings and there is nothing wrong with my settings. I cant even send myself a please call me.

    Can someone please help me to unblock this or whatever. Desperate.



Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>