Tuesday, September 20, 2011

SMSC (short message service center)

SMSC  (short message service center)
When a user sends a text message (SMS message) to another user, the message gets stored in the SMSC (short message service center) which delivers it to the destination user when they are available. This is a store and forward option.
An SMS center (SMSC) is responsible for handling the SMS operations of a wireless network.
  1. When an SMS message is sent from a mobile phone, it will reach an SMS center first.
  2. The SMS center then forwards the SMS message towards the destination.
  3. The main duty of an SMSC is to route SMS messages and regulate the process. If the recipient is unavailable (for example, when the mobile phone is switched off), the SMSC will store the SMS message.
  4. It will forward the SMS message when the recipient is available.
I. Validity Period of an SMS Message - An SMS message is stored temporarily in the SMS center if the recipient mobile phone is offline. It is possible to specify a cutoff period after which the SMS message will be deleted from the SMS center. Once deleted, the SMS message will no longer be available for dispatch to the recipient mobile phone (even if it becomes online).
II. Message Status Reports - The SMS sender needs to set a flag in the SMS message to notify the SMS center that he wants the status report about the delivery of this SMS message. This status report is sent to the SMS sender in the form of an SMS....
The Short Message Service is realised by the use of the Mobile Application Part (MAP) of the SS#7 protocol, with Short Message protocol elements being transported across the network as fields within the MAP messages.[1] These MAP messages may be transported using 'traditional' TDM based signalling, or over IP using SIGTRAN and an appropriate adaptation layer. The Short Message protocol itself is defined by 3GPP TS 23.040 for the Short Message Service - Point to Point (SMS-PP),[2] and 3GPP TS 23.041 for the Cell Broadcast Service (CBS).[3]
Four MAP procedures are defined for the control of the Short Message Service:[1]
  • Mobile Originated (MO) short message service transfer;
  • Mobile Terminated (MT) short message service transfer;
  • Short message alert procedure;
  • Short message waiting data set procedure.

Contents

 [hide]

[edit]MO short message service transfer

Call flow for the Mobile Originated short message service
The diagram to the right depicts a simplified call flow for a successful submission of a mobile originated short message.[1]
When the subscriber sends a short message, the handset sends the text message over the air interface to theVMSC/SGSN. Along with the actual text of the short message, the destination address of the SM and the address of the Short Message Service Centre (SMSC) are included, the latter taken from the handset's configuration stored on the SIM card.[4]
Regardless of the air interface technology, the VMSC/SGSN invokes the MAP service package MAP_MO_FORWARD_SHORT_MESSAGE to send the text to the Interworking MSC of the Service Centre whose address was provided by the handset. This service sends the mo-ForwardSMa[›] MAP operation to the SMSC identified in the SM Submission from the handset, embedded within a Transaction Capabilities Application Part(TCAP) message, and transported over the core network using the Signalling Connection Control Part (SCCP).[1]
The Interworking MSC of the SMSC, on receipt of the MAP mo-ForwardSM message, passes the SMS-PP[2]Application Protocol Data Unit (APDU) containing the text message to the actual Service Centre (SC) of the SMSC for storing, and subsequent 'forwarding' (delivery) to the destination address and the SC returns an acknowledgement indicating success or failure. On receipt of this submission status from the Service Centre, the Interworking MSC will send an appropriate indication back to the VMSC/SGSN of the sending subscriber. The message submission status is then forwarded, over the air interface, to the subscriber's handset.[4]b[›]

[edit]MT short message service transfer

