Default UAProf on MMSC | Search |
NowSMS Support Forums ⬆ NowSMS Support - MMS & Advanced Issues ⬆ Archive through October 19, 2007 ⬆ |
◄ ► |
Author | Message | |||
Syed Anvery New member Username: Gsmtester Post Number: 1 Registered: 06-2007 |
I had a question about accessing the Default UAProf on the MMSC when the Dynamic Reshaping and conversion of content option is enabled | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 7283 Registered: 10-2002 |
Hi, I assume that you are referring to a configuration when NowSMS is used as the MMSC, correct? By default, there is none. I did a search, and found the following thread: http://support.nowsms.com/discus/messages/12/419.html That thread is a few years old, but it looks like the information should still apply. The feature mentioned in the last message of that thread was added. The UAProf subdirectory contains cached UAProf files. Each time NowSMS encounters a different "Profile" (or "X-WAP-Profile") header from a client that is retrieving an MMS message from the MMSC, it tries to download the UAProf file and caches a copy of it in the UAProf directory for future reference. (The UAProf reference in the Profile header is a URL pointer to a location from which the actual UAProf file can be downloaded.) During this process, NowSMS builds a UAPROF.INI file that equates the remote URLs with locally cached file names. When a "Profile" header is not present, the MMSC can automatically select a local UAProf file based upon the "User-Agent" header. There is a configuration file in the UAProf directory called UAMAP.INI which defines "User-Agent" to UAProf mappings. In a default configuration there are 2 entries in this file ... basically because the very first MMS compatible phones from Nokia did not send a "Profile" header ... so we manually created some simple ones to meet the needs of the MMSC. As mentioned in the thread that I referenced above, a special entry can be added to UAMAP.INI ... *=filename.xml ... which says to use filename.xml as a default UAProf. As I review all of this ... note, however ... that this logic is not all perfect. If a "Profile:" header is present, and the URL cannot be accessed, then the MMSC will not use the default UAProf. It will only use the default UAProf if no "Profile" header is present. -bn |