MMS Java Library - NowSMS/MMS

MMS Java Library - NowSMS/MMS SearchSearch
Author Message
Ann
Posted on Sunday, October 12, 2003 - 02:17 pm:   

Hi all, I'm doing a .Net web application for sending MMS to mobile-phones, but experiencing some problems. I've tried using Nokia Java Library to send simple MMS to my mobile phone (over HTTP), it succeed though (there were positive response back from MMSC) but strangely those MMS never get to my mobile phone (Nokia 3650/7650). How could this be ?
I've learned from this discussion forum that some MMSC can reject MMS from other operators and I should send my MMS through GPRS connection. Could this be the problem (but why I kept receiving positive responses from MMSC ?). How could we make GPRS connection ?
And, can NowSMS/MMS gateway help me solve this problem ? How ?
Help please ...
Thanks in advance.
-=[The Informer]=-
Posted on Sunday, October 12, 2003 - 09:12 pm:   

I'm working on a similar project using .NET (although I prefer Java) but I'm not sure what MMSC you are using. So, I can't really help you with that. I'm currently experimenting with the trial version of NowSMS/MMS GW and I found that its built-in MMSC is very powerful yet simple to communicate with. You can either use SMTP or HTTP and I guess both are simple from within the .NET

However, I still haven't experimented with a live SMSC connection (currently using a simulator written in Java) but from what I've seen it should work. If you have a live SMSC connection, then I suggest you try it out.

One more thing, what do you mean they never got to the mobile phone? Do you mean the phone nver received a notification about them?
Ann
Posted on Monday, October 13, 2003 - 01:19 pm:   

Thanx for your quick reply,
I've read some posts here, and Bryce from NowSMS/MMS wrote that we could send MMS through either a GSM modem/phone or a binary SMS provider. My aim is building a web based application, therefore I apparently won't be able to use a GSM modem/phone. My last hope is a binary SMS provider. Is there any such providers out there ? Mostly, those providers only support ordinary text sms delivery. Help please ?
Or ... is there any other way to do this ?
Bryce Norwood - NowSMS Support
Posted on Monday, October 13, 2003 - 06:24 pm:   

Ann,

When you use the Nokia Java libraries, what MMSC are you submitting the message to? Are you maybe just submitting to a simulator? (Generally, you would have an account established with a provider if you were sending to their MMSC. I'm suspecting that you're connecting to a simulator that doesn't actually deliver any MMS messages.)

Also keep in mind that if you are using the older (and easier to use) Nokia libraries, they speak a protocol called EAIF to submit messages to an MMSC, and that protocol is only implemented by Nokia MMSCs. (Well, the Now SMS/MMS Gateway does also implement EAIF but that is another story.)


quote:

...we could send MMS through either a GSM modem/phone or a binary SMS provider. My aim is building a web based application, therefore I apparently won't be able to use a GSM modem/phone.




I wouldn't rule out that approach based on that reasoning.

I would not expect your web application to implement a GPRS connection directly ... you'd go through some middleware (such as our Now SMS/MMS Gateway) to do that. You might use EAIF to submit your messages to the middleware (since I suspect that is the protocol that you are using with the Nokia Java libraries) ... and the middleware piece would do the rest.

Even if you do direct delivery over a binary SMS provider (read this thread ... http://support.nowsms.com/discus/messages/1/589.html ... as some operators do block access to external MMSCs that try to bypass the operator MMSC), you still might still do that through a piece of middleware.
Ann
Posted on Tuesday, October 14, 2003 - 09:28 pm:   

Hi Mr.Bryce,
I thought I had already sent it to an MMSC URL out there. I've modified the sample code provided by Nokia MMS Java Library (changed the MMSCURL, ex : mms.myprovider.com:80), and then it gave me an OK response status (200). But according to your explanations above, I'm really in need of some middleware like yours to interface with the MMSC. The problem is, how should I set up your application (MMS gateway) in my web server ? Is it possible ? Right now, I think it's impossible because my web server should also provide some gsm modem stuff connection, and that surely won't be happening soon. I'm sorry for being dumb (newbie in messaging things), please give any suggestion.
Next, I've read your thread you suggested (tell you the truth, I'm really amazed with how you handle and make replies in this forum). It looks like my MMSC operator is one of those which blocks any access from external MMSCs.
I'm a member of this operator, could this be any help ? I hope my web application will only just generate the .mms file and send it via ordinary HTTP-POST to some gateways...
Thank you in advance.
Bryce Norwood - NowSMS Support
Posted on Wednesday, October 15, 2003 - 07:47 pm:   

Ann,

It really depends on where you got that MMSCURL from that you changed.

If it is indeed a URL provided by your operator, and your operator has a Nokia MMSC, and they have provisioned an account for you, then you might be ok.

I'm just suspicious, not knowing where that URL points to. (Usually you would pay several thousand euro/pounds to get provisioned for such an account with an operator.)

You can setup our NowSMS software on a PC (doesn't have to be a web server), with a GSM/GPRS modem attached (this modem would have a SIM card provisioned for your operator), and then you could change your MMSCURL to point to the PC running NowSMS ... submitting the MMS messages through NowSMS.

Without the gateway, you would need an account with a service provider that allows you to submit MMS over TCP/IP, and you'd need to submit via the appropriate protocol.