Call flow for the Mobile Terminated short message service
The figure to the right depicts a call flow for Mobile Terminated short message delivery.[1] For the sake of simplicity, some of the interactions between the VMSC and VLR, and VMSC and Handset, have been omitted, and only the case when SMS home routing is not in use is shown.
When the SMSC determines it needs to attempt to deliver a short message to its destination, it will send the SMS-PP APDU containing the text message, the 'B-Party' (destination phone number) and other details to the Gateway MSC (GMSC) logical component on the SMSC.[2] The GMSC, on receipt of this short message, needs to discover the location of the B-Party in order to be able to correctly deliver the text to the recipient (the term Gateway MSC, in this context, indicating an MSC that is obtaining routing information from the Home Location Register (HLR)). To do this, the GMSC invokes the MAP service package MAP_SEND_ROUTING_INFO_FOR_SM, which sends a sendRoutingInfoForSM (SRI-for-SM) MAP message to the destination number's HLR, requesting their present location. This SRI-for-SM message may be sent to an HLR in the same network as the SMSC, or via an interconnect to an HLR in a foreign PLMN, depending on which network the destination subscriber belongs to.
The HLR performs a database lookup to retrieve the B-Party's current location, and returns it in an acknowledgement message to the SMSC's GMSC entity. The current location may be the MSC address the subscriber is currently roaming on, the SGSN address, or both. The HLR may also return a failure, if it considers the destination to be unavailable for short messaging; see the Failed short message delivery section below.
Having obtained the routing information from the HLR, the GMSC will attempt to deliver the short message to its recipient. This is done by invoking the MAP_MT_FORWARD_SHORT_MESSAGE service, which sends a MAP mt-ForwardSMc[›] message to the address returned by the HLR, regardless of whether it is an MSC (Circuit Switched SMS delivery) or an SGSN (Packet Switched SMS delivery).
The VMSC will request the information needed for it to deliver the Short Message to its recipient by sending a Send_Info_for_MT_SMS message to the VLR. The VLR will then instigate a page request, or subscriber search, for the destination subscriber's Mobile Subscriber ISDN Number (MSISDN), and return the result to the VMSC. Since a typical deployment sees the VLR being co-located with the MSC, this message flow is usually internal to the platform.d[›] Should the page or search for the subscriber fail, the VLR will indicate the failure cause to the VMSC which will abort the Short Message delivery procedure and return the failure to the SMSC (see the Failed short message delivery section below). If the page of the handset was successful, the VMSC will then send to the SMSC indicating successful delivery. The GMSC component of the SMSC passes the result of the delivery attempt to the Service Centre. In the case of successful delivery, the delivered text message will be removed from the Store and Forward Engine (SFE) and, if requested, a delivery report sent to the text originator.[2] If the delivery failed, the SMSC invokes a retry procedure to periodically make further attempts at delivery; additionally, it may register with the HLR to receive a notification when the B-Party becomes available for short message delivery in the future (see the Failed short message delivery section below).

[edit]Failed short message delivery

When the VMSC/SGSN indicates a short message delivery failure, the SMSC may send a message to the HLR, using the MAP_REPORT_SM_DELIVERY_STATUS procedure, indicating the reason for the delivery failure and requesting that the SMSC be put on a list of service centres wanting to be notified when the destination party becomes available again. The HLR will set a flag against the destination account, indicating that it is unavailable for short message delivery, and store the SMSC's address in the Message Waiting Data (MWD) list for the destination party. Valid flags are Mobile Not Reachable Flag (MNRF), Memory Capacity Exceeded Flag (MCEF) and Mobile Not Reachable for GPRS (MNRG). The HLR will now start responding to SRI-for-SM requests with a failure, indicating the failure reason, and will automatically add the requesting SMSC's address to the MWD list for the destination party. (However if the SRI-for-SM message has priority flag set then the HLR will reply with VLR address if available)
The HLR may be informed of a subscriber becoming available for short message delivery in several ways:
  • Where the subscriber has been detached from the network, a reattach will trigger a Location Update to the HLR.
  • Where the subscriber has been out of coverage, but not fully detached from the network, on coming back into coverage it will respond to page requests from the Visitor Location Register (VLR). The VLR will then send a Ready-for-SM (mobile present) message to the HLR.
  • Where the MS has had its memory full, and the subscriber deletes some texts, a Ready-for-SM (memory available) message is sent from the VMSC/VLR to the HLR.
