Product Description
Charging Data
The following sections provide a reference to WebLogic Network Gatekeeper charging data:
Charging data format
The CDR data is stored in the MySQL database in the following format:
Field
|
Format
|
transaction_id
|
bigint
|
session_id
|
bigint
|
service_name
|
varchar
|
user_id
|
varchar
|
start_of_usage
|
bigint
|
connect_time
|
bigint
|
end_of_usage
|
bigint
|
duration_of_usage
|
bigint
|
amount_of_usage
|
bigint
|
originating_party
|
varchar
|
destination_party
|
varchar
|
transaction_part_number
|
int
|
completion_status
|
int
|
additional_info
|
blob
|
revenue_share_percentage
|
float
|
charging_info
|
varchar
|
party_to_charge
|
varchar
|
service_provider
|
varchar
|
slee_instance
|
varchar
|
All services that produce charging data do not use all fields. See the section below on details of which fields that are relevant for the different services.
All times given, except duration of usage, are relative to the UNIX era, that is number of milliseconds since midnight, January 1, 1970, Greenwich Mean Time, GMT.
Duration of usage is given in seconds.
Charging
Field Name
|
Description
|
transaction_id
|
A unique ID for the transaction.
|
session_id
|
An ID used to connect related transactions.
|
service_name
|
The service capability module (Charging) that has created the CDR.
|
user_id
|
The application that used the service capability module.
|
completion_status
|
Indicates the completion status of the transaction.
0 - failed
1 - completed
|
additional_info (in XML format)
|
Possible data:
|
charging_info
|
Service code added by the application or by the policy service. Can also be used to provide the actual price.
|
party_to_charge
|
The ID of the party that initiated the request that resulted in the transaction.
|
service_provider
|
The ID of the service provider that hosts the application.
|
slee_instance
|
The SLEE instance hosting the service capability module that generated the CDR.
|
Call
Field Name
|
Description
|
transaction_id
|
A unique ID for the transaction.
|
session_id
|
An ID used to connect related transactions.
|
service_name
|
The service capability module (Call control) that has created the CDR.
|
user_id
|
The application that used the service capability module.
|
start_of_usage
|
The date and time the service capability module started to use services in the telecom network.
|
connect_time
|
The date and time the destination party responded.
|
end_of_usage
|
The date and time the service capability module stopped to use services in the telecom network.
|
duration_of_usage
|
The total time the service capability module used the network services. Value is 0 (zero) if no answer or route fail.
|
originating_party
|
The address of the originating party.
|
destination_party
|
The address of the destination party.
|
transaction_part_ number
|
Always equal to 1.
|
completion_status
|
Indicates the completion status of the transaction.
0 - failed
1 - completed
|
charging_info
|
Service code added by the application or by the policy service. Can also be used to provide the actual price.
|
party_to_charge
|
The ID of the party that initiated the request that resulted in the transaction.
|
service_provider
|
The ID of the service provider that hosts the application.
|
slee_instance
|
The SLEE instance hosting the service capability module that generated the CDR.
|
Messaging
Field Name
|
Description
|
transaction_id
|
A unique ID for the transaction.
|
session_id
|
An ID used to connect related transactions.
|
service_name
|
The service capability module (Messaging) that has created the CDR.
|
user_id
|
The application that used the service capability module.
|
start_of_usage
|
The date and time the service capability module started to use services in the telecom network.
|
amount_of_usage
|
Always equal to 1.
|
originating_party
|
The address of the originating party.
|
destination_party
|
The address of the destination party.
|
transaction_part_ number
|
Always equal to 1.
|
completion_status
|
Indicates the completion status of the transaction.
Outgoing message:
0 - failed
1 - completed
2 - partial (indicates that SEND_RESULT=OK, another CDR with status completed or failed will be created after DEVLIVERY_ACK has been recieved)
Incomig message:
0 - failed
1 - completed
2 - partial (indicates that the message has been successfully stored in the database, but there is no listener registered)
3 - completed but notfication failed (indicates that the message has been successfully stored in the database, but the notification towards the application failed)
|
additional_info (in XML format)
|
Possible data:
Possible data if method=DELIVERY_ACK:
Possible data if method=SEND_RESULT:
Possible data if method=MESS_ARRIVED:
|
charging_info
|
Service code added by the application or by the policy service. Can also be used to provide the actual price.
|
party_to_charge
|
The ID of the party that initiated the request that resulted in the transaction.
|
service_provider
|
The ID of the service provider that hosts the application.
|
slee_instance
|
The SLEE instance hosting the service capability module that generated the CDR.
|
Subscriber profile
Field Name
|
Description
|
transaction_id
|
A unique ID for the transaction.
|
service_name
|
The service capability module (Subscriber profile) that has created the CDR.
|
user_id
|
The application that used the service capability module.
|
start_of_usage
|
The date and time the service capability module started to use services in the telecom network.
|
amount_of_usage
|
The used amount. Used when charging is not time dependent. For example, flat rate services.
|
destination_party
|
The address of the destination party. That is, the subscriber the profile belongs to.
|
transaction_part_ number
|
Always equal to 1.
|
completion_status
|
Indicates the completion status of the transaction.
0 - failed
1 - completed
3 - completed but callback to application failed
|
additional_info (in XML format)
|
Possible data:
|
charging_info
|
Service code added by the application or by the policy service. Can also be used to provide the actual price.
|
party_to_charge
|
The ID of the party that initiated the request that resulted in the transaction.
|
service_provider
|
The ID of the service provider that hosts the application.
|
slee_instance
|
The SLEE instance hosting the service capability module that generated the CDR.
|
User interaction
Field Name
|
Description
|
transaction_id
|
A unique ID for the transaction.
|
session_id
|
An ID used to connect related transactions.
|
service_name
|
The service capability module (User interaction) that has created the CDR.
|
user_id
|
The application that used the service capability module.
|
completion_status
|
Indicates the completion status of the transaction.
0 - failed
1 - completed
3 - completed but callback to application failed
|
additional_info (in XML format)
|
Possible data:
|
charging_info
|
Service code added by the application or by the policy service. Can also be used to provide the actual price.
|
party_to_charge
|
The ID of the party that initiated the request that resulted in the transaction.
|
service_provider
|
The ID of the service provider that hosts the application.
|
slee_instance
|
The SLEE instance hosting the service capability module that generated the CDR.
|
User location
Field Name
|
Description
|
transaction_id
|
A unique ID for the transaction.
|
session_id
|
An ID used to connect related transactions.
|
service_name
|
The service capability module (User location) that has created the CDR.
|
user_id
|
The application that used the service capability module.
|
start_of_usage
|
The date and time the service capability module started to use services in the telecom network.
|
amount_of_usage
|
Always equal to 1.
|
destination_party
|
The address of the destination party.
|
transaction_part_ number
|
Always equal to 1.
|
completion_status
|
Indicates the completion status of the transaction.
0 - failed
1 - completed
3 - completed but callback to application failed
|
additional_info (in XML format)
|
Possible data:
|
charging_info
|
Service code added by the application or by the policy service. Can also be used to provide the actual price.
|
party_to_charge
|
The ID of the party that initiated the request that resulted in the transaction.
|
service_provider
|
The ID of the service provider that hosts the application.
|
slee_instance
|
The SLEE instance hosting the service capability module that generated the CDR.
|
User status
Field Name
|
Description
|
transaction_id
|
A unique ID for the transaction.
|
session_id
|
An ID used to connect related transactions.
|
service_name
|
The service capability module (User status) that has created the CDR.
|
user_id
|
The application that used the service capability module.
|
start_of_usage
|
The date and time the service capability module started to use resources in the telecom network.
|
amount_of_usage
|
The used amount. Used when charging is not time dependent. For example, flat rate services.
|
destination_party
|
The address of the destination party.
|
transaction_part_ number
|
Always equal to 1.
|
completion_status
|
Indicates the completion status of the transaction.
0 - failed
1 - completed
3 - completed but callback to application failed
|
additional_info (in XML format)
|
Possible data:
|
charging_info
|
Service code added by the application or by the policy service. Can also be used to provide the actual price.
|
party_to_charge
|
The ID of the party that initiated the request that resulted in the transaction.
|
service_provider
|
The ID of the service provider that hosts the application.
|
slee_instance
|
The SLEE instance hosting the service capability module that generated the CDR.
|