MMS Response-Status and Response-Text | Search |
NowSMS Support Forums ⬆ NowSMS Support - MMS & Advanced Issues ⬆ Archive through October 14, 2015 ⬆ |
◄ ► |
Author | Message | ||||
Davor Spasoski New member Username: Dspasoski Post Number: 11 Registered: 04-2007 |
Hi, I'm following up on the archived thread http://www.nowsms.com/cgi-bin/discus/discus.cgi?pg=prev&topic=485&page=41752 I'm eyeing the potential of Response-Status and Response-Text headers in the MMS m-send-conf response when the MMS submit on MM1 is rejected for some reason. Actually, I would like to inform the subscriber that the message was rejected due to not enough credit for one or all of the recipients. As suggested in the above thread, we added the DenyRejectMessage=ErroText\r\n syntax and m-send-conf certainly shows the text in Wireshark, but the couple of tests we did with iPhone and Nokia N95 showed that the text was not presented. The attached .cap file shows that MMS 1.2 dialogue. I came across a statement that 0x82 response is obsolete now and should be replaced with permanent error of the same kind. I wonder if the permanent errors would make the handsets show the text. I would basically handle this problem with the preAuth callback and send a separate SMS, but when used with the forthcoming Diameter charging, the preAuth would not make the actual charging and won't be aware of the reason for failure. -Davor
| ||||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 4397 Registered: 08-2008 |
Hi Davor, I see what you mean, but I'm not optimistic that changing this value will make a difference. X-Mms-Response-Status: Response-status-value (single byte status value) X-Mms-Response-Text: Response-text-value (Description which qualifies the Response-status-value.) The 0x82 (or 130) that you refer to is a Response-status-value that indicates Error-service-denied. Indeed in MMS 1.2, this error code value is classified as obsolete (but supported for backward compatibility reasons). There are other status conditions where we return different Response-status-value codes depending on the MMS version. However, accounting failures are hardcoded to use Error-service-denied. We could change this to Error-permanent-service-denied as there seems to be no better match (you would have thought that the people who wrote the specification would have thought of insufficient credit as a good reason to deny a message) ... however I do not have an expectation that changing this value will cause clients to then display the Response-text-value. I'll put in an engineering change request and we will see if it makes a difference. It is a good idea to make this change this anyway. -- Des NowSMS Support | ||||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 4482 Registered: 08-2008 |
Hi Davor, A Follow-up ... The update at http://www.nowsms.com/download/nowsms20130515.zip addresses this: * MMSC: For MMS 1.2 clients, when an accounting callback rejects a message, change Response-status-value to newer error code mms_response_status_error_permanent_service_denied, instead of old error code mms_response_status_error_service_denied. -- Des NowSMS Support |