Upon receipt of an indication that the destination party is now ready to receive short messages, the HLR sends an AlertSC MAP message to each of the SMSCs registered in the MWD list for the subscriber, causing the SMSC to start the Short Message delivery process again, from the beginning.[1]
Additionally, the SMSC will go into a retry schedule, attempting to periodically deliver the SM without getting an alert. The retry schedule interval will depend on the original failure cause - transient network failures will result in short retry schedule, whereas out of coverage will typically result in a longer schedule.-

[edit]MAP Transport Protocols

While the MAP 3GPP specifications make some effort to divorce MAP from the layer that transports it, the typical transport is via TCAP which in turn is via SCCP/MTP[1-3] and/or SIGTRAN protocols (SUA, M3UA etc.).
A MAP_OPEN construct therefore is directly related to a TCAP_BEGIN with a MAP application context, a MAP_CLOSE is a TCAP_END.
If a message is being delivered using MAP phase 2 or higher, and over MTP rather than SIGTRAN then the maximum MTP PDU size may cause the sender to instigate segmented message sending. This process is not related to concatenation, but simply means that the transaction with the MSC/SMSC/SGSN involves more steps than usual. The recommended way[1] is an empty TCAP_BEGIN, followed by the MAP content within a TCAP_CONTINUE, and completing with a TCAP_END. The TCAP_BEGIN has TCAP related information that would otherwise cause the limit to be exceeded due to the additional fields added by MAP phase 2. The exact point that segmentation is required is dependent on factors such as the length of the addresses but is mainly dependent on the message length itself. 7 bit alphabet messages that are 140 characters or greater are typically subject to the MAP segmentation procedure.
This segmentation procedure is also increasingly followed, and optionally enforced, by carriers to avoid SMS spoofing impacting their customers. This works because the sending party must receive the responses in order to send a message and so their originating address must be correct.

[edit]Notes

^ a: In MAP Phase 1, there was no segregation of operation code for Mobile Originated and Mobile Terminated SMS messages, just a generic ForwardSM operation.
^ b: A success indication in these contexts is only a notification that the SM has been submitted to the Service Centre, and does not mean successful delivery to the ultimate destination of the text message.
^ c: Although MAP (phase 2 onwards) specifies a separate operation for mobile terminated short message delivery, often the mo-ForwardSM operation is used instead. Where this is the case, mobile originated and terminated messages are distinguished by the inclusion, in the TCAP dialogue portion, of an appropriate Application Context (AC). The relevant ACs are shortMessageMO-RelayContext and shortMessageMT-RelayContext. This use of a single operation code enables simple backwards compatibility with MAP phase 1 networks, which do not have separate operations for MO and MT short messages.
^ d: These messages are not used by an SGSN.

For more information please contact : sandip@routesms.com
Website: www.routesms.com

SMS , Text Messages to Keep Parents updated on kids performance through SMS

<---Parents to be updated on kids performance through SMS!---> The school authorities have introduced the SMS system wherein parents will be informed about their child's activities and other issues on their cell phones through text messaging. A database of students of the primary wing has also prepared for the purpose. Discussing the endeavour, Indu Sharma, primary section in charge said, "Sending circular causes wastage of paper. We have to provide information to parents on various issues and sometimes student forget to convey information to their guardians. As such, we thought of informing them through text messaging." So we are bound to send the written information and sometimes even such an exigency appears that it takes lot of time to phone every parent so we prepared the data base of students and have started sending messages to the students. Indu said during the recent rainfall which lashed the city, all roads were blocked and the authorities had to announce a holiday. As such, the need for such a facility arises. "We can inform parents well in advance about any emergency situation. It's a fast way of communication,' Indu said. Meanwhile, another school to follow suit is Sacred Heart Convent School, Sarabha Nagar, which started the practice last year. Text messages are sent to parents of students missing school, classes or examinations. Meanwhile, parents have hailed the decision. Pankaj Khurana, father of a class IX student said, "Students are quite young to understand what is right and wrong for them. If parents are informed well in time, they can easily counsel their children and keep a on them." Talking on similar lines, another parent said, "The move is highly appreciable. Parents cannot go to the school everyday to keep a check on their children. It is great that they will be updated on various issues happening in the schools."

For more information please contact : sandip@routesms.com
Website: www.routesms.com

