Use nowsms to build your own MMS Center

Source: Internet
Author: User

Use nowsms to build your own MMS Center

About nowsms
================================

Now SMS/MMS Gateway (nowsms) is a set of content delivery solutions for SMS and MMS. Nowsms is a shortcut for deploying and developing SMS, MMS, and wap push solutions. It can be used for SMS gateways, MMS gateways, wap push gateways, and multimedia message centers in Windows 2000/XP.

The official website of nowsms is: you can download the 60-day trial version to build your own MMS center. The basic usage steps of nowsms are as follows:

1: download and install nowsms
2: Configure SMS/MMS gateway to support sending SMS and MMS
3: send SMS to ensure that the gateway is correctly configured
4: Configure mmsc to support sending MMS, and configure the mobile phone number list that can use mmsc.
5: Send MMs to ensure that mmsc is correctly configured
6: Configure mmsc on the mobile phone to enable the MMS upstream Function
(If there is a problem, you can send the. log under the nowsms directory to the nowsms@now.co.uk for help)

Basic configuration of nowsms
================================

1. Configure the GSM Modem
Nowsms requires a connection to an SMSC to interface with SMS and MMS networks. a smsc connection can be a GSM Modem-a GSM Modem or phone connected to a PC serial port (or to a USB port ).
(You can connect to your laptop via infrared. My configuration is Nokia 6610 + Dell flexibility 600 m)

2. Configure SMSC
The first step is to configure SMSC settings, which tell the gateway how it connects to the GSM network to send SMS.
(The Modem must support sending sms. the GPRS network adapter on the market does not support sending SMS because cmwap is used. Even if nowsms can be found, it cannot use the function of sending SMS and MMS in nowsms)

3. The now SMS/MMS gateway installas a Windows Service. The mmsc runs as a separate service process from the gateway.
(We recommend that you configure the service to be manually started, because the system will not work if no GSM modem is found after the system is started)

4. without the mmsc, you will still be able to "Send MMS specifications" where the MMS content is stored on a separate web server, but you can't be able to use the "send MMS Message" feature of the "Web menu interface ".

5. The mmsc supports sending MMS messages between mobile phones, and also
Supports sending and signing ing MMS messages between mobile phones and
Standard Internet e-mail systems.

6. mmsc port number
The gateway PC must be accessible via the Internet in order to use its mmsc. when a mobile phone sends or has es an MMS Message, it makes an HTTP connection to an mmsc (usually through a WAP Gateway ). the mmsc contains an Integrated HTTP server to process these connections.
(Some operator WAP gateways have firewils which prevent them from connecting to content servers that are installed on ports other than the default http port of 80. use caution when processing ing the mmsc for a port other than 80, as this may prevent MMS messages from being encoded ed via some services .)

7. mmsc Configuration
Local host name or IP address
Specifies the local host name or IP address of the computer that is running the mmsc service. The name or address specified here will be used to construct URLs when sending MMS messages to mobile phones.
(Make sure that the mmsc IP address can be accessed locally, because nowsms verifies the validity of the URL when sending MMS; because the external IP address in some places is mapped through firewall, local access may fail. We recommend that you bind an external IP address to the second IP address to solve this problem)
Domain name for MMS email/SMTP relay host
It is possible to operate the mmsc without the e-mail link, leaving the "domain name for MMS e-mail" and "SMTP relay host" fields blank.

8. Mobile Phone Number Format
To define a mmsc user, you must define a phone number using international format
(For example, for Chinese mobile phones, the format is + 8613 XXXXXXXXX/Singapore + 65 XXXXXXXX)

9. MMS center on the mobile phone
Note that for a mobile phone user to use the simple mmsc integrated with this
Gateway, the mobile phone user must configure their mmsc to point to the address of the mmsc, and include their user name and password in the mmsc URL. Example:

The username can be either the user alias name or phone number.
(The mobile phone number must be in international format and cannot be an alias; otherwise, the server reports an error)

10. Use the WAP Gateway of nowsms
Specify an IP address for the WAP Gateway of 213.48.000010
(This is a gateway at the now wireless offices ).

11. GSM Modem
1) An external modem device, such as the Siemens mc35 or Wavecom fastrack.
2) a pc card installed in a laptop, such as the siider wireless aircard 750
3) A standard GSM mobile phone with the appropriate cable and software driver to connect to a serial port or USB port on your computer.
(Any phone that supports the "extended at command set" for sending/sorting ing SMS messages can be supported by the now SMS/MMS gateway)
A dedicated GSM Modem (external or PC Card) is usually preferable to a GSM
Mobile phone. This is because of some compatibility issues that can exist
Mobile phones.

