Asterisk - The Open Source Telephony Project GIT-master-f36a736
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 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(), and key_select_codec().

◆ context

char context[AST_MAX_EXTENSION]

Context to start in

Definition at line 398 of file chan_unistim.c.

Referenced by 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 init_phone_step2().

◆ country

char country[3]

country used for dial tone frequency

Definition at line 420 of file chan_unistim.c.

◆ cwstyle

signed char cwstyle

Ring melody on call waiting

Definition at line 425 of file chan_unistim.c.

◆ cwvolume

signed char cwvolume

Ring volume on call waiting

Definition at line 424 of file chan_unistim.c.

◆ datetimeformat

char datetimeformat

format used for displaying time/date

Definition at line 418 of file chan_unistim.c.

Referenced by send_date_time2().

◆ dtmfduration

int dtmfduration

DTMF playback duration

Definition at line 427 of file chan_unistim.c.

Referenced by 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 key_main_page(), key_select_extension(), rcv_mac_addr(), show_main_page(), and Registration::write().

◆ extension_number

char extension_number[11]

Extension number entered by the user

Definition at line 448 of file chan_unistim.c.

Referenced by close_client(), key_main_page(), key_select_extension(), rcv_mac_addr(), register_extension(), show_main_page(), and unregister_extension().

◆ 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 unistim_show_info().

◆ hasexp

int hasexp

if device have expansion connected

Definition at line 403 of file chan_unistim.c.

Referenced by 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 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().

◆ 

struct { ... } lines

◆ lock

Definition at line 395 of file chan_unistim.c.

Referenced by close_client().

◆ 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 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 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 show_main_page().

◆ microphone

int microphone

Microphone mode (audio tx)

Definition at line 443 of file chan_unistim.c.

Referenced by microphone_mute_toggle().

◆ missed_call

int missed_call

Number of call unanswered

Definition at line 433 of file chan_unistim.c.

Referenced by close_call(), handle_call_incoming(), handle_dial_page(), key_main_page(), show_main_page(), and unistim_indicate().

◆ 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.

◆ 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 key_call(), key_dial_page(), and send_select_output().

◆ receiver_state

int receiver_state

state of the receiver (see ReceiverState)

Definition at line 396 of file chan_unistim.c.

Referenced by handle_call_incoming(), handle_dial_page(), handle_key_fav(), key_dial_page(), key_main_page(), process_request(), and send_select_output().

◆ 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.

◆ ringvolume

signed char ringvolume

Ring volume

Definition at line 422 of file chan_unistim.c.

◆ 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 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 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 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 unistim_show_info().

◆ softkeyicon

char softkeyicon[FAVNUM]

icon number

Definition at line 407 of file chan_unistim.c.

Referenced by refresh_all_favorite(), unistim_sendtext(), and unistim_show_info().

◆ 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 key_favorite(), 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.

◆ 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 send_text_status().

◆ 

struct { ... } subs

pointer to our current connection, channel...

Referenced by close_client(), find_rtp_port(), get_sub(), get_sub_holding(), rcv_mac_addr(), and unistim_show_info().

◆ titledefault

char titledefault[13]

title (text before date/time)

Definition at line 417 of file chan_unistim.c.

Referenced by show_main_page().

◆ to_delete

signed char to_delete

Used in reload

Definition at line 449 of file chan_unistim.c.

◆ 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 send_dial_tone(), and unistim_indicate().

◆ volume

int volume

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