Web via Mobile

40 Million Indians access web via mobile--> Indian internet users are vehemently using their mobiles to keep themselves connected to Internet. Thirty-eight million Indians use their handsets to browse the web. The number of people using their mobile handsets to access the web is now over four times those using a PC. The findings based on a report of the Telecommunications Regulatory Authority of India (TRAI) also stated that even as net connections fell in the year 2007, the number of people accessing the web on their cellphones increased from16 million to cross the 38 million mark. This included both CDMA and GSM users logging on to the Internet to surf, check email etc, among whom the number of 'active' Internet users in India currently stands at 32.2 million. The average usage per week on the traditional web stood at 2.4 days. Access using Mobile web surprisingly stood slightly higher at 2.7 days per week. A report on mobile expansion by the Centre for Telecoms Research (CTR), London said that mobile phone connections in India will reach 600 million in five years time as handsets and tariffs become more affordable for the urban population. The report is made on the backdrop of the assumption that within the next five years, urban populations of India will reach high levels of mobile phone saturation, to the extent where many phone users will have two or more handset connections. A large portion of this growth will arise from pre-paid connections, driven by the increasing affordability of handsets and tariffs amongst India's lower middle classes. D. Shivakumar, Managing Director of Nokia India said, "The average usage of the web on the PC per week stood at 2.4 days, while the use of mobile web surprisingly stood slightly higher at 2.7 days per week."

For more information please contact : sandip@routesms.com
Website: www.routesms.com

Mobile Financial Services

Mobile Financial Services" New High Margin Revenue Streams The proliferation of mobile phones globally together with the de-regulation of the financial services market has provided new opportunities for trusted brands. Suddenly companies with millions of customers and broad distribution channels, be they mobile operators, retailers or on-line brands, have an opportunity to participate in the high margins of financial services, previously enjoyed by banks and associated financial services companies. However, with this comes steep a learning curve, change management issues and severe penalties by financial services authorities for negligence. A number of questions need to be addressed. How can we understand the regulatory minefield including Knowing Your Customer (KYC), Anti-Money Laundering (AML), Countering the Financing of Terrorism (CFT)? How can employees, distribution channels and customers be educated on these new products? What services will our customer base want and why?Mobile Financial Services has built a set of technology and service capabilities to address these challenges and provide end to end solutions to add value in our business to business delivery mode.
For more information please contact : sandip@routesms.com

Website: www.routesms.com

SMS Spoofing

SMS spoofing The GSM industry has identified a number of potential fraud attacks on mobile operators that are caused by abuse of SMS messaging services. The most serious of these threats is SMS Spoofing. SMS Spoofing occurs when a fraudster manipulates address information in order to impersonate a user that has roamed onto a foreign network and is submitting messages to the home network. Frequently, these messages are addressed to destinations outside the home network – with the home SMSC essentially being “hijacked” to send messages into other networks. The only 100%-sure way of detecting and blocking spoofed messages is to screen incoming mobile originated messages to verify that the sender is a valid subscriber and that the message is coming from a valid and correct location. This can be implemented by adding an intelligent routing function to the network that can query originating subscriber details from the HLR before the message is submitted for delivery. This kind of intelligent routing function is beyond the capabilities of legacy messaging infrastructure.

For more information please contact : sandip@routesms.com

Website: www.routesms.com

WAP