12. SMS user/mmsc user
The "SMS users" defines user accounts that are allowed to submit SMS and MMS messages through the gateway. (Note: mobile phone users that connect to the mmsc to send and receive MMS messages are configured under the "mmsc users ")

13. Long SMS
If the text message is longer than 160 characters, the gateway will automatically use concatenated SMS ("Long SMS") Message support to send the entire message.

13. Send MMS notification
The MMS notification is sent to the recipient independent of the mmsc built-in to
Gateway. The message recipient will fetch the message directly from the URL specified. As the message is not routed through the mmsc, The mmsc cannot provide dynamic content adaptation and Conversion Services.

14. Send wap ota bookmark
"Send wap ota bookmark" allows bookmarks to be sent to compatible mobile phones. simply specify the wap url, a title for the bookmark, and a phone number
Which the bookmark shocould be sent.

15. send SMS URL
To send a text message via SMS, use the following URL format:

1) use either the local phone number format, or the international phone number format.
2) If the international phone number format is used, note that you must substitute
"% 2B" for the "+" character, because of URL escaping restrictions.

16. WAP PUSH
Wap push messages are specially formatted SMS messages that display an alert
Message to the user, and give the user the option of connecting directly to a particle URL via the mobile phone's WAP browser.
Note that there are two types of "wap push" messages, "Service indication (SI)" and "service load (SL )". the "SL" format can be selected by including "wapsl = 1" as a URL parameter, and does not support a "text" parameter, while the "Si" format does. (By specification, the "SL" format was designed to tell the browser to connect to a URL without user intervention. however, for security reasons, mobile phones will always display a prompt before connecting to a URL. therefore, the lack of a text parameter makes the "SL" format considerably less user-friendly than the "Si" format, and in practice, most users will exclusively use the "si" format .)

17. 2-way SMS
The "2-way" configuration contains settings relevant to the creation of 2-way applications that can receive SMS messages, and return a response based upon the content of the specified ed SMS message. when an SMS message is wrongly Ed, the gateway will evaluate the content of the message, and can either execute a program, or connect to an http url, based on the content of the message.

Connect nowsms to operator mmsc
==========================================================

By default, the now SMS/MMS gateway will act as an mmsc and perform direct
Delivery of MMS messages to recipients using a combination of SMS and WAP
Technologies.

1. Receive/send MMS through the mmsc of the carrier
Nowsms can use a GSM/GPRS modem to send and receive MMS messages via an operator mmsc. the nowsms sends and ipves MMS messages using the same protocol that is used by the MMS client in a mobile phone, so it simply requires that the SIM card in your mobile phone be provisioned by your mobile operator for MMS support.
1) Send MMS
When sending an MMS Message, The nowsms initiates a GPRS connection to the mobile operator, it then makes a connection to the operator WAP Gateway, and submits the MMS Message over this WAP and GPRS connection to the mobile operator's mmsc.
2) receive MMS
When processing ing an MMS Message, the gateway first has es an MMS notification
Message via SMS. When this special notification message is received Ed,
Gateway initiates a GPRS connection to the mobile operator, and a connection
To the operator WAP Gateway over GPRS, In order to retrieve the content of
MMS Message from the mobile operator's mmsc.
Note: When a gsm phone or GSM Modem between es an MMS Message, what it actually
Specified ES is an MMS notification message. the MMS notification message arrives via an SMS message (usually two concatenated SMS messages ). the MMS notification message contains header information about the MMS Message, plus a URL pointer (e.g ., to the actual MMS content.
Note that you can still not use an MMS compatible phone as a GSM Modem if you want to be able to receive MMS messages through the gateway. this is because an MMS compatible phone intercepts the MMS notification and tries to process it automatically, never forwarding it to the gateway. you must use a GSM/GPRS modem device to take advantage of this feature.

2. Be careful with carrier restrictions
The reason that it wocould not work in advance installations is that the operator mmscs were either firewalled off so that they were inaccessible from the Internet, or they were on private IP addresses within the operator network.

3. configuration information
You will need to determine the gprs apn (Access Point name), the IP address of the WAP Gateway, and the mmsc Message Server URL that are used for sending/processing ing MMS via your operator network.
1) "WAP gateway IP address" shoshould contain the IP address of the operator WAP gateway which will act as a proxy for connections to the mmsc.

