How do I receive SMS and MMS?

How do I receive SMS and MMS? SearchSearch
Author Message
Anonymous
Posted on Tuesday, September 16, 2003 - 03:39 pm:   

How do I setup NowSMS to receive the SMS (and later the MMS) message is a format which I can read?
Bryce Norwood - NowSMS Support
Posted on Tuesday, September 16, 2003 - 03:46 pm:   

Generally speaking, NowSMS expects a customer supplied script or command to process a received SMS message. This command would be configured on the "2-way" page of the configuration dialog. When an SMS message is received, NowSMS executes the command, or connects to the HTTP script (for example, an ASP or PHP script on another web server) so that your application can process the message. (This link describes configuring those commands: http://www.nowsms.com/documentation/ProductDocumentation/2_way_sms_support.htm.)

If no commands are defined, then received SMS messages are simply stored in the SMS-IN subdirectory of the NowSMS installation (*.SMS files which are in a simple file format similar to an INI file).

There are different options for the processing of received MMS messages. Because MMS messages typically contain multiple objects, as opposed to the simple text string of an SMS message, they are routed to applications via different interfaces. The choices for how received MMS messages are processed are:

"Receive to MMS-IN Directory" - In this case, the MMS message is parsed into text format, and individual components of the message are extracted into separate files. A ".hdr" file is written to the MMS-IN directory which contains a text version of the MMS header. This header file includes "X-NowMMS-Content-Location:" headers that point to the different file components that are included in the MMS message (text, images, etc.). These additional file components are stored in a subdirectory, and the location specified in the header is relative to the MMS-IN directory. The format of these ".hdr" files is consistent with the format used by the MMSCOMP utility, which is described at: http://www.nowsms.com/documentation/ProductDocumentation/mms_notifications_and_c ontent/Creating_MMS_Message_Files.htm.

"Route via MM7" - MM7 is an XML/SOAP interface that is defined by the 3GPP as a format for applications to send/receive MMS messages. When this type of routing is defined for received MMS messages, NowSMS reformats the MMS message into MM7 format, and performs an HTTP POST of the content to the specified MM7 connection. You must first define an MM7 connection on the "MMSC Routing" page of the configuration dialog before you will be able to select this option for routing a received MMS message.

"Forward to E-Mail Address" - The MMS message is converted into an e-mail message (with components of the MMS message converted to attachments) and sent to a specified e-mail address. (Note: This option requires that a valid "SMTP Relay Host" be configured on the "MMSC" page of the configuration dialog. NowSMS will connect to the SMTP server specified as this relay host in order to send the message.)

This reminds me, there is also an option to route received SMS messages to an e-mail address. On the "2-way" page, specify the "Command to Execute" as mailto:user@domain.com, and the text of the received SMS message will be sent to user@domain.com. (Like the MMS option to route to an e-mail address, this option also requires a valid "SMTP Relay Host" to be configured on the "MMSC" page of the configuration dialog.)

-bn
Eric Liu
New member
Username: Eliu

Post Number: 1
Registered: 10-2003
Posted on Friday, October 24, 2003 - 02:47 am:   

We have v4.20 (b20030507). Does it have the "Route via MM7" option?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 964
Registered: 10-2002
Posted on Monday, October 27, 2003 - 08:06 pm:   

MM7 support was added in v5.0. You can download the v5.0 update from our web site and it will recognise existing serial numbers.