MMS 'From' non-numeric string turned into null

MMS 'From' non-numeric string turned into null SearchSearch
Author Message
Justin Martin
New member
Username: Jumartin

Post Number: 1
Registered: 09-2009
Posted on Wednesday, September 09, 2009 - 06:56 pm:   

One of our devs ran into a problem where the 'From' field of the MMS is being set to null if they type in a string such as 'NowSMS'. Why doesn't this simply leave the string in the from field? We support sending from email address to the phone, so we should be able to put non-numerical strings (e.g. email address) in the From field.

Thanks,
Justin Martin

Binary Data:
8C (x-mms-message)
82 (m-notification.ind)

98 (trans id)
37 43 35 35 44 41 37 38 00 "7C55DA78"

8D (version)
90 (1.0)

89 (from field)
02 (2 bytes long)
80 (address present)
00 (NULL TERMINATOR - BLANK SENDER ******)

96 (subject)
63 61 75 74 69 6F 6E 00 “caution”

8A (message class)
80 (personal)

8E (message size)
02 (2 bytes)
0B6F (2927 bytes)

88 (expiry date)
05 (5 bytes)
81 (relative date)
03 09 3A 80 (some date)

83 (content location URL)
68 74 74 70 3A 2F 2F http://
31 33 31 2E 31 30 37 2E 131.107.
32 34 2E 32 33 2F 32 30 24.23/20
30 39 30 39 30 38 2F 31 090908/1
37 2F 37 43 35 35 44 41 7/7C55DA
37 38 2E 4D 4D 53 3F 69 78.MMS?i
64 3D xx xx xx xx xx xx d=xxxxxx
xx xx xx xx 00 CC CC CC xxxx....
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1223
Registered: 08-2008
Posted on Wednesday, September 09, 2009 - 07:05 pm:   

Hi Justin,

I need to understand your configuration a little bit better.

Are you submitting from the web interface?

What if you put an e-mail address in there instead of an alpha text string?

I suspect the issue is that "NowSMS" would not be a valid "From" field.

--
Des
NowSMS Support
Justin Martin
New member
Username: Jumartin

Post Number: 2
Registered: 09-2009
Posted on Wednesday, September 09, 2009 - 09:59 pm:   

Yes, we're submitting from the NowSMS web interface. I don't think 'NowSMS' in the from field is invalid as far as the MMS specification is concerned. I seem to hit the same issue with 'NowSMS@foo.com' as well.

Our developer says he used NowSMS at his last company and never hit this issue before, and thus was thrown for a loop trying to figure out what was going wrong in our parsing engine.

Thanks,
Justin
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1230
Registered: 08-2008
Posted on Wednesday, September 09, 2009 - 11:00 pm:   

Hi Justin,

I just tried a quick test and using NowSMS as the "From" field resulted in the blank field that you describe.

However, if instead I used NowSMS@foo.com, then that was used as the "From" field.

I don't necessarily think that it makes sense for NowSMS to be changing the field to a blank field in this scenario. But I'm also not convinced that a literal string is legal. I believe it should be an e-mail address or a phone number.

Try the "@foo.com" test again.

--
Des
NowSMS Support