Wed Jan 8 2020 09:50:25

Asterisk developer's documentation


unistim_device Struct Reference

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

Data Fields

char call_forward [AST_MAX_EXTENSION]
 
int callhistory
 
char codec_number
 
char contrast
 
char country [3]
 
char datetimeformat
 
enum autoprov_extn extension
 
char extension_number [11]
 
struct ast_haha
 
int height
 
char id [18]
 
struct unistim_linelines
 
char lst_cid [TEXT_LENGTH_MAX]
 
char lst_cnm [TEXT_LENGTH_MAX]
 
char maintext0 [25]
 
char maintext1 [25]
 
char maintext2 [25]
 
int missed_call
 
int moh
 
int mute
 
char name [DEVICE_NAME_LEN]
 
int nat
 
struct unistim_devicenext
 
int output
 
int phone_current
 
char phone_number [16]
 
int pos_fav
 
int previous_output
 
int receiver_state
 
char redial_number [16]
 
char ringstyle
 
char ringvolume
 
int rtp_method
 
int rtp_port
 
struct unistimsessionsession
 
struct ast_silence_generatorsilence_generator
 
int size_phone_number
 
char softkeydevice [6][16]
 
char softkeyicon [6]
 
char softkeylabel [6][11]
 
int softkeylinepos
 
char softkeynumber [6][16]
 
struct unistim_devicesp [6]
 
time_t start_call_timestamp
 
int status_method
 
char titledefault [13]
 
char to_delete
 
struct ast_tone_zonetz
 
int volume
 

Detailed Description

A device containing one or more lines.

Definition at line 427 of file chan_unistim.c.

Field Documentation

char call_forward[AST_MAX_EXTENSION]

Forward number

Definition at line 461 of file chan_unistim.c.

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

int callhistory

Allowed to record call history

Definition at line 458 of file chan_unistim.c.

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

char codec_number

The current codec used to make calls

Definition at line 456 of file chan_unistim.c.

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

char contrast

contrast

Definition at line 448 of file chan_unistim.c.

Referenced by build_device(), and init_phone_step2().

char country[3]

country used for dial tone frequency

Definition at line 449 of file chan_unistim.c.

Referenced by build_device(), and SendDialTone().

char datetimeformat

format used for displaying time/date

Definition at line 447 of file chan_unistim.c.

Referenced by build_device(), and send_date_time2().

See ifdef EXTENSION for valid values

Definition at line 468 of file chan_unistim.c.

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

char extension_number[11]

Extension number entered by the user

Definition at line 469 of file chan_unistim.c.

Referenced by build_device(), close_client(), key_main_page(), key_select_extension(), rcv_mac_addr(), RegisterExtension(), show_main_page(), and UnregisterExtension().

struct ast_ha* ha

Definition at line 474 of file chan_unistim.c.

Referenced by build_device(), and unistim_info().

int height

The number of lines the phone can display

Definition at line 442 of file chan_unistim.c.

Referenced by build_device(), handle_dial_page(), HandleCallOutgoing(), key_dial_page(), show_main_page(), unistim_call(), and unistim_sendtext().

char id[18]

mac address of the current phone in ascii

Definition at line 434 of file chan_unistim.c.

Referenced by build_device(), key_main_page(), key_select_extension(), rcv_mac_addr(), unistim_info(), and unistim_register().

char lst_cid[TEXT_LENGTH_MAX]

Last callerID received

Definition at line 459 of file chan_unistim.c.

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

char lst_cnm[TEXT_LENGTH_MAX]

Last callername recevied

Definition at line 460 of file chan_unistim.c.

Referenced by change_callerid(), and write_entry_history().

char maintext0[25]

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

Definition at line 443 of file chan_unistim.c.

Referenced by build_device(), and show_main_page().

char maintext1[25]

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

Definition at line 444 of file chan_unistim.c.

Referenced by build_device(), and show_main_page().

char maintext2[25]

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

Definition at line 445 of file chan_unistim.c.

Referenced by build_device(), and show_main_page().

int moh

Music on hold in progress

Definition at line 466 of file chan_unistim.c.

Referenced by HandleCallOutgoing(), key_call(), key_dial_page(), TransferCallStep1(), and unistim_hangup().

int mute

Mute mode

Definition at line 465 of file chan_unistim.c.

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

int nat

Used by the obscure ast_rtp_setnat

Definition at line 467 of file chan_unistim.c.

Referenced by build_device(), and start_rtp().

int phone_current

Number of the current phone

Definition at line 432 of file chan_unistim.c.

char phone_number[16]

the phone number entered by the user

Definition at line 430 of file chan_unistim.c.

Referenced by handle_dial_page(), HandleCallOutgoing(), key_dial_page(), key_main_page(), Keyfavorite(), and unistim_ss().

int pos_fav

Position of the displayed favorites (used for scrolling)

Definition at line 433 of file chan_unistim.c.

Referenced by key_select_extension(), and unistim_register().

int previous_output

Previous output

Definition at line 463 of file chan_unistim.c.

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

int receiver_state
char redial_number[16]

the last phone number entered by the user

Definition at line 431 of file chan_unistim.c.

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

char ringstyle

Ring melody

Definition at line 452 of file chan_unistim.c.

Referenced by build_device(), and unistim_call().

char ringvolume

Ring volume

Definition at line 451 of file chan_unistim.c.

Referenced by build_device(), and unistim_call().

int rtp_method

Select the unistim data used to establish a RTP session

Definition at line 454 of file chan_unistim.c.

Referenced by build_device(), and start_rtp().

int rtp_port

RTP port used by the phone

Definition at line 453 of file chan_unistim.c.

Referenced by build_device(), and start_rtp().

struct ast_silence_generator* silence_generator
int size_phone_number

size of the phone number

Definition at line 429 of file chan_unistim.c.

Referenced by handle_dial_page(), and key_dial_page().

char softkeydevice[6][16]

name of the device monitored

Definition at line 440 of file chan_unistim.c.

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

char softkeyicon[6]
char softkeylabel[6][11]
int softkeylinepos

position of the line softkey (default 0)

Definition at line 436 of file chan_unistim.c.

Referenced by build_device(), change_favorite_icon(), key_ringing(), refresh_all_favorite(), and show_main_page().

char softkeynumber[6][16]

number dialed when the soft key is pressed

Definition at line 438 of file chan_unistim.c.

Referenced by build_device(), Keyfavorite(), ParseBookmark(), and unistim_sendtext().

struct unistim_device* sp[6]

pointer to the device monitored by this soft key

Definition at line 441 of file chan_unistim.c.

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

time_t start_call_timestamp

timestamp for the length calculation of the call

Definition at line 471 of file chan_unistim.c.

Referenced by HandleCallIncoming().

int status_method

Select the unistim packet used for sending status text

Definition at line 455 of file chan_unistim.c.

Referenced by build_device(), and send_text_status().

char titledefault[13]

title (text before date/time)

Definition at line 446 of file chan_unistim.c.

Referenced by build_device(), and show_main_page().

char to_delete

Used in reload

Definition at line 470 of file chan_unistim.c.

Referenced by build_device(), rcv_mac_addr(), and reload_config().

struct ast_tone_zone* tz

Tone zone for res_indications (ring, busy, congestion)

Definition at line 450 of file chan_unistim.c.

Referenced by build_device(), reload_config(), and unistim_indicate().


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