A method of a traffic detection function device, hereinafter TDF device, of a telecommunications network having a policy and charging rules function server, hereinafter PCRF server, and a content delivery server, the method comprising the steps of:
- receiving at a network interface unit of the TDF device a remaining quota and subscriber habits on user session and services sessions basis for a user session identified by a user identifier;
- storing the remaining quota and subscriber habits on user session and services sessions basis for the user identifier in a memory of the TDF device;
- detecting a particular service session for the user identifier by a processing unit of the TDF device;
- determining by the processing unit of the TDF device the remaining quota for the user session and for the particular service session;
- sending from the network interface unit of the TDF device the remaining quota and the subscriber habits to the content delivery server;
- monitoring with the processing unit of the TDF device traffic for the user session and for the particular service session;
- providing a usage monitoring information for the user session and for the particular service session to the PCRF server;
- receiving at the network interface unit updated remaining quota and updated subscriber habits for the user identifier recalculated by the PCRF server, wherein the updated subscriber habits take into account a last time the user identifier connected to the network;
- and
- storing the updated remaining quota and updated subscriber habits for the user identifier in the memory of the TDF device.