Get Mobile UA
Public String getuseragent ()
{
String user_agent = productproperties.get (Productproperties.user_agent_key, NULL);
return user_agent;
UA: User agent. UA is a logical entity in the SIP protocol, SIP is a signaling protocol, the meaning of the proxy is to replace the user to deal with the signaling protocol, simply to send and receive signaling information for users. Its physical entity can be SIP terminals (such as SIP soft, hard telephone terminal, SIP multimedia terminal, etc.), SIP based access network element, IAD and other devices such as network elements in the SIP network. In addition to processing signaling in the SIP system are proxy servers (proxies), redirect servers (RS), and other logical entities. UA simple refers to the user's Mobile information. Through UA, you can know the user's mobile phone type, is moto, or Sony Ericsson. It is moto which section, all can understand. According to UA, you can provide users with relevant services suitable for his machine, such as the size of the right picture, the format of the accurate ringtone. China Mobile just stopped transmitting the phone number to a small SP, but did not stop transmitting UA. There is no personalization if there is no service available to the user ua,sp. For example, when you download, you will find a smaller, not suitable for your big screen. SP in doing business, all the UA adaptation, to ensure that more machines in the acceptance or customization of this service, automatic adaptation, so as to meet the diverse needs of users.