Uaprofile logging!

Uaprofile logging! SearchSearch
Author Message
Gonzalo Escuder
New member
Username: Gdescuder

Post Number: 22
Registered: 06-2010
Posted on Monday, July 19, 2010 - 04:32 pm:   

Hi Des,

is it possible to log UAProfile used by the client?
I'm being required to have this information for our MMSC solution.

Thank you,
Best regards,
Gonzalo
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2359
Registered: 08-2008
Posted on Friday, July 23, 2010 - 07:53 pm:   

Hi Gonzalo,

I had to run this by our engineering team.

There are two ways that you could extract this information.

While the MMSC does not log this information in any of its log files, the NowWAP Proxy does log the "User-Agent:" string in its request logs. You could parse those logs to track the "User-Agent:" string from a client.

Additionally, there is a way to pass the "User-Agent:" and/or "Profile:" / "X-WAP-Profile:" header to the MMS Accounting Callbacks, which would allow your accounting callbacks to see the device type that is connecting to the MMSC.

The article at the following link describes this capability:

http://blog.nowsms.com/2010/04/operator-mmsc-accounting-detecting.html

The article doesn't specifically address these specific headers, it talks about other headers.

However, if you added this to the [MMSC] section of MMSC.INI:

AccountingExtraHeaders=User-Agent,X-WAP-Profile,Profile

Then NowSMS would append these header values to the MMS Accounting callback URLs:

&User-Agent=xxxxxx&X-WAP-Profile=xxxxxx&Profile=XXXXX

(There is some discrepancy regarding the Profile and X-WAP-Profile headers. WAP 1.x devices generally use the Profile header, while WAP 2.x devices use the X-WAP-Profile header.)

--
Des
NowSMS Support