Menu

What Happens When You Dial a USSD Code? From Selling SIM Cards to Understanding Backend Systems
πŸ“°

What Happens When You Dial a USSD Code? From Selling SIM Cards to Understanding Backend Systems

DEV Community: javascriptΒ·user49324809Β·2 days ago
#q6tgi5U1
#devtojavascript#devto#dev#command#service
Long article (817 words) β€” no AI summary yet.
Reading 0:00
15s threshold

Years ago, when I worked selling SIM cards, I regularly used a command to activate the starting balance:

*101*1111#

Back then, it was just another routine task. Now, as someone studying software development, I find myself looking at the same process from a completely different perspective.

What happens behind those few characters? Where does the request go? What happens if something breaks along the way?

To explore these questions, I built a simplified experimental model using Node.js, Express, and Termux on my Android smartphone.

1. What is USSD?

USSD stands for Unstructured Supplementary Service Data. It allows mobile devices to exchange messages with services provided through a mobile network.

Unlike an ordinary HTTP request, USSD relies on mobile network signalling mechanisms.

My experiment does not implement the actual telecommunications protocol. Instead, it uses HTTP to explore the more general principles of request routing, separation of responsibilities, and failure handling.

2.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.