Protocol design lessons from WAP The original WAP was a simple platform for access to web-like WML services and e-mail using mobile phones in Europe and the SE Asian regions and continues today with a considerable user base. The later versions of WAP were primarily for the United States region and was designed for a different requirement - to enable full web XHTML access using mobile devices with a higher specification and cost, and with a higher degree of software complexity. There has been considerable discussion about whether the WAP protocol design was appropriate. Some have suggested that the bandwidth-sparing simple interface of Gopher would be a better match for mobile phones and Personal digital assistants (PDAs).[19] The initial design of WAP was specifically aimed at protocol independence across a range of different protocols (SMS, IP over PPP over a circuit switched bearer, IP over GPRS, etc). This has led to a protocol considerably more complex than an approach directly over IP might have caused. Most controversial, especially for many from the IP side, was the design of WAP over IP. WAP's transmission layer protocol, WTP, uses its own retransmission mechanisms over UDP to attempt to solve the problem of the inadequacy of TCP over high packet loss networks.
WAP 2.0 WAP 2.0 released in 2002 is a re-engineering of WAP using a cut-down version of XHTML with end-to-end HTTP (i.e., dropping the gateway and custom protocol suite used to communicate with it). A WAP gateway can be used in conjunction with WAP 2.0; however, in this scenario, it is used as a standard proxy server. The WAP gateway's role would then shift from one of translation to adding additional information to each request. This would be configured by the operator and could include telephone numbers, location, billing information, and handset information. XHTML Mobile Profile (XHTML MP), the markup language defined in WAP 2.0, is made to work in mobile devices. It is a subset of XHTML and a superset of XHTML Basic. A version of cascading style sheets (CSS) called WAP CSS is supported by XHTML MP.
The WAP Forum was founded in 1997. The forum’s main aim was to bring together the various wireless technologies by a standardised protocol. In 2002 the WAP Forum was consolidated (along with many other forums of the industry) into OMA (Open Mobile Alliance), which covers virtually everything in future development of wireless data services.WAP 1.X The WAP 1.0 standard was released in April 1998 and described a complete software stack for mobile internet access.WAP version 1.1 was released in 1999.[5]. WAP 1.2, the final update of the 1.X series was released in June 2000.[6]. The most important addition in version 1.2 was WAP push.WAP Push WAP Push Process WAP Push has been incorporated into the pecification to allow WAP content to be pushed to the mobile handset with minimum user intervention. A WAP Push is basically a specially encoded message which includes a link to a WAP address.WAP Push is specified on top of WDP; as such, it can be delivered over any WDP-supported bearer, such as GPRS or SMS.[9] In most GSM networks there are a wide range of modified processors, but GPRS activation from the network is not generally supported, so WAP Push messages have to be delivered on top of the SMS bearer.On receiving a WAP Push, a WAP 1.2 or later enabled handset will automatically give the user the option to access the WAP content. This is also known as WAP Push SI (Service Indication).The network entity that processes WAP Pushes and delivers them over an IP or SMS Bearer is known as a Push Proxy Gateway (PPG).
For More Information contact us @ sandip@routesms.com
Visit  us : www.routesms.com

MMS

Multimedia Messaging Service, or MMS, is a telecommunications standard for sending messages that include multimedia objects (images, audio, video, rich text). MMS is an extension of the SMS standard, allowing longer message lengths and using WAP to display the content. Its most popular use is sending photographs from camera-equipped handsets, although it is also popular as a method of delivering ringtones as well. The standard is developed by the Open Mobile Alliance (OMA), although during development it was part of the 3GPP and WAP groups.MMS messages are delivered in a fashion almost identical to SMS, but any multimedia content is first encoded and inserted into a text message in a fashion similar to sending a MIME e-mail. MMS defines a subset of MIME content formats in the MMS Message Encapsulation specification. The message is then forwarded to the carrier's MMS store and forward server, the "MMS relay". If the receiver is on another carrier, the relay forwards the message to the recipient's carrier using the Internet.[1] Once it reaches the correct MMS relay for the receiver, the content is extracted and sent to a temporary storage server (often the same process as the relay) with an HTTP front-end. An SMS "control message" containing the URL of the content is then sent to the recipient's handset to trigger the receiver's WAP browser to open and receive the content from the embedded URL. Several other messages are exchanged to indicate status of the delivery attempt.[2] Some installations also include a conversion service that will attempt to modify the multimedia content into a format suitable for the receiver. This is known as "content adaptation". E-mail and web-based gateways to the MMS (and SMS) system are common. On the reception side, the content servers can typically receive service requests both from WAP and normal HTTP browsers, so delivery via the web is simple. For sending from external sources to handsets, most carriers allow MIME encoded message to be sent to the receiver's phone number with a special domain.
For More information contact us at : sandip@routesms.com