Redirecting recieved MMS to an HTTP Server | Search |
NowSMS Support Forums ⬆ NowSMS Support - MMS & Advanced Issues ⬆ Archive through June 06, 2005 ⬆ |
◄ ► |
Author | Message | |||||
Aun S L New member Username: Arun_sl Post Number: 1 Registered: 05-2005 |
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 |
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 |
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
| |||||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 4534 Registered: 10-2002 |
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 |