SMIL question & http GET

SMIL question & http GET SearchSearch
Author Message
Nikihana
New member
Username: Nikihana

Post Number: 10
Registered: 08-2006
Posted on Friday, September 15, 2006 - 04:23 pm:   

Hi Bryce,

I would like to send an mms message comprising a gif file and a text file. I have created an SMIL file and a hdr file. WHat is the right syntax to send this via http GET to the nowsms gateway? Should I just set the MMSFile= to a list of files seperated by commas, starting with the SMIL file?

Thanks & regards,

Srini
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6535
Registered: 10-2002
Posted on Monday, September 18, 2006 - 09:51 pm:   

Hi Srini,

To use HTTP GET, you need to put the files on a web server so that NowSMS can access them via URL (I assume you've done this, but I'm just pointing this out for others who read this thread).

The URL format requires multiple instances of the "MMSFILE=" parameter ... so it would look something like this:

http://127.0.0.1:8800/?PhoneNumber=xxxxxx&MMSFrom=zzzzzzzz&MMSSubject=Message+Su bject&MMSFile=http://host/path/file.jpg&MMSFILE=http://host/path/file.txt&MMSFIL E=http://host/path/file.smil

-bn
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6536
Registered: 10-2002
Posted on Monday, September 18, 2006 - 09:53 pm:   

P.S. - The discussion board software inserted an extra line break and stray space character in the URL example above.
Nikihana
New member
Username: Nikihana

Post Number: 11
Registered: 08-2006
Posted on Tuesday, September 19, 2006 - 05:04 am:   

Hi Bryce,

Thanks for the prompt response! Few more quick questions :-)
1. Is there an order (e.g. smil file first) or can the files be in any order?
2. I dont need the hdr file?
3. What version(s) of SMIL does the gateway support?
4. Any good references for SMIL that you would recommend?

Thanks & regards,

Srini
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6550
Registered: 10-2002
Posted on Tuesday, September 19, 2006 - 10:07 pm:   

Hi Srini,

1. The files can be in any order, just make sure that the SMIL file has a ".smil" file extension so that NowSMS will recognise it as such.

2. You do not need a .HDR file ... NowSMS generates its own MMS message header (and it will not support a .HDR file if you try to pass it one).

3. NowSMS does not care about the SMIL version, as the SMIL gets routed "as is" to the receiving client. However, the receiving client may be picky about what SMIL version it supports.

Generally speaking, my best advice is to "keep it simple". Most phones are very primitive with regard to SMIL.

4. I don't really have any suggestions. If you have a GSM modem that can receive MMS messages (i.e., dedicated GSM modem device, not a phone acting as a GSM modem), one thing that I found helpful was to send MMS messages in to the modem from different phones ... and to then look at the SMIL files that were generated by the phones.

One document that you might want to look at (aside from the SMIL spec itself) is the MMS Conformance document from the Open Mobile Alliance, as it tells you what the Basic SMIL support is that is required to be supported by MMS compliant phones. This should be available as part of the MMS specs in the technical section of http://www.openmobilealliance.org.

-bn