I have heard that when you make a HTTP connection through the carrier's proxy, the carrier might insert the phone number in the HTTP header. If this is true, you can have a servlet that bounces the phone number back to the MIDlet. Does anyone know whether this is workable? Thanks.
Some carriers insert the MSISDN (phone number) into a HTTP header, but there are several but's, including:
Not all operators do this (some won't publish the MSISDN at all to the service provider, some publish a "session ID" which they themselves can map to the MSISDN but which is useless for the service provider)
Every operator uses a different header name (most just use the default MSISDN header of their selected gateway product but every product has a different default...)
Some carriers require you to pre-register the URLs to which their gateway adds the MSISDN header
[ June 17, 2004: Message edited by: Lasse Koskela ]