Forum Discussion
abeny_894
Mar 07, 2012Nimbostratus
Diameter questions
Hi all, Good Day! I have a question about F5 LTM with Diameter need to seek advise, anybody can help?
For a Diameter (DCCA) charging, a CCR ( Initial, Update, Terminate) may consist m...
Nat_Thirasuttakorn
Mar 07, 2012Employee
Hi Abeny,
11.1 or 11.0 (11.1 is definitely better as some bugs are fixed)
here is sample for question 2
it is not complete but at least it may provide some example.
when DIAMETER_INGRESS {
if it is not the last one, collect data, drop
if it is last CCA, append data which is collected earlier before pass it through
if { ! $last_CCA_of_the_same_series } {
save necessary part of response, for example, you may
- delete common avp such as, Origin-Host/Realm/etc
example:
set avps [DIAMETER::payload]
DIAMETER::avp delete Origin-Host source $avps
Then append avps to a variable
use some form of unique key such as hid/eid/subscriber-id?
to ensure resposne belongs to same CCR
append collected_avps($key) $avps
Then drop current response
DIAMETER::drop
} else {
DIAMETER::payload replace [DIAMETER::payload]$collected_avps
}
}
btw, there are also one technique you can use. you can send insert proxy-info AVP in CCR, if server support it, server will echo back that information. this way, you dont need to keep state (or at least can keep less state information on BIG-IP itself)
Nat
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects