Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.
Buying anything on Amazon? Please use the Geekzone Amazon aff link.




2928 posts

Uber Geek
+1 received by user: 588

Trusted
Subscriber

Topic # 66108 12-Aug-2010 13:50 Send private message

Hi, a number of people have mentioned that it's annoying to have to disconnect and reconnect when you run out of funds, but then topup (and/or purchase a data bundle).

So, let me explain a little about how data charging works, and hopefully it will become clearer.

There are two elements involved in data charging: the GGSN (Gateway GPRS Support Node) and the IN (Intelligent Network). Unlike a voice call, where we use CAMEL, the GGSN-IN interaction (Gy in the 3GPP network - see here) uses the DIAMETER Credit Control Application. At 2degrees, we implement DCCA "Multi-Services Credit Control".

MSCC allows us to provide you with free access the self-care portal, for example, as well as the free content downloads from Toybox, and the WAP Portal.

At the device, you simply access data services. The GGSN classifies the traffic and encodes it as an MSCC Rating Group, which is passed to the IN for charging authorisation. Each instance of a new MSCC RG within a single DIAMETER session is passed up to the call control layer of the IN as a new call. Doing it this way allows us to rate each RG separately.

The GGSN requests chunks of allowed usage from the IN for each RG encountered. The IN may return allowed usage as volume (i.e. bytes), duration (i.e. seconds), not applicable (go for broke and don't bother me again) or reject the usage. For compatibility reasons we return volume usage even for free rating groups like self-care, so in practice we only use volume & rejection.

The IN typically attempts to grant usage in chunks of 1MB, which is a compromise between reserving big dollops of money for long periods when you're on but idle, and constant back-and-forth when you're using data quickly (downloading a big file over HSDPA).

At some point, you'll run out of data pack and/or credit. The GGSN will request more funds for some rating group (say, default) and the IN will say no.

As far as the IN is concerned, the call relating to the default rating group is now closed due to credit exhaustion. The GGSN, however, holds the PDP context and DIAMETER session open because you still may use other rating groups that have unused reservations remaining, or which are free (such as self-care, again).

If you topup at this point and attempt to use default again, the GGSN will ask for more default data in the existing DIAMETER session, but the IN has already closed the internal call down, and the attempt will be rejected (with a DIAMETER error, actually).

In order to start again, you need to end the PDP context and start a new one, which of course terminates the DIAMETER session and starts a new one.

There are two possible solutions to this issue:

1. Kill the whole PDP context when any RG is rejected. We can't do that, because that would defeat the purpose of free self-care portal.
2. Topup before you run out

If you topup or purchase a data pack before the final reservation is exhausted, then the next time the GGSN asks for a new reservation, there will be funds available, and you can carry on.

There are software updates to the IN coming shortly that will present you with warnings during the session (not after it's already over) to make it easier to topup before you're out of credit.





iPad Air + iPhone 5S + 2degrees 4tw!

These comments are my own and do not represent the opinions of 2degrees.

Create new topic
Minimalist
4842 posts

Uber Geek
+1 received by user: 136

Moderator
Trusted
Subscriber

  Reply # 366931 12-Aug-2010 19:45 Send private message

Thanks Salty.

And congratulations . . . you just won the award for using more mobile network acronyms than JohnR in a post, a feat no-one thought possible ;-)



2928 posts

Uber Geek
+1 received by user: 588

Trusted
Subscriber

  Reply # 366951 12-Aug-2010 20:58 Send private message

scottjpalmer: congratulations . . . you just won the award for using more mobile network acronyms than JohnR in a post, a feat no-one thought possible ;-)


And so I would like to add: w00t! :)




iPad Air + iPhone 5S + 2degrees 4tw!

These comments are my own and do not represent the opinions of 2degrees.

Create new topic




Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





Trending now »

Hot discussions in our forums right now:

My un-consented UFB install
Created by thurthur, last reply by MikeSkyrme on 29-Nov-2014 17:25 (85 replies)
Pages... 4 5 6


Excessive Vodafone Support call waiting times 75 mins and then i have to wait an hour for a callback
Created by i4n, last reply by quickymart on 29-Nov-2014 18:53 (40 replies)
Pages... 2 3


This is the end ...
Created by joker97, last reply by joker97 on 29-Nov-2014 13:32 (62 replies)
Pages... 3 4 5


Gigatown winner town and plans
Created by freitasm, last reply by NonprayingMantis on 29-Nov-2014 07:40 (78 replies)
Pages... 4 5 6


Gull Employment Dispute.
Created by networkn, last reply by richms on 28-Nov-2014 17:57 (153 replies)
Pages... 9 10 11


The Warehouse pulling R18 games and DVD's
Created by semigeek, last reply by Geektastic on 27-Nov-2014 18:32 (64 replies)
Pages... 3 4 5


Seen any good Black Friday / Cyber Monday deals?
Created by Jaxson, last reply by GJones on 29-Nov-2014 19:00 (29 replies)
Pages... 2


Star Wars: The Force Awakens Official Teaser
Created by plambrechtsen, last reply by joker97 on 29-Nov-2014 15:12 (13 replies)


Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.