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

A device containing one or more lines. More...

Collaboration diagram for unistim_device:
Collaboration graph
[legend]

Data Fields

char call_forward [AST_MAX_EXTENSION]
 
int callhistory
 
char codec_number
 
char context [AST_MAX_EXTENSION]
 
signed char contrast
 
char country [3]
 
signed char cwstyle
 
signed char cwvolume
 
char datetimeformat
 
int dtmfduration
 
char expsoftkeylabel [EXPNUM][11]
 
enum autoprov_extn extension
 
char extension_number [11]
 
struct ast_haha
 
int hasexp
 
int height
 
char id [18]
 
int interdigit_timer
 
char language [MAX_LANGUAGE]
 
int lastmsgssent
 
struct {
   struct unistim_line *   first
 
   struct unistim_line *   last
 
   ast_mutex_t   lock
 
lines
 
ast_mutex_t lock
 
char lst_cid [TEXT_LENGTH_MAX]
 
char lst_cnm [TEXT_LENGTH_MAX]
 
char maintext0 [25]
 
char maintext1 [25]
 
char maintext2 [25]
 
int microphone
 
int missed_call
 
char name [DEVICE_NAME_LEN]
 
int nat
 
struct unistim_devicenext
 
time_t nextdial
 
time_t nextmsgcheck
 
int output
 
char phone_number [AST_MAX_EXTENSION]
 
int previous_output
 
int receiver_state
 
char redial_number [AST_MAX_EXTENSION]
 
signed char ringstyle
 
signed char ringvolume
 
int rtp_method
 
int rtp_port
 
int selected
 
struct unistimsessionsession
 
int sharp_dial
 
struct ast_silence_generatorsilence_generator
 
int size_phone_number
 
struct unistim_linesline [FAVNUM]
 
char softkeydevice [FAVNUM][16]
 
char softkeyicon [FAVNUM]
 
char softkeylabel [FAVNUM][11]
 
char softkeynumber [FAVNUM][AST_MAX_EXTENSION]
 
struct unistim_devicesp [FAVNUM]
 
struct unistim_subchannelssub [FAVNUM]
 
int status_method
 
struct {
   struct unistim_subchannel *   first
 
   struct unistim_subchannel *   last
 
