<p>How to get the phone number of the device in Symbian?</p>

[{'answer_id': 60462, 'author': 'prakash', 'author_id': 123, 'author_profile': 'https://Stackoverflow.com/users/123', 'pm_score': 1, 'selected': False, 'text': '<p>FYI: Actually i have found this.</p>\n\n<p><a href="http://www3.symbian.com/faq.nsf/AllByDate/100335073FFD8FEF80256E3200571A49?OpenDocument" rel="nofollow noreferrer">http://www3.symbian.com/faq.nsf/AllByDate/100335073FFD8FEF80256E3200571A49?OpenDocument</a></p>\n\n<p>But the fact is, the phone number is not always stored in SIM. The operator chooses to do it or not!</p>\n'}, {'answer_id': 60465, 'author': 'Till', 'author_id': 2859, 'author_profile': 'https://Stackoverflow.com/users/2859', 'pm_score': 0, 'selected': False, 'text': '<p>You can\'t. Afaik.</p>\n\n<p>Check this discussion:\n<a href="http://discussion.forum.nokia.com/forum/showthread.php?t=65117" rel="nofollow noreferrer">http://discussion.forum.nokia.com/forum/showthread.php?t=65117</a></p>\n'}, {'answer_id': 93735, 'author': 'Pat', 'author_id': 238, 'author_profile': 'https://Stackoverflow.com/users/238', 'pm_score': 4, 'selected': True, 'text': '<p>According to the GSM specs, only the <a href="http://en.wikipedia.org/wiki/IMSI" rel="nofollow noreferrer">IMSI</a> is required to be available on the <a href="http://en.wikipedia.org/wiki/Subscriber_Identity_Module#Data" rel="nofollow noreferrer">SIM</a> card.</p>\n\n<p>The actual phone number <a href="http://en.wikipedia.org/wiki/MSISDN" rel="nofollow noreferrer">MSISDN</a> is stored on the <a href="http://en.wikipedia.org/wiki/GSM_core_network#Home_Location_Register_.28HLR.29" rel="nofollow noreferrer">HLR</a> database in the operator\'s network  and does not need to be available on the SIM card or transmitted to the phone.</p>\n\n<p>So no matter what technology you are using (Symbina, Java ...) you can never count on being able to consistently get your own phone number from the device or SIM. You might be lucky if the operator stores it on the SIM or if the phone  provides the user with a possibility to enter it manually, but it does not have to be this way.</p>\n'}, {'answer_id': 135485, 'author': 'Airsource Ltd', 'author_id': 18017, 'author_profile': 'https://Stackoverflow.com/users/18017', 'pm_score': 0, 'selected': False, 'text': "<p>It is not generally possible to get the MSISDN from a Symbian device (or BREW, or any other platform). We've tried.</p>\n"}, {'answer_id': 187417, 'author': 'KevinD', 'author_id': 26497, 'author_profile': 'https://Stackoverflow.com/users/26497', 'pm_score': 2, 'selected': False, 'text': '<p>As Pat has said, although there are APIs for accessing the "own number" slot on the SIM, rarely in my experience is this slot filled.</p>\n\n<p>The usual strategy for obtaining the phone number for a connected application is to send an SMS as part of a verification process. Either:</p>\n\n<ol>\n<li><p>Programatically send an SMS from the handset to your server (lots of good SMS gateway interconnect providers out there). The SMS will arrive at your server \'from\' the number of the handset (or the SIM to be more correct). Of course the SMS should contain some token so the server can link it with a given session/user.\nThis has the advantage that you don\'t need the user to enter their own phone number (which is fraut with subtle difficulties given few folks understand how to format numbers in E.164 format). One disadvantage is that the process can cost your user money (one SMS).</p></li>\n<li><p>Have the user enter their phone number (web site or on the handset) and connect to your server, passing that phone number. Have the handset then wait for an SMS to arrive that you send from your server. If this SMS does indeed arrive, you have verified the phone number they entered as correct and valid. Obvious disadvantage is that this relies on the user to enter their number correctly - again, given the plethora of ways of writing phone numbers around the world, its not as trivial as it sounds to normalise numbers to E.164....</p></li>\n</ol>\n\n<p>Alas, neither of these methods are bullet-proof, particularly because SMS is an unconnected transport. Depending on GSM network load, the load of your gateway provider, phase of the moon and direction of window blowing an SMS can take a second to a month to arrive (yes, I do have experience of the latter). The mean delivery time is often in the seconds, but you do have to play with the operation timeout and might have to tweak it on a geographical and GSM network basis.\n[And no, don\'t rely on delivery reports - even more unreliable than SMS delivery]</p>\n'}]
['https://Stackoverflow.com/questions/60461', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/123/']