19#ifndef _FEATURES_CONFIG_H
20#define _FEATURES_CONFIG_H
231#define AST_FEATURE_MAX_LEN 11
static int len(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t buflen)
struct ast_features_general_config * ast_get_chan_features_general_config(struct ast_channel *chan)
Get the general configuration options for a channel.
struct ast_featuremap_config * ast_get_chan_featuremap_config(struct ast_channel *chan)
Get the featuremap configuration options for a channel.
char * ast_get_chan_features_xferfailsound(struct ast_channel *chan)
Get the transfer configuration option xferfailsound.
#define AST_FEATURE_MAX_LEN
struct ast_features_xfer_config * ast_get_chan_features_xfer_config(struct ast_channel *chan)
Get the transfer configuration options for a channel.
struct ast_features_pickup_config * ast_get_chan_features_pickup_config(struct ast_channel *chan)
Get the pickup configuration options for a channel.
int ast_get_feature(struct ast_channel *chan, const char *feature, char *buf, size_t len)
Get the DTMF code for a call feature.
int ast_get_builtin_feature(struct ast_channel *chan, const char *feature, char *buf, size_t len)
Get the DTMF code for a builtin feature.
char * ast_get_chan_features_atxferabort(struct ast_channel *chan)
Get the transfer configuration option atxferabort.
struct ao2_container * ast_get_chan_applicationmap(struct ast_channel *chan)
Get the applicationmap for a given channel.
#define AST_DECLARE_STRING_FIELDS(field_list)
Declare the fields needed in a structure.
#define AST_STRING_FIELD(name)
Declare a string field.
An applicationmap configuration item.
unsigned int activate_on_self
const ast_string_field moh_class
const ast_string_field app
char dtmf[AST_FEATURE_MAX_LEN]
const ast_string_field name
Main Channel structure associated with a channel.
Configuration for the builtin features.
const ast_string_field automixmon
const ast_string_field blindxfer
const ast_string_field parkcall
const ast_string_field disconnect
const ast_string_field atxfer
General features configuration items.
const ast_string_field recordingfailsound
unsigned int featuredigittimeout
const ast_string_field courtesytone
Configuration relating to call pickup.
const ast_string_field pickupsound
const ast_string_field pickupfailsound
const ast_string_field pickupexten
Feature configuration relating to transfers.
const ast_string_field atxferthreeway
unsigned int atxferdropcall
unsigned int transferdialattempts
unsigned int atxfercallbackretries
unsigned int transferdigittimeout
const ast_string_field atxfercomplete
const ast_string_field transferretrysound
const ast_string_field xfersound
const ast_string_field transferannouncesound
const ast_string_field transferinvalidsound
const ast_string_field atxferabort
const ast_string_field atxferswap
unsigned int atxferloopdelay
unsigned int atxfernoanswertimeout
const ast_string_field xferfailsound