Sat Apr 26 2014 22:03:26

Asterisk developer's documentation


unistim_device Struct Reference

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

Collaboration diagram for unistim_device:

Data Fields

char call_forward [AST_MAX_EXTENSION]
int callhistory
char codec_number
char context [AST_MAX_EXTENSION]
char contrast
char country [3]
char cwstyle
char cwvolume
char datetimeformat
enum autoprov_extn extension
char extension_number [11]
struct ast_haha
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 missed_call
int mute
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]
char ringstyle
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]
char to_delete
struct ast_tone_zonetz
int volume

Detailed Description

A device containing one or more lines.

Definition at line 373 of file chan_unistim.c.


Field Documentation

Forward number

Definition at line 414 of file chan_unistim.c.

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

Allowed to record call history

Definition at line 410 of file chan_unistim.c.

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

The current codec used to make calls

Definition at line 408 of file chan_unistim.c.

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

Context to start in

Definition at line 377 of file chan_unistim.c.

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

char contrast

contrast

Definition at line 396 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 397 of file chan_unistim.c.

Referenced by build_device().

char cwstyle

Ring melody on call waiting

Definition at line 402 of file chan_unistim.c.

Referenced by build_device(), and unistim_call().

char cwvolume

Ring volume on call waiting

Definition at line 401 of file chan_unistim.c.

Referenced by build_device(), and unistim_call().

format used for displaying time/date

Definition at line 395 of file chan_unistim.c.

Referenced by build_device(), and send_date_time2().

See ifdef EXTENSION for valid values

Definition at line 423 of file chan_unistim.c.

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

Definition at line 427 of file chan_unistim.c.

Definition at line 428 of file chan_unistim.c.

struct ast_ha* ha

Definition at line 429 of file chan_unistim.c.

Referenced by build_device(), and unistim_show_info().

char id[18]

mac address of the current phone in ascii

Definition at line 380 of file chan_unistim.c.

Referenced by build_device(), key_main_page(), key_select_extension(), unistim_register(), unistim_show_devices(), and unistim_show_info().

Interdigit timer for dialing number by timeout

Definition at line 403 of file chan_unistim.c.

Referenced by build_device(), and key_dial_page().

Definition at line 427 of file chan_unistim.c.

struct unistim_line* last

Definition at line 428 of file chan_unistim.c.

Definition at line 420 of file chan_unistim.c.

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

Last callerID received

Definition at line 412 of file chan_unistim.c.

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

Last callername recevied

Definition at line 413 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 391 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 392 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 393 of file chan_unistim.c.

Referenced by build_device(), and show_main_page().

int mute

Mute mode

Definition at line 419 of file chan_unistim.c.

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

int nat

Used by MWI Used by the obscure ast_rtp_setnat

Definition at line 422 of file chan_unistim.c.

Referenced by build_device(), and start_rtp().

time_t nextdial

Timer used for dial by timeout

Definition at line 404 of file chan_unistim.c.

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

time_t nextmsgcheck

Used by MWI

Definition at line 421 of file chan_unistim.c.

Referenced by do_monitor(), and unistim_send_mwi_to_peer().

the phone number entered by the user

Definition at line 378 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

Definition at line 416 of file chan_unistim.c.

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

the last phone number entered by the user

Definition at line 379 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().

char ringstyle

Ring melody

Definition at line 400 of file chan_unistim.c.

Referenced by build_device(), and unistim_call().

char ringvolume

Ring volume

Definition at line 399 of file chan_unistim.c.

Referenced by build_device(), and unistim_call().

Select the unistim data used to establish a RTP session

Definition at line 406 of file chan_unistim.c.

Referenced by build_device(), and send_start_rtp().

int rtp_port

RTP port used by the phone

Definition at line 405 of file chan_unistim.c.

Referenced by build_device(), and find_rtp_port().

Execute Dial on '#' or not

Definition at line 411 of file chan_unistim.c.

Referenced by build_device(), and key_dial_page().

Definition at line 426 of file chan_unistim.c.

Referenced by sub_start_silence(), and sub_stop_silence().

size of the phone number

Definition at line 376 of file chan_unistim.c.

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

char softkeydevice[FAVNUM][16]

name of the device monitored

Definition at line 385 of file chan_unistim.c.

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

number dialed when the soft key is pressed

Definition at line 383 of file chan_unistim.c.

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

pointer to the device monitored by this soft key

Definition at line 388 of file chan_unistim.c.

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

Select the unistim packet used for sending status text

Definition at line 407 of file chan_unistim.c.

Referenced by build_device(), and send_text_status().

struct { ... } subs
char titledefault[13]

title (text before date/time)

Definition at line 394 of file chan_unistim.c.

Referenced by build_device(), and show_main_page().

char to_delete

Used in reload

Definition at line 425 of file chan_unistim.c.

Referenced by build_device(), and reload_config().

struct ast_tone_zone* tz

Tone zone for res_indications (ring, busy, congestion)

Definition at line 398 of file chan_unistim.c.

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


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