A long code number is a standard phone number used to send and receive voice calls and SMS messages. Phone numbers are typically called “long codes” (10-digit numbers in many countries) when comparing them with SMS short codes (5-6 digit numbers).
Written as AAA-BBBBBBB, where AAA is the Subscriber Trunk Dialing code (long distance code) and BBBBBBB is the phone number. The total length of the Subscriber Trunk Dialing code and the phone number is 10 digits. The Subscriber Trunk Dialing code can be from 2 digits (11 or 011) up to 4 digits long.
Mobiles: Written as AAAAA-BBBBB for ease of remembering (though the prefix is either 2-digits or 4-digits in the numbering plan). Mobile numbers which are not local need to be prefixed by a 0 while dialing, or by +91 (91 is the country code for India). A mobile number written as +91-AAAAA BBBBB is valid throughout India, and in other countries where the + is recognized as a prefix to the country code. Since 2015, calls from mobile phones to any other mobiles do not need to prefix with a 0. However, calls from landlines to non-local mobile numbers need to be prefixed with 0.
Toll Free: These are usually ten digit numbers beginning with 1-800. Sometimes they are accessible (or are toll-free) only when called from the government-owned telephone corporation, BSNL/MTNL.
Service numbers: These are usually three or four digit numbers (e.g. Police is 100) used to access an emergency service (Fire, Ambulance, Police, Roadside assistance) or a value-added service.