4. mmsc route
Mmsc routings can use MM1-a binary format for transmitting MMS messages using http post. this is the protocol that is used for phone to phone MMS, so if you are routing messages to an operator mmsc over a GPRS connection.

The "route messages to this account for recipient phone number (s)" field is an address mask for defining which recipient phone numbers shoshould be routed to this account. for example, "+ 44 *" wowould route all messages for the UK country code (44) to this connection. when multiple address masks are defined, They shocould be separated by a comma only (,) and no white space characters.

Note that when you are using MM1 to connect with an operator mmsc over GRPS, this "server address" is the "MMS server URL" that wocould normally be configured on a mobile phone to connect with the operator mmsc.

MMS in nowsms
==========================================================

When you send an MMS Message with nowsms, this can be done using either of the following deployments:

1. Direct MMS delivery.
In this processing ing, nowsms is an mmsc. the MMS Message content is stored on the nowsms, And the gateway publishes a dynamic URL for access to the MMS Message content. the gateway generates an MMS notification message to the recipient device which is sent over sms, and this notification includes des a URL pointer back to the MMS Message content on the nowsms server.

2. Send the message through the operator mmsc.
Nowsms supports all of the major MMS related protocols, including mm7, mm4, MM1 and eaif for this purpose. but most frequently, what we see is the use of MM1 where nowsms makes a GPRS connection over a GSM/GPRS Modem, connects to the operator WAP gateway that is designated for MMS usage by the operator, and submits the message to the operator mmsc via the WAP Gateway over the GPRS connection.
(The operator MMS gateway then generates the dynamic URL and MMS notification message that is ultimately encoded ed by the recipient device .)

The MMS Message file format consists of an MMS Message binary header, followed by a multipart mime message where the multipart message is encoded in a binary multipart format as defined by the WAP Wireless Session Protocol (WSP) specification. this binary MMS Message file is stored on a Web server using a MIME type of application/vnd. WAP. mmsmessage and an MMS Message Type of M-retrieve-Conf. A subset of the binary MMS header is sent as an MMS notification message (MMS Message Type mnotification-Ind) via SMS to the mobile device together with a URL pointer to the location of the complete message.

Once an MMS Message file has been built and published via a Web server,
MMS notification message can be sent by the gateway using the following URL
Format:

Before sending the MMS notification message, the gateway will validate that the MMS Message file is of the MIME type application/vnd. WAP. MMS-message, and is of the MMS Message Type mretrieve-Conf.

The mmscomp utility is provided to assist in the creation of MMS Message files.

Nowsms usage tips
==========================================================

1. View nowsms log information
In "Management Tools"-> "Event Viewer"-> "application", you can view the error information of nowsms during startup and use! If an error occurs during "connect to sms modem", run "Remove service" in SMSC and add "GSM Modem" again ";
(The gateway always logs when its services are started and stopped. additionally errors are reported to the event log if a participant SMSC interface fails to initialize, and when a user account exceeds their defined message quota for sending messages .)

2. Set it to debug mode
Modify the configuration file smsgw. INI/mmsgw. ini and add DEBUG = yes to [smsgw] So that debugging information is written to the MMSC-yyyymmdd.LOG, smsdebug. log, and SMSOUT-yyyymmdd.LOG;

3. query MMS sending status
If you receive an error message when sending MMS, first check the mmsc configuration on your phone; then you can view the MMSC-yyyymmdd.log under the gateway directory; upstream MMS is stored in the date directory under/mmscdata

Terms
==========================================================

Smpp (Short Message Peer to Peer) Short Message Point-to-Point Protocol. smpp is used between the gateway and the short message center.
CMPP (China Mobile Peer to Peer) China Mobile Point-to-Point Protocol. CMPP protocol is used between the gateway and the SP.
The Open Mobile Alliance (OMA) provides public standards for the mobile industry to help create interoperability services that meet user needs and run across countries, carriers, and mobile terminals.
3G Partnership Project 3G Partnership Plan
Http: // 127.0.0.1: 8800 /? Phonenumber = xxx &... Th/filename. mmshttp: // host/path/file. MMS) http: // 127.0.0.1: 8800 /? Phonenumber = xxx & text = xxxhttp: // x. x/username = passwordhttp: // www.nowsms.com/


Http://www.msuniversity.edu.cn
Blog: http://spaces.msn.com/leslieshi/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.