Questions on MMS header construction and SMIL

Questions on MMS header construction and SMIL SearchSearch
Author Message
Brian Snyder
New member
Username: Bsnyder

Post Number: 5
Registered: 11-2010
Posted on Tuesday, December 07, 2010 - 10:02 pm:   

Ok, so I've already read
http://www.nowsms.com/doc/advanced-configuration-settings/creating-mms-message-f iles

and understand this. What we are currectnly doing is using http posts to NOW SMS to send out via MMS1 on 3+ modems.

What we are now having issues with is that the messages being delievered, are all being delivered as slideshows (SMIL) format.

I was wondering if it would be possible to change the now sms settings to only send out in MMS format (subject, text, and ONE image)

We would like all MMS messges we send to contain a single imbeded image, so when the end user recieves, its instantly displayed with the text and not forced into slideshow mode.

From my research, I understand the SMIL format is what causes this and that if left in native MMS format, we can accomplish this.

We are on Tmoblie USA. I have tried sending the same message from the phone directly as well with sucess, so i know its possible to do.

Is there anymore information on how to accomplish manipulating the header construction to eliminate SMIL?

Thank you,
Brian Snyder
New member
Username: Bsnyder

Post Number: 6
Registered: 11-2010
Posted on Wednesday, December 08, 2010 - 12:22 am:   

is there anyway to "individually attach" versus an application as 'smile'.

I attached the header file from now SMS, and wanted to point out a few things that are generating slideshows instead of imbeded pictures:

Œ€˜BEA488C3 ‹20101207/15 …

--------------------------------------------------------------------------------

Lþ¸4‰€16233413161/TYPE=PLMN —16023696262/TYPE=PLMN –newestTest „­$³Š<4CE51D28.smil> }‰application/smil

--------------------------------------------------------------------------------
E‚A­"application/smil …4CE51D28.smil êÀ"<4CE51D28.smil> Ž4CE51D28.smil <smil>
<head>
<layout>
<region id="Image" height="100%" width="100%" fit="meet"/>
<region id="Text" height="100%" width="100%" fit="scroll"/>
</layout>
</head>
<body>
<par dur="3s">
<text src="4CE51D28.txt" region="Text"/>
</par>
<par dur="5s">

<img src="logo.gif" region="Image"/>
</par>
</body>
}</smil>}

ŽPÀ"<logo.gif> Žlogo.gif GIF89ab­hGKÚÒšö´¨M­jWËÚÖºöµ°Mm ; ƒÀ"



<4CE51D28.txt> Ž4CE51D28.txt This is a sample MMS message.

------------------------ end header ------------------------------------------------

Anyways, the few things that concern me. First off, this is being setup as an application SMILE, and second, is carrying the information to be a slide show... (see red area of mms - <par dur="3s">

This is how long for the text and <par dur="5s"> for the image...


I don't want the MMS compilided to be sent this way..

I hope this helps a little more!

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

Post Number: 2703
Registered: 08-2008
Posted on Wednesday, December 08, 2010 - 03:28 pm:   

Hi Brian,

You can disable NowSMS from auto-generating SMIL.

Edit the MMSC.INI file, and under the [MMSC] header, add this setting:

EMailAutoSmil=No

Do note that if you do not include SMIL, operator MMSCs may automatically generate SMIL on your behalf.

The reason for the automatic SMIL generation is because phones generally expect to see SMIL, and the client user interface can be confusing if SMIL is not present. (It's been awhile since I tested this with different phones, but I seem to recall a number of phones that displayed any text in an MMS message without SMIL as a file reference.)

Also note that you can include your own SMIL if you do not like the auto-generated SMIL.

And there are some hidden settings to control slide timings in the auto-generated SMIL that are described at the end of the following thread:

http://support.nowsms.com/discus/messages/485/42165.html


--
Des
NowSMS Support
Brian Snyder
New member
Username: Bsnyder

Post Number: 10
Registered: 11-2010
Posted on Wednesday, December 08, 2010 - 11:21 pm:   

thank you for the insight. I believe we will simply want to modify the existing behavoir of SMIL.

When was this changed in the now SMS package? We played arround with your product (nearly a year ago), but went a different direction, I recall however, that we never had issues with slideshowed images vs imbeded.

Does now SMS have an archive of historical configurations on how SMIL was confgiured? I'm guessing this is a recent change to make all outbound MMS's set as SMIL Slideshows instead of imbeded / attachments?

Also is there any particular reason why slideshows were used instead of imbeded for single picture MMS messages?

I was also reading on to where he said to include your 'own SMIL' file. How would we do this and could we still continue to use the $post function of now SMS and incorporate that as well?

I appreciate all of your responses!

Thank you,
Brian Snyder
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2709
Registered: 08-2008
Posted on Wednesday, December 08, 2010 - 11:53 pm:   

It's been awhile, probably 2 years since we made that change. We try to avoid making behavioral changes like this, unless there is a strong reason. And in that case we leave a way to enable the old behavior in case people are relying on it.

In this case, the lack of a SMIL file was a major problem for most casual users. If they would submit an MMS message with some text and an image, a number of phones would display the file name of the text (usually a name that was auto generated by NowSMS) and the file name of the image. The recipient had to select the file and open it to view the content. It was a very bad user experience. And as a result, if people didn't just assume something was wrong with the product, we would have to explain to them how to create SMIL, which is quite overwhelming for the average user of our web interface form.

All of these types of changes are documented in the readme file, and with our web site redesign, we are also starting to log them at http://www.nowsms.com/category/updates

To include your own SMIL, it just becomes one of the attachments, just be sure to give it a .SMIL file extension.

Within the SMIL, reference other objects by their short file name.

I should note that if you do this, you should include any text as a separate file object, because NowSMS generates a random name for the text object when using the MMSText= parameter. (We probably should use a fixed name for this text object, I am not sure why we do not.)

--
Des
NowSMS Support
Brian Snyder
New member
Username: Bsnyder

Post Number: 14
Registered: 11-2010
Posted on Thursday, December 09, 2010 - 07:40 pm:   

Des,

What other parameters options do we have access to modify for the NOW SMS SMIL options. In the other article you mentioned adjusting the slideshow display timers?

In addition, do you have any information on what we need to do with the SMIL file? For instance, do I just need to create a generic 'SMIL' file that can be used for every one of my submited messages, or do I need to customize it for every submitted message?

I would like to simply understand how now SMS handles the submited SMIL file.

Thank you,
Brian Snyder
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2717
Registered: 08-2008
Posted on Friday, December 10, 2010 - 11:21 am:   

Hi Brian,

I don't think there are any other configuration options for adjusting the NowSMS auto-generated SMIL. The thought is basically that if your needs are more complex, you would generate your own.

If NowSMS sees a SMIL file as one of the file components of a submitted message, it does not automatically generate a SMIL file, and uses the included SMIL with no modification.

Your SMIL file neeeds to reference all objects within the message, otherwise they won't be displayed.

So if you are sending similarly formatted content each time, as long as you use the same filenames all the time, you can use the same SMIL.

For your purposes, it would probably be best to just use the configuration setting to adjust the display duration of the auto-generated SMIL to meet your needs.

--
Des
NowSMS Support
Brian Snyder
New member
Username: Bsnyder

Post Number: 18
Registered: 11-2010
Posted on Friday, December 10, 2010 - 06:33 pm:   

Thanks for the infromation. I am now able to send a SMIL file associated with each message. I will need to generate a unique SMIL file per account in my system (different .JPEG names) but is do able.