GPRS Attach Call Flow, GPRS Call Flow, PDP attach sequence, PDP context activation

GPRS Attach Call Flow, GPRS Call Flow, PDP attach sequence, PDP context activation


I will be covering sequence of events involved in a GPRS terminal attaching to a network and in PDP context activation. We can also call it as GPRS/Data location update and PDP context activation procedure.

GSM entities involved :
GSM coverage (CELL)
• BSS (BSC)
• Core Network (SGSN, DNS server, MSC VLR)
• GGSN site (GGSN, Radius Server, DHCP server)
• GSM Database (EIR, HLR)

When GPRS enabled MS is switched ON it initiates a GPRS attach request procedure. GPRS attach request contain old TMSI ( Temporary Mobile Subscriber Identity),Mobile Network Identity(MCC+MNC),location area code ( LAC),Routing area code ( RAC) information. The SGSN (Serving GPRS Support Node) searches for TMSI in its database. No entry is found for the TMSI, so the SGSN uses the old location area information to identify the old SGSN where this terminal was being served. The old SGSN responds with the GPRS mobile's IMSI (International Mobile Subscriber Identity) to the SGSN. The SGSN asks the terminal to identify itself. The terminal responds back. The SGSN authenticates the GPRS mobile by sending a RAND value (a random value). The SIM applies secret GSM The SGSN then requests the identity of the GPRS mobile. GPRS mobile responds back with the identity. IMEI Check Request Verify that that GPRS mobile being used by the user is not a stolen one. The IMEI (International Mobile Equipment Identity) obtained from the GPRS mobile is sent to the Equipment Identification Register (EIR).The EIR clears the subscriber and responds back to the SGSN with the status.
The SGSN now informs the Home Location Register (HLR) about the new location of the GPRS mobile. The HLR informs the old SGSN that the GPRS mobile has moved to a new location. The old SGSN acknowledges back. The HLR updates the new SGSN with all the subscriber information. The HLR updates the new SGSN with all the subscriber information. The SGSN responds back to the HLR.The HLR now responds back to the SGSN's "Update Location" message. The mobile had initiated a combined attach, so the SGSN also updates the location information at the MSC-VLR that will handle the voice calls. The MSC also initiates an update at the HLR. The sequence of actions here is identical to that of the SGSN's HLR update.

PDP context activation



Step1.
The GPRS enabled MS initiates PDP context activation procedure to obtain IP for the device. PDP context request from GPRS mobile contain APN (Access Point Name) provided by the service provider as a parameter.

Step2.
The request reaches SGSN using Gb interface (interface between service BSC (cell) and SGSN node), which initiates a DNS query to find the GGSN (Global GPRS support node) corresponding to the APN specified by the mobile. The DNS (Domain name server) provides the GGSN IP address.

Step3.
SGSN routes the PDP context activation query to the GGSN IP address provided by DNS query. The transmission link or interface between SGSN node and GGSN node is known as Gn interface.

Step4.
GGSN uses RADIUS server to authenticate GPRS subscription. RADIUS server replies with successful authentication status of GPRS subscription and replies back to GGSN.

Step5.
After successful authentication of GPRS subscription, GGSN will now query DHCP (Dynamic Host Control Protocol) server to allocate dynamic IP address for the GPRS mobile.

Step6.
 The GGSN responds back to SGSN indicating completion of PDP context activation procedure.

Step7.
SGSN responds back to the GPRS mobile, this signals completion of the PDP context activation procedure. Hope this precise tutorial was helpful to you, make sure to post your comments.

Do get back with your comments.....

Comments

  1. Hi Jitender, The content was very helpful... thank you for posting.

    Sekhar

    ReplyDelete
  2. Really concise & Excellent info , I learnt PDP context activation from you Thanks sir

    ReplyDelete
  3. Can you also cover the registration process with GPRS..i mean in CS call we get a service request from UE which translates to Initial Direct Transfer message in RRC.
    What is the equivalent of it in PS scenario.

    ReplyDelete
  4. Thx for the post.............it was very helpful

    ReplyDelete
  5. Concise and precise. Just what I needed. Thanks :)

    ReplyDelete
  6. Thanks a lot. It is really helpful...

    ReplyDelete
  7. Very helpful post.. thanks for posting it. I need one clarification. RADIUS server or AAA server is part of GGSN or seperate entity in network. And how the PDP session info will be sent to PDN.

    ReplyDelete
  8. very informative! Thanks!!

    ReplyDelete
  9. both are explained in easy way.
    thanks

    ReplyDelete
  10. Thanks.. If I get a job, then will double thank you :D

    ReplyDelete
  11. It's very helpful document.

    ReplyDelete
  12. Good one ..Brief , Precise and Crystal clear !!
    Better to add the roaming scenario for GPRS along with the handling at IN side ..

    ReplyDelete

Post a Comment

Popular posts from this blog

Diameter Protocol Result Codes , Error Codes , Success Codes with description