[sr-dev] git:master: modules/cdp, cdpavp: added support for Incoming and Outgoing Trunk-Group AVPs
Richard Good
richard.good at smilecoms.com
Thu Oct 9 11:56:27 CEST 2014
Module: sip-router
Branch: master
Commit: 333ff6fad046da64996084cc7644d16e40cc60d0
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=333ff6fad046da64996084cc7644d16e40cc60d0
Author: Richard Good <richard.good at smilecoms.com>
Committer: Richard Good <richard.good at smilecoms.com>
Date: Thu Oct 9 11:55:57 2014 +0200
modules/cdp,cdpavp: added support for Incoming and Outgoing Trunk-Group AVPs
---
modules/cdp/diameter_epc_code_avp.h | 3 +++
modules/cdp_avp/epcapp.h | 10 +++++++++-
2 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/modules/cdp/diameter_epc_code_avp.h b/modules/cdp/diameter_epc_code_avp.h
index dad3026..ef4d561 100644
--- a/modules/cdp/diameter_epc_code_avp.h
+++ b/modules/cdp/diameter_epc_code_avp.h
@@ -146,6 +146,9 @@ enum {
AVP_EPC_Served_Party_IP_Address = 848,
AVP_EPC_Authorized_QoS = 849,
AVP_EPC_Application_Server_Information = 850,
+ AVP_EPC_Trunk_Group_Id = 851,
+ AVP_EPC_Incoming_Trunk_Group_Id = 852,
+ AVP_EPC_Outgoing_Trunk_Group_Id = 853,
AVP_EPC_Bearer_Service = 854,
AVP_EPC_Service_ID = 855,
AVP_EPC_Associated_URI = 856,
diff --git a/modules/cdp_avp/epcapp.h b/modules/cdp_avp/epcapp.h
index c76d09a..484164f 100644
--- a/modules/cdp_avp/epcapp.h
+++ b/modules/cdp_avp/epcapp.h
@@ -654,7 +654,7 @@ cdp_avp_ptr (Called_Asserted_Identity, EPC_vendor_id_3GPP, AAA_AVP_FLAG_MAND
cdp_avp_ptr (Called_Party_Address, EPC_vendor_id_3GPP, AAA_AVP_FLAG_MANDATORY, UTF8String, str)
cdp_avp_ptr (Calling_Party_Address, EPC_vendor_id_3GPP, AAA_AVP_FLAG_MANDATORY, UTF8String, str)
-
+
cdp_avp (Cause_Code, EPC_vendor_id_3GPP, AAA_AVP_FLAG_MANDATORY, Integer32, int32_t)
cdp_avp_ptr (Content_Disposition, EPC_vendor_id_3GPP, AAA_AVP_FLAG_MANDATORY, UTF8String, str)
@@ -766,6 +766,14 @@ cdp_avp_add_ptr (Time_Stamps, EPC_vendor_id_3GPP, AAA_AVP_FLAG_MANDATORY,
cdp_avp_get (Time_Stamps, EPC_vendor_id_3GPP, AAA_AVP_FLAG_MANDATORY, Grouped, AAA_AVP_LIST)
cdp_avp_ptr (User_Session_Id, EPC_vendor_id_3GPP, AAA_AVP_FLAG_MANDATORY, UTF8String, str)
+
+cdp_avp_add_ptr (Trunk_Group_Id, EPC_vendor_id_3GPP, AAA_AVP_FLAG_MANDATORY, Grouped, AAA_AVP_LIST*)
+cdp_avp_get (Trunk_Group_Id, EPC_vendor_id_3GPP, AAA_AVP_FLAG_MANDATORY, Grouped, AAA_AVP_LIST)
+
+
+cdp_avp_ptr (Incoming_Trunk_Group_Id, EPC_vendor_id_3GPP, AAA_AVP_FLAG_MANDATORY, UTF8String, str)
+
+cdp_avp_ptr (Outgoing_Trunk_Group_Id, EPC_vendor_id_3GPP, AAA_AVP_FLAG_MANDATORY, UTF8String, str)
More information about the sr-dev
mailing list