   ast_mutex_t   lock
 
subs
 
char titledefault [13]
 
signed char to_delete
 
struct ast_tone_zonetz
 
int volume
 

Detailed Description

A device containing one or more lines.

Definition at line 394 of file chan_unistim.c.

Field Documentation

◆ call_forward

char call_forward[AST_MAX_EXTENSION]

Forward number

Definition at line 438 of file chan_unistim.c.

Referenced by handle_dial_page(), key_dial_page(), key_main_page(), show_main_page(), and unistim_new().

◆ callhistory

int callhistory

Allowed to record call history

Definition at line 434 of file chan_unistim.c.

Referenced by build_device(), show_history(), and write_history().

◆ codec_number

char codec_number

The current codec used to make calls

Definition at line 432 of file chan_unistim.c.

Referenced by handle_select_codec(), key_select_codec(), key_select_extension(), and unistim_register().

◆ context

char context[AST_MAX_EXTENSION]

Context to start in

Definition at line 398 of file chan_unistim.c.

Referenced by build_device(), key_dial_page(), register_extension(), unistim_new(), and unregister_extension().

◆ contrast

signed char contrast

contrast

Definition at line 419 of file chan_unistim.c.

Referenced by build_device(), and init_phone_step2().

◆ country

char country[3]

country used for dial tone frequency

Definition at line 420 of file chan_unistim.c.

Referenced by build_device().

◆ cwstyle

signed char cwstyle

Ring melody on call waiting

Definition at line 425 of file chan_unistim.c.

Referenced by build_device(), and unistim_call().

◆ cwvolume

signed char cwvolume

Ring volume on call waiting

Definition at line 424 of file chan_unistim.c.

Referenced by build_device(), and unistim_call().

◆ datetimeformat

char datetimeformat

format used for displaying time/date

Definition at line 418 of file chan_unistim.c.

Referenced by build_device(), and send_date_time2().

◆ dtmfduration

int dtmfduration

DTMF playback duration

Definition at line 427 of file chan_unistim.c.

Referenced by build_device(), send_dtmf_tone(), and unistim_do_senddigit().

◆ expsoftkeylabel

char expsoftkeylabel[EXPNUM][11]

soft key label

Definition at line 404 of file chan_unistim.c.

Referenced by send_expansion_short().

◆ extension

See ifdef EXTENSION for valid values

Definition at line 447 of file chan_unistim.c.

Referenced by build_device(), key_main_page(), key_select_extension(), rcv_mac_addr(), show_main_page(), and Registration::write().

◆ extension_number

char extension_number[11]

◆ first [1/2]

struct unistim_subchannel* first

Definition at line 451 of file chan_unistim.c.

◆ first [2/2]

struct unistim_line* first

Definition at line 452 of file chan_unistim.c.

◆ ha

struct ast_ha* ha

Definition at line 453 of file chan_unistim.c.

Referenced by build_device(), and unistim_show_info().

◆ hasexp

int hasexp

if device have expansion connected

Definition at line 403 of file chan_unistim.c.

Referenced by build_device(), and refresh_all_favorite().

◆ height

int height

◆ id

char id[18]

◆ interdigit_timer

int interdigit_timer

Interdigit timer for dialing number by timeout

Definition at line 426 of file chan_unistim.c.

Referenced by build_device(), and key_dial_page().

◆ language

char language[MAX_LANGUAGE]

◆ last [1/2]

struct unistim_subchannel* last

Definition at line 451 of file chan_unistim.c.

◆ last [2/2]

struct unistim_line* last

Definition at line 452 of file chan_unistim.c.

◆ lastmsgssent

int lastmsgssent

Definition at line 444 of file chan_unistim.c.

Referenced by handle_dial_page(), show_main_page(), and unistim_send_mwi_to_peer().

◆ lines

struct { ... } lines

◆ lock

Definition at line 395 of file chan_unistim.c.

Referenced by build_device(), channel_to_session(), close_client(), and delete_device().

◆ lst_cid

char lst_cid[TEXT_LENGTH_MAX]

Last callerID received

Definition at line 436 of file chan_unistim.c.

Referenced by change_callerid(), key_history(), show_entry_history(), and write_entry_history().

◆ lst_cnm

char lst_cnm[TEXT_LENGTH_MAX]

Last callername recevied

Definition at line 437 of file chan_unistim.c.

Referenced by change_callerid(), and write_entry_history().

◆ maintext0

char maintext0[25]

when the phone is idle, display this string on line 0

Definition at line 414 of file chan_unistim.c.

Referenced by build_device(), and show_main_page().

◆ maintext1

char maintext1[25]

when the phone is idle, display this string on line 1

Definition at line 415 of file chan_unistim.c.

Referenced by build_device(), and show_main_page().

◆ maintext2

char maintext2[25]

when the phone is idle, display this string on line 2

Definition at line 416 of file chan_unistim.c.

Referenced by build_device(), and show_main_page().

◆ microphone

int microphone

Microphone mode (audio tx)

Definition at line 443 of file chan_unistim.c.

Referenced by build_device(), and microphone_mute_toggle().

◆ missed_call

int missed_call

◆ name

char name[DEVICE_NAME_LEN]

◆ nat

int nat

Used by MWI Used by the obscure ast_rtp_setnat

Definition at line 446 of file chan_unistim.c.

Referenced by build_device(), and start_rtp().

◆ next

struct unistim_device* next

◆ nextdial

time_t nextdial

Timer used for dial by timeout

Definition at line 428 of file chan_unistim.c.

Referenced by do_monitor(), key_dial_page(), and process_request().

◆ nextmsgcheck

time_t nextmsgcheck

Used by MWI

Definition at line 445 of file chan_unistim.c.

Referenced by do_monitor(), and unistim_send_mwi_to_peer().

◆ output

int output

◆ phone_number

char phone_number[AST_MAX_EXTENSION]

the phone number entered by the user

Definition at line 399 of file chan_unistim.c.

Referenced by handle_call_outgoing(), handle_dial_page(), key_dial_page(), key_favorite(), key_main_page(), show_phone_number(), and unistim_ss().

◆ previous_output

int previous_output

Previous output

Definition at line 440 of file chan_unistim.c.

Referenced by build_device(), key_call(), key_dial_page(), and send_select_output().

◆ receiver_state

int receiver_state

◆ redial_number

char redial_number[AST_MAX_EXTENSION]

the last phone number entered by the user

Definition at line 400 of file chan_unistim.c.

Referenced by close_call(), handle_dial_page(), key_dial_page(), key_history(), key_main_page(), show_main_page(), and unistim_ss().

◆ ringstyle

signed char ringstyle

Ring melody

Definition at line 423 of file chan_unistim.c.

Referenced by build_device(), and unistim_call().

◆ ringvolume

signed char ringvolume

Ring volume

Definition at line 422 of file chan_unistim.c.

Referenced by build_device(), and unistim_call().

◆ rtp_method

int rtp_method

Select the unistim data used to establish a RTP session

Definition at line 430 of file chan_unistim.c.

Referenced by build_device(), and send_start_rtp().

◆ rtp_port

int rtp_port

RTP port used by the phone

Definition at line 429 of file chan_unistim.c.

Referenced by build_device(), and find_rtp_port().

◆ selected

int selected

◆ session

struct unistimsession* session

◆ sharp_dial

int sharp_dial

Execute Dial on '#' or not

Definition at line 435 of file chan_unistim.c.

Referenced by build_device(), and key_dial_page().

◆ silence_generator

struct ast_silence_generator* silence_generator

Definition at line 450 of file chan_unistim.c.

Referenced by sub_start_silence(), and sub_stop_silence().

◆ size_phone_number

int size_phone_number

size of the phone number

Definition at line 397 of file chan_unistim.c.

Referenced by handle_dial_page(), key_dial_page(), and show_phone_number().

◆ sline

struct unistim_line* sline[FAVNUM]

◆ softkeydevice

char softkeydevice[FAVNUM][16]

name of the device monitored

Definition at line 408 of file chan_unistim.c.

Referenced by build_device(), finish_bookmark(), parse_bookmark(), and unistim_show_info().

◆ softkeyicon

char softkeyicon[FAVNUM]

◆ softkeylabel

char softkeylabel[FAVNUM][11]

◆ softkeynumber

char softkeynumber[FAVNUM][AST_MAX_EXTENSION]

number dialed when the soft key is pressed

Definition at line 406 of file chan_unistim.c.

Referenced by build_device(), is_key_favorite(), key_favorite(), parse_bookmark(), unistim_sendtext(), and unistim_show_info().

◆ sp

struct unistim_device* sp[FAVNUM]

pointer to the device monitored by this soft key

Definition at line 411 of file chan_unistim.c.

Referenced by build_device(), change_favorite_icon(), and finish_bookmark().

◆ ssub

struct unistim_subchannel* ssub[FAVNUM]

◆ status_method

int status_method

Select the unistim packet used for sending status text

Definition at line 431 of file chan_unistim.c.

Referenced by build_device(), and send_text_status().

◆ subs

struct { ... } subs

◆ titledefault

char titledefault[13]

title (text before date/time)

Definition at line 417 of file chan_unistim.c.

Referenced by build_device(), and show_main_page().

◆ to_delete

signed char to_delete

Used in reload

Definition at line 449 of file chan_unistim.c.

Referenced by build_device(), and reload_config().

◆ tz

struct ast_tone_zone* tz

Tone zone for res_indications (ring, busy, congestion)

Definition at line 421 of file chan_unistim.c.

Referenced by build_device(), delete_device(), send_dial_tone(), and unistim_indicate().

◆ volume

int volume

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