top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is the Purpose of Using Validity-Time AVP in CCA?

+2 votes
3,440 views
What is the Purpose of Using Validity-Time AVP in CCA?
posted May 15, 2014 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

3 Answers

+3 votes

In short, when diameter client sends Credit-Control-Request command message to diameter server. Diameter server may include Validity-Time AVP with the Credit-Control-Answer message.

The intention to include such AVP is to set a validity period for a granted resources. If user is not able to granted resource within the validity period. Client again sends Credit-Control-Request message to server with the Update request rather than initial request .

answer May 15, 2014 by Vimal Kumar Mishra
+1 vote

The validity time will indicate the time the granted quota is considered valid. There is no default
value for the Validity-Time. If the AVP is missing then the associated quota is valid indefinitely.

This is to save resources.
Imagine situation you are browsing i.e. facebook before falling asleep. You were granted let say 10mb.
Now the OCS has to remember it has session opened with you, it granted you quota and waits for consumption report.
Also PGW/GGSN who is counting this quota is assigning the resources to keep all this information in memory.

It's easier to assign the time during the quota is valid and then report it back to OCS and "forget" all the information about your session.

answer May 16, 2014 by Bart Barton
Hello Bart, could you please give me some technical support for this answer? I'm not doubting, it's just that I need it.
thanks in advance!
+1 vote

The main purpose of using Validity-time is to ensure control by OCS on the GGSN to ensure that the allocated quota for consumption is put to use effectively within the stipulated time. The allocated quota (volume) to be consumed has the validity within that time frame specified by the QVT.
If the quota is not consumed fully, still the GGSN will communicate to the OCS (only with the validity time timer) on the Used value (USU) and the new request (RSU) based on the trend that is followed by the user in that session.
This ensures the optimal use of resources by the OCS on its end., - for capturing the user related data.

answer May 17, 2014 by N Maheshwar
Similar Questions
+2 votes

Does the GGSN have an internal validity time configuration to terminate a gprs session?

0 votes

Are there any benefits from adding a randomized value to CCA Validity-Time in order to reduce reporting storm to PCEF for voice calls. I think there is for non - duration grants - i.e data since number of data sessions are larger than voice calls.

+1 vote

The validity time is defined by IETF in Credit-control answer, but the same AVP is not used in 3GPP specification, but for my use case, can use it as IETF defined or make it customized AVP?

+3 votes

enter image description here

Hello,

For the CCR (Initial Request), the CCA is of the above format in my internal testsetup. This seems like Dynamic Rule configuration. I am not sure whether we need to send info like "Flow information" or TFT in CCA. This was answered earlier by Peeyush ( that it is not needed). But wanted to crosscheck the same ?

{ Imp Please Note: This is my initial basic implementation, so only basic necessary AVPs are handled. }

Thanks a lot for the comments and replies
~p

...