2 way MMS

2 way MMS SearchSearch
Author Message
atef sharia
New member
Username: Atef

Post Number: 1
Registered: 08-2004
Posted on Wednesday, September 01, 2004 - 07:37 am:   

hi
I will connect the NOWSMS gateway to the operator's MMSC through MM7 protocol.
I will start recive MMS's from mobile custoemrs. Upon the reception of the MMS, i will store it and make it a valbel on a web site. But also I need to send a confirmation SMS to the sender including a code to be sued later.
Is there any way on how to send this coonfirmation SMS?
regards
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3401
Registered: 10-2002
Posted on Wednesday, September 01, 2004 - 09:01 pm:   

Hi Atef,

When you connect to an operator MMSC to both send and receive MMS messages, note that you have to define two accounts in NowSMS.

1.) An account in the "MMSC Routing" list defines how you connect to that MMSC to send outbound MMS messages.

2.) An account in the "MMSC VASP" list defines an account that your operator will use to connect to your server and deliver received MMS messages.

This second bit is considerably different from the way it works in the SMS world, so I want to draw your attention to that.

Basically, your mobile operator needs to be able to connect into the "HTTP Port" configured for the MMSC on the "MMSC" page of the NowSMS configuration. They need to configure on their system a URL of:

http://ip:port/mm7

(Use this syntax if the operator can supply the account name and password separately in the "Authorization:" header.)

or

http://ip:port/mm7/accountname=password

(It is usually easier to include the account name and password in the URL.)

When you define the "MMSC VASP" account, it is important that you define the "MMSC Routing for Received Messages" to be any value other than "Standard MMS Delivery". For example, to have the messages stored to a local directory specify "Receive to MMS-IN Directory".

An example of what you would see in this "MMS-IN" directory is found in the following thread:

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

To send back an SMS confirmation, you would need to parse the "From:" header from the received MMS, and generate a request back to send an SMS message. This involves generating an HTTP request back to the NowSMS server:

http://www.nowsms.com/documentation/ProductDocumentation/sending_messages/sendin g_text_messages.htm

PHP Example: http://support.nowsms.com/discus/messages/1/867.html
ASP.Net Example: http://support.nowsms.com/discus/messages/1/5516.html
Anonymous
 
Posted on Friday, September 03, 2004 - 08:47 pm:   

Assume I only want to receive mms contents (image/audio/etc) from mms user to my gsm modem, what option should i set? I assume MMSC VASP is no longer needed as user will MMS in from their phone to my gsm modem phone line directly.

And the received contents I assume will store in mms-in without further processing by nowsms?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3494
Registered: 10-2002
Posted on Wednesday, September 29, 2004 - 09:15 pm:   

In that case, you only need to configure the "MMS Receive Settings" for your GSM/GPRS modem.

On the "SMSC" page of the configuration dialog, highlight your modem entry and press "Properties".

Check "Receive MMS Messages", and press the "MMS Settings" button.

Configure the MMS settings specific to your mobile operator here, and then similar to the "MMSC VASP" configuration described above, check "Receive to MMS-IN Directory" which is the default behaviour.

One more note, under the "Properties" for the GSM modem, be sure to define a "Phone Number" for the modem. This number will be recorded as the "To:" field in MMS messages received over the modem, and if you end up installing multiple modems this is how you will tell apart messages that arrived over the different modems.

-bn
Liu Yanxiang
New member
Username: Yanxiang

Post Number: 16
Registered: 03-2004
Posted on Thursday, September 30, 2004 - 10:33 am:   

Hi, Bryce,
Your suggestion above doesn't work. I tried a lot of times (you can locate my other posts on the website). I am also tried to call your UK office, but none picked up the phone.
I use Singtel operator and sure all the settings for the modem is correct according to what they told me. Besides that, the operator also said that for MMS, the default WAP port is 9201. Does your gateway uses this port to retrive MMS messages from the service operator?
And how do I know the gateway is functioning? For example, if I send an MMS from phone to computer, where can I find the notification message received by the gateway? At least, from this notification, I may know the problbem sid is at 1. service operator 2. modem 3. the gateway itself???
Really look for the explanation.
Regards,
Yanxiang
Liu Yanxiang
New member
Username: Yanxiang

Post Number: 17
Registered: 03-2004
Posted on Thursday, September 30, 2004 - 05:00 pm:   

??? No reply at all?!
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3538
Registered: 10-2002
Posted on Thursday, September 30, 2004 - 08:03 pm:   

Hi Yanxiang,

I'm familiar with the problems that you have experienced, and unfortunately I don't have a suggestion other than trying another modem.

Please see http://www.nowsms.com/howmmsworks.htm for an overview of how MMS works. I know your question is not from the same perspective as that document, but I want to use that text as a reference point.

The MMS receiving process starts with an MMS notification message being received over SMS.

The problem that we are encountering in your setup is that we NEVER receive that message.

When that message is received over SMS, then we use the "MMS Receive Settings" to fetch the message that is referenced in the notification. (And yes, port 9201 is what is conventionally used for WAP transactions, so we use this port to connect to the WAP gateway. Although, in v5.51 there is also a way to configure the connection to go through an HTTP/WAP2 proxy.)

As I recall with your setup, we were either not receiving the MMS notification message, or it was arriving as a blank message.

The latest thread was at:

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

So right, you receive a blank SMS message.

Unfortunately, the MMS notification is supposed to contain more information than that. It contains header information about the MMS message, and a URL pointer that tells us where to retrieve the message from. Without that URL pointer, there is nothing that can be done.

