USSD

Unstructured Supplementary Service Data

Unstructured Supplementary Service Data

Communications protocol


Unstructured Supplementary Service Data (USSD), sometimes referred to as "quick codes" or "feature codes", is a communications protocol used by GSM cellular telephones to communicate with the mobile network operator's computers. USSD can be used for WAP browsing, prepaid callback service, mobile-money services, location-based content services, menu-based information services, and as part of configuring the phone on the network.[1] The service does not require a messaging app, and does not incur charges.[2]

USSD on a Sony Ericsson mobile phone (2005)

USSD messages are up to 182 alphanumeric characters long. Unlike short message service (SMS) messages, USSD messages create a real-time connection during a USSD session. The connection remains open, allowing a two-way exchange of a sequence of data. This makes USSD faster than services that use SMS.[1]

While GSM is being phased out in the 2020s with 2G and 3G technologies, USSD services can be supported over LTE, 5G, and IMS.

Uses

When a user sends a message to the phone company network, it is received by a computer dedicated to USSD. The computer's response is sent back to the phone, generally in a basic format that can easily be seen on the phone display. Messages sent over USSD are not defined by any standardization body, so each network operator can implement whatever is most suitable for its customers.

USSD can be used to provide independent calling services such as a callback service (to reduce phone charges while roaming), enhance mobile marketing capabilities or interactive data services.

USSD is commonly used by prepaid GSM cellular phones to query the available balance. The vendor's "check balance" application hides the details of the USSD protocol from the user. On some pay as you go networks, such as Tesco Mobile, once a user performs an action that costs money, the user sees a USSD message with their new balance. USSD can also be used to refill the balance on the user's SIM card and to deliver one-time passwords or PIN codes.

Some operators use USSD to provide access to real-time updates from social-networking websites including Facebook and Twitter.[3] Between 2012 and 2018, the Wikipedia Zero project provided access to Wikipedia articles via USSD.[4]

USSD is sometimes used in conjunction with SMS. The user sends a request to the network via USSD, and the network replies with an acknowledgement of receipt:

"Thank you, your message is being processed. A message will be sent to your phone."

Subsequently, one or more mobile terminated SMS messages communicate the status and/or results of the initial request.[5] In such cases, SMS is used to "push" a reply or updates to the handset when the network is ready to send them.[6] In contrast, USSD is used for command-and-control only.

Technical details

Most GSM phones have USSD capability.[7] USSD is generally associated with real-time or instant messaging services. An SMSC is not present in the processing path, so that the store-and-forward capability supported by other short-message protocols such as SMS is not available.

USSD Phase 1, as specified in GSM 02.90, only supports mobile-initiated ("pull") operations.[8] In the core network, the message is delivered over MAP, USSD Phase 2, as specified in GSM 03.90.[9] After entering a USSD code on a GSM handset, the reply from the GSM operator is displayed within a few seconds.

While GSM is being phased out in the 2020s with 2G and 3G, a solution is available for supporting USSD services directly from the LTE/5G/IMS network, providing a similar user experience as in GSM.[10]

Format

A USSD message typically starts with an asterisk symbol (*) or a hash symbol (#) and is terminated with a hash symbol (#). A typical message comprises digits for commands or data; groups of digits may be separated by additional asterisks.[1]

USSD mode

Mobile-initiated

  • USSD/ PULL or USSD/ P2A
  • when the user dials a code, e.g. *139# from a GSM mobile handset

Network-initiated

  • USSD/ PUSH or USSD/A2P
  • when the user receives a push message from the network; primarily used for promotional services
More information Example USSD codes ...

Man-Machine Interface

The codes below are not USSD codes, these are the related Man-Machine Interface (MMI); they are standardized so they are the same on every GSM phone. They are interpreted by the handset first before a corresponding command (not the code itself) is sent to the network. These codes might not always work when using an AT interface; there are standard AT commands defined for each of these actions instead.[11][12]

BS is the type of bearer service, some valid values are:

  • 11 for voice
  • 13 for fax
  • 16 for SMS (only valid for barring)
  • 25 for data
  • <leave blank> for all.

T is number of seconds for the No Reply Condition Timer, default is 20 seconds if not specified.

More information Code, Function ...

See also


References

  1. "Unstructured Supplementary Services Data (USSD)". Telecom Space. Archived from the original on March 3, 2021. Retrieved August 23, 2010.
  2. Scard, Jen (12 July 2022). "What is USSD?". Wireless Logic.
  3. Wadhwa, Kul (22 February 2013). "Getting Wikipedia to the people who need it most". Wikimedia blog. Wikimedia Foundation. (Page now obsolete and invalid.)
  4. "Monitor usage on your phone". AT&T Residential Wireless Support. Archived from the original on 11 May 2012. Retrieved 14 May 2012.
  5. "Manage your account". AT&T Residential Wireless Support. AT&T. Retrieved 11 May 2013.
  6. "Windows Phone 7 doesn't support USSD". Microsoft Answers. 8 February 2012. Archived from the original on 3 July 2012.
  7. "GSM 02.90 (ETSI TS 100 625, V7.0.0) Specification (USSD) – Stage 1". 3gpp.org. 3rd Generation Partnership Project. Retrieved 11 May 2013.
  8. "GSM 03.90 (ETSI TS 100 549, V7.0.0) Specification (USSD) – Stage 2". 3gpp.org. 3rd Generation Partnership Project. Retrieved 11 May 2013.
  9. Kulkarni, Ajay (10 December 2020). "The Future of USSD in the Telecommunications space". Comviva.

Share this article:

This article uses material from the Wikipedia article USSD, and is written by contributors. Text is available under a CC BY-SA 4.0 International License; additional terms may apply. Images, videos and audio are available under their respective licenses.