Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
ast_aoc_duration_rate Struct Reference

#include <aoc.h>

Data Fields

uint32_t amount
 
uint8_t charging_type
 Charging interval type. More...
 
char currency_name [AOC_CURRENCY_NAME_SIZE]
 
uint32_t granularity_time
 
uint16_t granularity_time_scale
 
uint16_t multiplier
 
uint32_t time
 
uint16_t time_scale
 

Detailed Description

Definition at line 103 of file aoc.h.

Field Documentation

◆ amount

uint32_t amount

◆ charging_type

uint8_t charging_type

Charging interval type.

continuousCharging(0), stepFunction(1)

Definition at line 122 of file aoc.h.

Referenced by aoc_create_ie_data_charging_rate(), aoc_parse_ie_charging_rate(), aoc_s_event(), and s_to_json().

◆ currency_name

char currency_name[AOC_CURRENCY_NAME_SIZE]

Name of currency involved. Null terminated.

Definition at line 114 of file aoc.h.

Referenced by aoc_create_ie_data_charging_rate(), aoc_parse_ie_charging_rate(), aoc_s_event(), and s_to_json().

◆ granularity_time

uint32_t granularity_time

Not present if the granularity time is zero.

Definition at line 107 of file aoc.h.

Referenced by aoc_create_ie_data_charging_rate(), aoc_parse_ie_charging_rate(), aoc_s_event(), and s_to_json().

◆ granularity_time_scale

uint16_t granularity_time_scale

◆ multiplier

uint16_t multiplier

◆ time

uint32_t time

◆ time_scale

uint16_t time_scale

The documentation for this struct was generated from the following file: