s13/s13' (Equipment Status Check) [MME <--> EIR]

As s6a/s6d is a single interface; here s13/s13' is also a single interface because both uses the single application id 16777252. This interface is used MME/SGSN and EIR; MME/SGSN triggers a message ECR to check the whether a equipment used by subscriber is valid or notEIR is the database that contains the status pertaining to an equipment. Generally EIR and HSS are merged together as telecom operator merges AuC and HSS. 

How does equipment check take place?
  • Operator shall provision the status of  UE (Mobile phone) to one of the below give values. 
  • In attach procedure MME/SGSN  checks the Terminal Information sent by UE(User equipment) in EIR before giving services to the subscriber who is using that UE if it found that sent information is not in database (EIR)then EIR shall send   ; otherwise EIR shall send the equipment state along with Result-Code avp set to DIAMETER_SUCCESS.
  • After Receiving ECA from EIR MME/SGSN process it. MME/SGSN shall check the status of equipment and then perform the action that is locally configured at MME/SGSN on the a basis of received status.
  • Sometime MME/SGSN shall send the subscriber identity IMSI to EIR in User-Name AVP if MME/SGSN has subscriber identity. This is to inform that currently given subscriber is using this equipment.

Message Flow on s13/s13' interfaces
UE:   User Equipment
EIR:  Equipment Identity Register
HSS:  Home Subscriber Server
AuC:  Authentication Center
MME:  Mobility Management Entity
SGSN: Serving GPRS Support Node

An equipment can be uniquely identified by a string of characters (generally digits) that can be classified in following depending upon the usage/type/software of equipment.
1) IMEI/IMEI-SV :Click on IMEI/IMEI-SV for detailed information. 
2) 3GPP2-MEID :Click on 3GPP2-MEID for detailed information.

An equipment can have one of the following status and usage of status are self-explanatory.
(0)Whitelist :- An authenticated equipment.
(1)Blacklist :- It is stolen; services need to be terminated.
(2)Greylist :- It is the intermediate state of whitelist and blacklist. Telecom operator can use this state proprietorially like activate tracing for equipment etc. 

Telecom operator sets the status of an equipment; as per the guidance of telecom governing bodies as well as the customers request.

s13/s13' contains single message ECR/ECA as following.

ME-Identity-Check-Request (ECR)
Message Format
<ME-Identity-Check-Request>::=<Diameter Header:324,REQ,PXY,16777252>
< Session-Id >
[ Vendor-Specific-Application-Id ]
        { Auth-Session-State }
{ Origin-Host }
        { Origin-Realm }
        [ Destination-Host ]
{ Destination-Realm }
        { Terminal-Information }
        [ User-Name ]
       *[ AVP ]
       *[ Proxy-Info ]
       *[ Route-Record ]
Terminal Information ::= <AVP header: 1401 10415>
[IMEI]
[3GPP2-MEID]
[Software-Version]

*[AVP]
ME-Identity-Check-Answer (ECA) Command
Message Format
<ME-Identity-Check-Answer>::=<Diameter Header:324,PXY,16777252>
< Session-Id >
[ Vendor-Specific-Application-Id ]
[ Result-Code ]
        [ Experimental-Result ] 
        { Auth-Session-State }
        { Origin-Host }
        { Origin-Realm }
        [ Equipment-Status ]
       *[ AVP ]
       *[ Failed-AVP ]
       *[ Proxy-Info ]
       *[ Route-Record ]

Your Comments /Suggestions and Questions are always welcome,  shall clarify with best of our knowledge. So feel free to put Questions.

15 comments:

  1. Thanks For Sharing the Information

    For more info : Imei Checker

    ReplyDelete
  2. Is the Vendor-Specific-Application-Id AVP mandatory?

    ReplyDelete
    Replies
    1. Hi Subhasish

      The Vendor-Specific-Application-ID is included as an optional AVP in all commands in order to ensure interoperability with diameter agents following a strict implementation of IETF RFC 3588 , by which messages not including this AVP will be rejected. IETF RFC 3588 indicates that the AVP shall be present in all proxiable commands, such as those specified here, despite that the contents of this AVP are redundant since the Application ID is already present in the command header. This AVP may be removed in subsequent revisions of this specification, once the diameter base protocol is updated accordingly.


      Thanks for your query.
      Happy to help you again
      Team-Diameter

      Delete
  3. Thanks for this post is very informative and interesting.all the points are very useful. Simple but very effective writing. Thanks for sharing such a nice post.


    Packers and Movers ECR

    ReplyDelete
  4. hi team.
    FIRST THANKS FOR YOUR DETAILS/EXPLANATION
    please we have link between SGSN via STP to EIR and also link between EIR and MME.The problem is when eir respond status as blacklisted,sgsn receive it as whitelisted(which means the phone is blacklisted on voice and sms but subscriber will still get data service)
    please any one with solution please help.

    ReplyDelete
    Replies
    1. Hi Peter,

      I couldn't get your this statement of your question -"The problem is when eir respond status as blacklisted,sgsn receive it as whitelisted".
      Do you mean:
      1. EIR sends "whitelisted" status to STP but SGSN receives it as "blacklisted"?[This is not possible as STP doesn't modify MAP part]
      2. EIR sends "blacklisted" status to MME but "whitelisted" status to SGSN?

      Can you please elaborate this.

      Delete
  5. Hi every one ..i need a complete details on S13/s13' Diameter protocol thats from where 3gpp tooks these information ECR & ECA Messages ...i need a complete documents only on s13/s13' ECR and ECA..it will be very helpful for my Research...

    ReplyDelete
    Replies
    1. Hi

      3gpp 29272 shall help you.


      Thanks for your query.
      Happy to help you again
      Team-Diameter

      Delete

  6. free parking software
    apartments
    violation management
    Free Parking Software for Town Houses, Condominiums, and Businesses Solves Parking Problems
    Searching for a parking space is such as frustrating routine activity for lots of people in cities all over the world. This search is burning over a million barrels of oil of the world each day. There are also 4-parking spaces every vehicle in the US and almost all streets are most of the time, empty, which leads to urban environments that are ironically doing far more to accommodate the vehicles than people. As the global population continuously urbanize, without a convenience-driven and well-planned retreat from cars, these sort of parking problems will worsen.
    http://webparkingsoftware.com software is the first step in the right decision. It involves using low-cost sensors, mobile phone-enabled, and real time data collection automated payment systems enabling people to reserve parking in advance or predict accurately where they can find a spot. When deployed as a system, free parking software thereby reduces car emissions in the urban centers by means of reducing the necessity for the people to circle the city blocks needlessly searching for parking. Furthermore, it permits the cities to manage their parking supply carefully.
    This free parking software is now being developed in many different states and cities around the United States and some other countries. For instance, in LA, smart meters and low-power sensors are tracking the occupancy of parking spaces across the Hollywood district, one of the most congested areas. The users will be able to access this occupancy data in order to determine the availability of the spots and then pay for them with their mobile phones. Other than the environmental benefits and lending convenience, free parking software is improving the utilization of the current parking, which lead to greater revenue for parking owners.
    These programs will be able to make great differences on a neighborhood level, but more widespread development and deployment is necessary for free parking software to change the cities and to contribute to the transportation sector pollution reductions greenhouse gas. One problem is that there are no citywide solutions all over the fragmented private and public parking providers. The occupancy data has a tendency to have many owners and is not accessible or standardized in a way that may enable software developers to turn into user-friendly applications. Thereby, individual smart parking efforts are so far successful locally, but uncoordinated, and operates in their own entrepreneurial or bureaucratic vacuums without a need to take gap between current free parking software and more widespread transportation system planning is an enormous missed opportunity for the cities to reduce the transportation related emissions.
    Moreover, free parking software has been hindered by a lack of insight into the complete benefits of this software, specifically when compared to the cost of building extra parking spaces. Lack of collaboration between communities with the parking software programs, as well as lack of coordination between hardware providers, municipalities, and developers is also contributing to the slower adoption of smart parking. Nevertheless, it is possible to overcome all these issues. Cities will be able further accelerate these advantages by means of updating the land use and building codes policies to reflect the reduced need for parking.

    ReplyDelete

  7. Amazing! I have gone through and found this blog very helpful for me.

    IT Services Austin
    Managed Service Provider Austin

    ReplyDelete
  8. How the S13 choose the eir of home location? Pls explain

    ReplyDelete
    Replies
    1. Hi

      HSS and EIR always be of HOME. there is no other provision.


      Happy to help you again.
      Team-Diameter

      Delete