How to compose the mms .. using the mmscomp.exe through command line

How to compose the mms .. using the mmscomp.exe through command line SearchSearch
Author Message
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1561
Registered: 10-2002
Posted on Friday, January 09, 2004 - 04:44 pm:   

Rizwan,

Sorry, but I don't understand the question.

You say:


quote:

and i know that this is not the proper .mss file .. keep in mind that i have no idea abt hearder file info and smil file info .. so give me the answer .. with proper example i know there is a easy way to do this but i cant




If you have no idea about the format, then how do you know it is not a proper example of the format?

Once you create the file, what are you then attempting to do with it? Perhaps you just do not understand what do with a file created by MMSCOMP.

A file created by MMSCOMP is a binary MMS message file in the m-retrieve.conf format. A link to this type of file can be included in an MMS notification message, so that it can be downloaded as an MMS message by a mobile phone.

Trying to do anything other than this with this file will most likely not be successful.
rizwan
Unregistered guest
Posted on Friday, January 09, 2004 - 06:23 pm:   

well .. Bryce hope u r fine ..
i mean that the file which named test.mms ... is not the proper binary formatted file cuz wen i put the file in the nokia samulator .. its dont show any thing .. which can prove it to be a mms file which is properly fomartted .. now i want u to give me an example that i can run the mmscomp on the command line .. not by the nowsms gate way :-)... so plzzzzzzzzzzzzz give me an example file for hearder file and smil file .. give means that u only write doen them in this message answer

Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1569
Registered: 10-2002
Posted on Friday, January 09, 2004 - 06:53 pm:   

Sigh ...

Simulators are frustrating beasts.

When you say that yu put the file in the Nokia simulator ... which Nokia simulator, and how?

I can tell you that a perfectly valid MMS file can be found at the following URL: http://www.nowsms.com/download/btmms.mms

That MMS file doesn't include a SMIL file. It opens fine in the Nokia 7210 simulator, and the NMIT (Nokia Mobile Internet Toolkit) 4.0.

An example of files that you can feed into MMSCOMP can be found in the following thread:

http://support.nowsms.com/discus/messages/12/2050.html
rizwan
Unregistered guest
Posted on Monday, January 12, 2004 - 04:53 am:   

thanx Bryce u really help me out from a big task thanx ... now i want the same help from u ..if i m a value added service provider then what should i need .. i mean which file should i need and how should i pass my files to the mmsc .. that mmsc will send it to the desire fone number ...
i know that my question should be tough to answer .. cuz number of pplz should have a problem in understanding the text which i have wrote down .. sooo plzzzz ... dont mind
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1580
Registered: 10-2002
Posted on Monday, January 12, 2004 - 08:22 pm:   

Here's a link that might help you. It explains the protocols that NowSMS supports for receiving messages from a value added service provider:

http://www.nowsms.com/documentation/ProductDocumentation/mms_notifications_and_c ontent/Submitting_MMS_Messages.htm
rizwan
Unregistered guest
Posted on Wednesday, January 14, 2004 - 12:13 pm:   

hi bryce
hope u will be fine ... could u plzzzz tell me that ... i have a .mms file which is working fine now i want to give parameters to the mmsc to send my file to the desire fone number ... i have no idea abt its parameters could u plzzzz tell me .. then ill be able to send a mms massege ...

jus like in yur help ... for
mmscomp.exe .. thats its take 2 parameters...
header file and the smil file ..
now u have to tell me that what parameter should mmsc want from me ... :-)
plzzzzzz dont mind
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1613
Registered: 10-2002
Posted on Wednesday, January 14, 2004 - 03:36 pm:   

Rizwan,

My confusion is that I do not undrestand what you mean when you say "give parameters to the mmsc".

I do not understand what the "mmsc" is in this context.

Are you referring to an operator MMSC? If so, how are you connecting to the operator MMSC?

Or are you just referring to the MMSC that is built into NowSMS?

If you are referring to the MMSC that is built into NowSMS, then I'd start with the web menu interface.

You can submit the message through the "Send MMS Message" option in the web menu ... in which case NowSMS becomes the web server that hosts the MMS content.

Or you can put the binary MMS file on another web server. Make sure that web server is configured to return the MIME type "application/vnd.wap.mms-message" for the file. And use the "Send MMS Notification" option in the web menu interface of NowSMS to send a notification to the phone that tells the phone to retrieve that file as an MMS message.

rizwan
Unregistered guest
Posted on Friday, January 16, 2004 - 10:46 am:   

hi bryce ...

no need to confuse ... i want to put the mms file on nowsms server ... the point ... there should be some parameters those i ll give to mmsc to take my mms file to its destinatiion ...


now i m giving u the smil file ... header file and the mms file .. which is generated by my program tell me that ... is there any information which is missing in my files...

tell me .. :-)
application/octet-streamfiles
NowSMS.rar (31.1 k)
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1643
Registered: 10-2002
Posted on Friday, January 16, 2004 - 03:22 pm:   

It depends on how you submit the message to the gateway.

If you have a binary MMS file, you need to post it to the gateway.

http://www.nowsms.com/documentation/ProductDocumentation/mms_notifications_and_c ontent/Submitting_MMS_Messages.htm

How you specify the recipients depends on the interface that you use.

A binary compiled MMS can be submitted via the proprietary URL submission, MM1 or EAIF.

The proprietary URL submission has two different ways that it can work ... through an HTTP POST or HTTP GET. The HTTP GET approach requires that you first place the ".mms" file on another web server. The HTTP POST approach posts the content to the server.

The MM1 approach is a simpler HTTP POST, but it requires that the To: field be included in the binary MMS file.

The EAIF approach is a variation on MM1. With it, you do an HTTP POST of the MMS file, but you include an "X-Nokia-MMSC-To:" header specifying the intended recipients.

Is there any chance that you have some experience with PHP?

There's an example PHP script at the following link that simplifies the proprietary URL submission technique. And you don't have to precompile the MMS message into a binary file first either:

http://support.nowsms.com/discus/messages/1/1113.html
rizwan
Unregistered guest
Posted on Monday, January 19, 2004 - 01:04 pm:   

hi BRYCE ...
Now i want to send the mms through smtp .. question is that ,.. for the mail i shall attached the mms file .. but for moblie fone .. what should i need to do ...
if this possible tell me ... may be this is my last question from you.. dont mind .. :-)
thanx
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1668
Registered: 10-2002
Posted on Monday, January 19, 2004 - 06:42 pm:   

Rizwan,

Are you able to send MMS messages through the NowSMS web interface?

If so, then there is nothing else that needs to be done.

If not, then you need to set up SMS and/or MMS connectivity from the gateway to the mobile operator network. (See http://support.nowsms.com/discus/messages/1/589.html.)
rizwan
Unregistered guest
Posted on Tuesday, January 20, 2004 - 01:10 pm:   

hi byrce ..
thanx sir ... i feel my self relax ... after send a mms to the desire number .. :-) .. and hope that may be i can help u :-)... if u have any question from me .. jus kiding ,,, :-) thanx again ..
peace rizwan