configure subscriber-mgmt
category-map "cat-map-1" create
activity-threshold 10
category "cat-1" create
description "Time interim credit per category"
default-credit time 900
rating-group 1
queue 1 ingress-egress
exit
category "cat-2" create
description "Volume interim credit per category"
default-credit volume 10 megabytes
rating-group 2
queue 2 ingress-egress
exit
category "cat-3" create
no default-credit
rating-group 3
queue 3 ingress-egress
exit
exit
diameter-application-policy gy-1 create
--- snip ---
on-failure handling continue
gy
--- snip ---
extended-failure-handling
new-session-id
interim-credit
reporting
volume 100 megabytes
validity-time 900
max-attempts 96
exit
no shutdown
exit
exit
exit
In this example, EFH is enabled and when active, the following interim credit is assigned:
900 s of time interim credit to rating group 1 (category cat-1) with a validity time of 900 s. The activity threshold applies. When the usage stays below 10 kbytes/s, no time credit is used.
10 Mbytes of volume interim credit to rating group 2 (category cat-2) with a validity time of 900 s
100 Mbytes of volume interim credit to rating group 3 (category cat-3) with a validity time of 900 s
For inactive users, the validity time ensures that new Diameter Gy session connection attempts with the OCS are made at regular intervals.
For each attempt to establish a Diameter Gy session with the OCS, a new session ID is used.
When a new Diameter Gy session is successfully established, the EFH unreported credit for each rating group is included in the used service units when reporting is triggered for that rating group on the new Diameter Gy session.
When no new Diameter Gy session is established after 96 attempts, the user session is terminated; that is, the subscriber hosts are deleted from the system.