Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
dahdi_chan_conf Struct Reference

Channel configuration from chan_dahdi.conf . This struct is used for parsing the [channels] section of chan_dahdi.conf. Generally there is a field here for every possible configuration item. More...

Collaboration diagram for dahdi_chan_conf:
Collaboration graph
[legend]

Data Fields

struct dahdi_pvt chan
 
int ignore_failed_channels
 
int is_sig_auto
 
char smdi_port [SMDI_MAX_FILENAME_LEN]
 The serial port to listen for SMDI data on. More...
 
struct dahdi_params timing
 
int wanted_channels_end
 Don't create channels above this number (infinity by default) More...
 
int wanted_channels_start
 Don't create channels below this number. More...
 

Detailed Description

Channel configuration from chan_dahdi.conf . This struct is used for parsing the [channels] section of chan_dahdi.conf. Generally there is a field here for every possible configuration item.

The state of fields is saved along the parsing and whenever a 'channel' statement is reached, the current dahdi_chan_conf is used to configure the channel (struct dahdi_pvt)

See also
dahdi_chan_init for the default values.

Definition at line 831 of file chan_dahdi.c.

Field Documentation

◆ chan

struct dahdi_pvt chan

◆ ignore_failed_channels

int ignore_failed_channels

Continue configuration even if a channel is not there.

Definition at line 847 of file chan_dahdi.c.

Referenced by process_dahdi().

◆ is_sig_auto

int is_sig_auto

Use channel signalling from DAHDI?

Definition at line 845 of file chan_dahdi.c.

Referenced by build_channels(), mkintf(), and process_dahdi().

◆ smdi_port

char smdi_port[SMDI_MAX_FILENAME_LEN]

The serial port to listen for SMDI data on.

Note
Set from the "smdiport" string read in from chan_dahdi.conf

Definition at line 853 of file chan_dahdi.c.

Referenced by mkintf(), and process_dahdi().

◆ timing

struct dahdi_params timing

Definition at line 844 of file chan_dahdi.c.

Referenced by mkintf(), and process_dahdi().

◆ wanted_channels_end

int wanted_channels_end

Don't create channels above this number (infinity by default)

Note
by default is 0 (special value that means "no limit").

Definition at line 865 of file chan_dahdi.c.

Referenced by build_channels(), and dahdi_create_channel_range().

◆ wanted_channels_start

int wanted_channels_start

Don't create channels below this number.

Note
by default is 0 (no limit)

Definition at line 859 of file chan_dahdi.c.

Referenced by build_channels(), and dahdi_create_channel_range().


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