Redirecting recieved MMS to an HTTP Server

Redirecting recieved MMS to an HTTP Server SearchSearch
Author Message
Aun S L
New member
Username: Arun_sl

Post Number: 1
Registered: 05-2005
Posted on Monday, May 16, 2005 - 09:15 am:   

Hello All,

I am presently testing for feasibility of certain special application using the Now SMS/MMS gateway. How can I redirect the incomming MMS to a running HTTP Server (I am having an Tomcat Apache Server running on intranet). I have tried using "MMSC routing" {giving the server address as: http://172.19.61.134:80/examples/servlet/testdw }, but it seems that the server is not getting the HTTP response at all {I got a Q file temporaly in the MMSQ folder => initial setup is perfect, redirecting needs further clarification }. Is there any thing that I need to further look into in configurations ar is my approach totally wrong. Please suggest me a sutable approach to continue.

Thanking you all in anticipation.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4514
Registered: 10-2002
Posted on Monday, May 16, 2005 - 07:23 pm:   

Where are you receiving the MMS messages from?

Is it over a GSM/GPRS modem connection?

In that case, you would define an MM7 connection under "MMSC Routing".

You define that received messages are to be routed to this connection when you define the "MMS Receive Settings" for your modem. ("SMSC" page, highlight modem, press "Properties", enable "Receive MMS Messages" and click on "MMS Settings") There you define that received messages should "Route via MM7" to your server.

This is all assuming that you are receiving MMS messages over a GSM/GPRS modem. There are other ways that messages might be received, so if this doesn't describe your setup, please explain more.

It would also be helpful to see the SMSDEBUG.LOG and MMSCDEBUG.LOG from your system, showing it receiving MMS messages. The easiest way to enable these logs is via checkbox settings on the "Serial #" page of the configuration dialog.

-bn
Aun S L
New member
Username: Arun_sl

Post Number: 2
Registered: 05-2005
Posted on Tuesday, May 17, 2005 - 07:59 am:   

The following is the generated smsgw.ini file; I am able to perfectly recieve the sms using the redirected sms but in case of mms I am not able to get any positive response at the server side. Please suggest any improvements.

[SMSGW]
Modem1=Nokia 30 (Cable)
WebAuth=No
WebMenu=Yes
WebPort=8800
ReceiveSMS=Yes
ReceiveMMS=Yes
ReceiveSMSCommand1=* http://172.19.61.134:80/examples/servlet/testdw?filename=@@sender@@.txt?body=@@fullsms@@ No *
Debug=Yes
[Modem - Nokia 30 (Cable)]
MMSURL=mms1.hutchworld.co.in/mms/
UseDial=Yes
WAPGatewayIP=10.10.1.100
DialUpProfile=Modem: Nokia 30 (Cable)
UseModem=Nokia 30 (Cable)
APN=portalnmms
PhoneNumber=9885446056
ReceiveSMS=Yes
ReceiveMMS=Yes
MMSRouting=mm7
application/octet-streamthe contents of vsapq folder
42888D2B.ini (0.2 k)
application/octet-streamcontents of vaspq folder
42888D2B.mms (44.5 k)
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4534
Registered: 10-2002
Posted on Wednesday, May 18, 2005 - 09:02 pm:   

From the looks of things, an MMS message has been received, and NowSMS is trying to post the message using MM7 to the server configured under "MMSC Routing" with a name of "mm7".

But I don't know how that "mm7" route is configured.

I'd suggest that you enable the MMSCDEBUG.LOG (the easiest way to do this is on the "Serial #" page of the configuration dialog). That should show NowSMS trying to make the MM7 connection, and what is happening when it is attempted.

-bn