The "unable to fetch URL" issue that is referenced in that other thread is likely unrelated. You probably connect to the internet through a proxy server, therefore NowSMS can't send out an MMS notification for that external piece of content. I'm not very worried by that.

The big problem is that you can't receive an MMS message if the MMS notification is corrupt or non-existant.

I'd recommend trying to get your hands on another modem. Although I do have one potential suggestion to try ...

On the "SMSC" page of the NowSMS config, highlight the modem definition, and press "Properties". Change "SMS Message Storage" to be "Direct to Modem". This setting will cause the modem to perform less processing against the received message. And perhaps if you just have a modem with a bug in its particular version of firmware, this might get around it.

-bn
Liu Yanxiang
New member
Username: Yanxiang

Post Number: 18
Registered: 03-2004
Posted on Friday, October 01, 2004 - 07:06 am:   

Hi, Bryce,
1. I did try with other two modems, one is a iTegno USB modem and the other is an old model of the Fastrack modem. Neither of them worked.

2. Your answer for me is the problem of modem. But how come it can receive a blank SMS notification? Is this the problem of some parts of the modem doesn't work?
And also, I found one entry in the SMS log file. It is:
You have received an MMS message from sender 90665245. Please log on to Singtel website to view the message.
What does this imply?

3. Could you extend the expiry day for that sofware for me again. Since one week ago, it expired. We sincerely want to get this MMS-to-computer work, if it works, we are very willing to buy and appreciate your work.
Thanks a lot.

Best Regards,
Yanxiang
Liu Yanxiang
New member
Username: Yanxiang

Post Number: 19
Registered: 03-2004
Posted on Friday, October 01, 2004 - 09:34 am:   

Oh, Bryce,
One more thing I want to mention. I am able to use the web interface to send MMS using the modem connection (no Internet). Is this able to prove that the modem do work?
I get doubt whether your software funcions as you claimed. Is it possible for me to have some successful cases in Singapore?
Thanks a lot.
Regards,
Yanxiang
Anonymous
 
Posted on Friday, October 01, 2004 - 09:58 am:   

If "no internet" and can send MMS, then must be the modem can work. What a dumb question.

If Singtel send you a SMS, means it cannot detect your MMS phone UA so ask you to log to website.

You have no clue what is actually happening other than asking for help in every forum. I doubt you will buy NowSMS as this is your school project.

You're are from China studying in Singapore, so do not disgrace us by posting such questions. Go read up more.



Liu Yanxiang
New member
Username: Yanxiang

Post Number: 20
Registered: 03-2004
Posted on Friday, October 01, 2004 - 12:58 pm:   

If the Gateway does work, sure, we will buy it. Otherwise, why I spend such long time trying to slove the problem.

Maybe I put some dumb questions. This is because I tried all possible ways but none of them work. Singtel claims that not the problem at their side, the modem company says their modem is MMS enabled, and your side claims the gateway can work.

If it is the problem of no detection of mobile phone UA, then why this SMS only appeared once? All other times it is just a blank notification?
I sincerely want find whether there is a Singapore user sucessfully receive MMS using the gateway.

If you think I disgraced forum, I am sorry for that. But I don't intend to be like what you said, I do want to get the solution.
Anonymous
 
Posted on Friday, October 01, 2004 - 03:27 pm:   

"Why spend such long time to solve the problem".
Because you need to receive MMS and only NowSMS can do it ... and you need to hand in your project fast ... else fail.

I think

1. Singtel is working
2. Modem is working
3. NowSMS is working
4. You are not working. (see the problem?)

Buy NowSMS and I am sure Bryce will be obligated to support you.

Good luck to your degree ....
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3579
Registered: 10-2002
Posted on Wednesday, October 20, 2004 - 03:58 pm:   

Hi Yanxiang,

I apologise again that I have not had time to study the problems that you are facing. And I'm sorry that this discussion fell to some personal attacks while I was busy being overworked.

I have to admit that looking over all of the different threads, I am completely confused at what is going on.

What I'd like to do is try to organise what was observed in different configuration scenarios, and go back and verify that we are remembering each scenario properly. I'd like to try to apply some troubleshooting logic and figure out a pattern.

At one point, whenever an MMS message was sent to the modem, we were receiving a blank SMS message.

In that case, I do not know what action we can take. It is unclear whether there is a problem with the modem where it is not able to understand the message received from the operator ... or if there is some problem at the operator.

But then you also say that at one point you received a text message which said "You have received an MMS message from sender 90665245. Please log on to Singtel website to view the message." This suggests that Singtel does not think your account is enabled for MMS.

Basically, what I'm looking for is some sort of pattern.

I think when you were getting the blank SMS messages, you were using a Starhub SIM. You were able to send MMS, but whenever you should be receiving an MMS you would instead receive a blank SMS.

That was the problem observed with the Wavecom modem. I am curious if the same behaviour is observed when a different GSM modem is used with the same SIM card. Do we always see a blank SMS, or do we sometimes see something different, or nothing at all?

Now you appear to be using a Singtel SIM, and instead of receiving an MMS, it sends you an SMS telling you to go to the web site. This suggests that the SIM is not provisioned for MMS. Verify that it is ... put it into a phone and verify that you can send /receive MMS with the SIM in a phone.

Then try it with the different modems.

If you want to keep trying, and need another extension, send a message to lisa@nowwireless.com ... reference this message thread ... and she'll ask me about it, and I'm happy to keep trying. I'd just like to try to get some more clear details of what happens in these different scenarios with combinations of different SIMs and modems.

-bn