For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Arnaud_Demene_6's avatar
Arnaud_Demene_6
Icon for Nimbostratus rankNimbostratus
May 16, 2014

Using Diameter Commands

Hi guys,

 

May be you are more awake that myself but i am currently stuck with the following problematic with Diameter:

 

  • OCS needs to get additional 3GPP AVPs on any CCR it receives from BIGIP
  • 3GPP AVPs are known from Radius Accounting
  • BIGIP needs to insert the 3GPP AVPS to each CCR with the grouped "Service-Information" AVP:

[Service-Information = [PS-Information = [3GPP-Charging-Id = <3GPP-Charging-Id M V 10415 00:00:00:00/>] [3GPP-PDP-Type = <3GPP-PDP-Type M V 10415 0/>] [PDP-Address = ] [3GPP-GPRS-Negotiated-QoS-Profile = <3GPP-GPRS-Negotiated-QoS-Profile M V 10415 06-00000000000000000000/>] [SGSN-Address = ] [GGSN-Address = ] [CG-Address = ] [3GPP-IMSI-MCC-MNC = <3GPP-IMSI-MCC-MNC M V 10415 xxxxx/>] [3GPP-GGSN-MCC-MNC = <3GPP-GGSN-MCC-MNC M V 10415 xxxxx/>] [3GPP-NSAPI = <3GPP-NSAPI M V 10415 x/>] [Called-Station-Id = ] [3GPP-Selection-Mode = <3GPP-Selection-Mode M V 10415 x/>] [3GPP-Charging-Characteristics = <3GPP-Charging-Characteristics M V 10415 0000/>] [3GPP-SGSN-MCC-MNC = <3GPP-SGSN-MCC-MNC M V 10415 00000/>] [3GPP-MS-TimeZone = <3GPP-MS-TimeZone M V 10415 00:00/>] [3GPP-User-Location-Info = <3GPP-User-Location-Info M V 10415 00:00:00:00:00:00:00:00/>] [3GPP-RAT-Type = <3GPP-RAT-Type M V 10415 00/>] ] ]

 

How would you do it with the diameter commands ? Any elegant solution ?

 

How do you insert all the 3GPP AVPs within the Grouped "PS-Information" AVP?

 

Thanks for your help

 

Regards

 

1 Reply

  • Thanks a lot. This is exactly what i wanted. It may be a good idea to use this example in the iRule Wiki to illustrate the use of Diameter commands. Thanks again you helped me a lot ;O)