Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8119101
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T04:42:07+00:00 2026-06-06T04:42:07+00:00

Are there any HTTP headers one can use to detect a mobile users number

  • 0

Are there any HTTP headers one can use to detect a mobile users number other than this X-header x-up-calling-line-id ?

I want to detect from all browsers as much as possible to cover all platform mobiles.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T04:42:09+00:00Added an answer on June 6, 2026 at 4:42 am

    I will give you the exact same answer I gave to a very similar question as it should provide some insight into what you are trying to achieve.

    The ability to get the MSISDN of the user visiting the WAP site depends on a number of things.

    Firstly, the user has to be on Mobile Data. If the user is on WiFi then you will not receive this information.

    Secondly, the users mobile network has to support the passing of the MSISDN in the HTTP headers.

    Some mobile networks send headers on all requests. Others only send if going through a specific APN. Some only send this header to specific IP addresses/blocks. I have even come across networks that send the MSISDN as a $_GET variable. You will need to check with each network that you intend to support.

    For example, a particular network in South Africa used to send MSISDNs in headers until around 6 months ago, and in order to receive the MSISDN in the headers now your server address needs to be whitelisted with them.

    Also remember that headers are very easy to spoof, and shouldn’t be relied on unless you are guaranteed that you are the originator of the HTTP request, such as in instances where you are using Web Views inside of Android Applications – you would need to put sufficient measures in place yourself.

    With all of that in mind, here is what you should be looking for:

    Look through your headers for any of the following. This is not a comprehensive list of MSISDN headers at all, they are only the ones I have come across in my adventures in mobile development.

    • X-MSISDN
    • X_MSISDN
    • HTTP_X_MSISDN
    • X-UP-CALLING-LINE-ID
    • X_UP_CALLING_LINE_ID
    • HTTP_X_UP_CALLING_LINE_ID
    • X_WAP_NETWORK_CLIENT_MSISDN

    What I do is run through the headers looking for any matches. If I don’t find any matches I run through the headers again using a country-specific MSISDN regex against the values to see if there are any potential MSISDNs in the headers on keys that I do not know about. If I find a potential match I add the key and data to a list that I can go through later in order to add to my list of known MSISDN headers.

    I hope this has bought some clarity. What is most important to remember is that this is not a reliable method for getting an MSISDN.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any HTTP-headers or meta-tags one can use to avoid getting a URL
Is there any themes for emacs which looks like this one? http://www.lnbogen.com/VisualStudioNet2005Colors.aspx
Is there any way to set the HTTP header fields of a HTML form
Is there any javascript function, to parse the first line of the http header?
Is there any way to use an Adobe AIR application as a local http
Is there any way to pass HTTP AUTH username and password along with an
Is there any way to easily make a HTTP request with C++? Specifically, I
Is there any way to get the HTTP response code that will be sent
Is there any way to access a movie plaing in VLC through HTTP in
IIS6 http compression with ASP.NET: is there any disadvantage especially when using ajax updatepanel

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.