Help Needed - Two Way SMS - MIME Error

Help Needed - Two Way SMS - MIME Error SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through October 31, 2007 » Help Needed - Two Way SMS - MIME Error « Previous || Next »
Author Message
Aaron C
New member
Username: Blueocean

Post Number: 1
Registered: 09-2007
Posted on Friday, September 21, 2007 - 10:00 pm:   

I am fairly new to SMS but I have managed to set up a nearly working system. I can send messages via the web interface directly and the system is receiving inbound messages, where I am having a problem is two-way messaging. I have set up a test command and the reply always replies with this text "Command not completed. request returned invalid content type: text/html".

here is the command

http://10.***.**.**:8800/?to_num=@@sender@@&message=@@abc@@&charset=UTF-8

SMS Command Prefix is set to UTF-8 as I have read it can have problems otherwise. I am using a Multitech GRPS modem.

this is the SMS out-log

2007-09-20 18:46:23,46F1C72E.req,Auto-response to +17789970736,+17789970736,OK -- MultiTech Systems GSM_GPRS Wireless Modem,SubmitUser=localsystem-2way;Text="Command not completed. Request returned invalid content type: text/html"
2007-09-20 18:48:04,46F1C730.req,Auto-response to +1778*******,+1778*******,OK -- MultiTech Systems GSM_GPRS Wireless Modem,SubmitUser=localsystem-2way;Text="Command not completed. Request returned invalid content type: text/html"
2007-09-20 18:49:37,46F1C732.req,Auto-response to +1778*******,+1778*******,OK -- MultiTech Systems GSM_GPRS Wireless Modem,SubmitUser=localsystem-2way;Text="Command not completed. Request returned invalid content type: text/html"
2007-09-19 18:49:54,10.253.40.55,,46F1C225.req,Text
2007-09-19 18:58:56,10.253.40.55,,46F1C28E.req,Text
2007-09-19 20:43:01,10.253.40.55,,46F1C725.req,Text

Do I need SMPP to be set up? I am just at a wall as to what could be missing.

Any help would be great fully appreciated.

Thanks

A
Malcolm - Now Support
Moderator
Username: Malcolm

Post Number: 217
Registered: 12-2006
Posted on Thursday, October 18, 2007 - 08:13 pm:   

Is your 2-way command intending to return a response back ot the sender?

If it is not, then edit the command definition and UNcheck "Command returns response text".

If it is intending to return a response, then you need to return the response as plain text (e.g., Content-type: text/plain). The following link might be helpful in this regard: http://support.nowsms.com/discus/messages/1/4520.html

Login Login / Register Logout Logout Search Last 30 Days Topics Topics