MMS Notification (... again.. )

MMS Notification (... again.. ) SearchSearch
Author Message
jignesh kakkad
New member
Username: Jig21nesh

Post Number: 19
Registered: 03-2005
Posted on Wednesday, April 26, 2006 - 02:41 pm:   

Hello,
i am sorry to saay but i could not able to figure out the solutiion forr archive theead!
i have read almost all the threads

i am using nokia MMS library.. as there is diff in msg type it should like this "m-retrieve-conf"
and i sample code also there is one statement like this
"mm.setMessageType(IMMConstants.MESSAGE_TYPE_M_SEND_REQ);"

which set the msg type

but now my question is how can i set require MMS msg type in the code, coz this lib does not m-retrieve-conf

waiting for the reply

regards
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5848
Registered: 10-2002
Posted on Thursday, April 27, 2006 - 07:19 pm:   

Hi,

I'm sorry, but I don't understand the question.

I might be able to give you a tip that will help.

The first field in any MMS message should be the "message type" field. So an MMS message should always start with "8C". The next byte contains the type value ... "80" is m-send-req, and "84" is m-retrieve-conf.

-bn
jignesh kakkad
New member
Username: Jig21nesh

Post Number: 20
Registered: 03-2005
Posted on Friday, April 28, 2006 - 05:13 am:   

hi
got yr point now i have second question
i am testing one sample application iwht this protocol in that i have created one .mms file and put it on the server and form one URL!
like
www.test.com/test.mms
and send as MMS notification using nowsms and working fine
but now my question is that....
dont i need to do any setting on the device i mean to say that dont i need to give IP/server name in MMS setting option of devicce?
just like operator is giving mms setting?

and second when i have to do setting on the device? just like operator is doing?

waiting for the reply
jig2nesh@hotmail.com
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5861
Registered: 10-2002
Posted on Friday, April 28, 2006 - 08:39 pm:   

See http://www.nowsms.com/howmmsworks.htm for more information on MMS architecture and considerations.

On the mobile phone, there are settings related to MMS.

Generally speaking there will be GPRS (packet network) connectivity parameters such as APN and username/password, and the IP address of a WAP proxy. Then there will also be a URL for the MMSC.

When you send an MMS notification to a device, the device will make a connection to the APN and WAP Proxy to try to retrieve the URL in the notification. (The MMSC URL does not really come into play here. The client may post an MMS acknowledgment back to the MMSC, but in most cases this is not significant.)

The problem that you can run into is that many mobile operators use a separate APN for MMS settings. And this APN for MMS only allows connections to the operator MMSC, not to external URLs.

The link that I pointed to above goes into all of this in more detail.

-bn
jignesh kakkad
New member
Username: Jig21nesh

Post Number: 21
Registered: 03-2005
Posted on Tuesday, May 02, 2006 - 12:37 pm:   

Hi
Thank you for the reply
i have one off topic question...
say this is sample url for .mms file
www.test.com/test.mms
how do i convert it into hex? i am using one of the java program but out of tht is not maching wiht nowsms's log url..!!

i mean i want to send that url as binary msg(MMS notification only) how do i do that?

hope you got my question
regards
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5867
Registered: 10-2002
Posted on Tuesday, May 02, 2006 - 03:06 pm:   

Sorry, I can't spend much time on questions that don't relate to our products.

My suggestion would be to go to the Open Mobile Alliance (OMA) web site (www.openmobilealliance.org), and download the MMS related specifications. In particular, the MMS Encapsulation protocol specification explains MMS PDU formats (such as the m-notification-ind).

The MMS notification message is sent via WAP Push using WSP connection-less push (see WAP Wireless Session Protocol specification, also from the OMA). WSP connection-less push is sent using WDP over SMS (see WAP Wireless Datagram Protocol specification for WDP to SMS adaptation).

With those specs as a reference point, you can decode the messages. There are also older threads out here that provide various examples. (Lots of threads to go through to find what you're looking for, but the information should be here somewhere ... probably searching on m-notification-ind would be a good idea.)

-bn
jignesh kakkad
New member
Username: Jig21nesh

Post Number: 22
Registered: 03-2005
Posted on Wednesday, May 03, 2006 - 06:12 am:   

Oh ok
Sorry for the same