Mon Oct 8 12:39:33 2012

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]
ast_haha
int height
char id [18]
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
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
unistimsessionsession
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]
unistim_devicesp [6]
time_t start_call_timestamp
int status_method
char titledefault [13]
char to_delete
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(), 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().

enum autoprov_extn extension

See ifdef EXTENSION for valid values

Definition at line 468 of file chan_unistim.c.

Referenced by build_device(), 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_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_select_extension(), unistim_info(), and unistim_register().

struct unistim_line* lines

Definition at line 473 of file chan_unistim.c.

Referenced by build_device(), close_call(), close_client(), do_monitor(), find_subchannel_by_name(), HandleCallIncoming(), HandleCallOutgoing(), key_dial_page(), rcv_mac_addr(), RegisterExtension(), reload_config(), show_main_page(), TransferCallStep1(), unistim_do_senddigit(), unistim_info(), unistim_send_mwi_to_peer(), unistim_senddigit_end(), and UnregisterExtension().

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

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

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 missed_call

Number of call unanswered

Definition at line 457 of file chan_unistim.c.

Referenced by cancel_dial(), close_call(), handle_dial_page(), HandleCallIncoming(), key_main_page(), key_select_extension(), unistim_indicate(), and unistim_register().

int moh

Music on hold in progress

Definition at line 466 of file chan_unistim.c.

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

int mute

Mute mode

Definition at line 465 of file chan_unistim.c.

Referenced by build_device().

char name[DEVICE_NAME_LEN]

name of the device

Definition at line 435 of file chan_unistim.c.

Referenced by alloc_sub(), build_device(), close_call(), find_subchannel_by_name(), HandleCallIncoming(), HandleCallOutgoing(), OpenHistory(), rcv_mac_addr(), reload_config(), unalloc_sub(), unistim_answer(), unistim_fixup(), unistim_hangup(), unistim_info(), unistim_new(), unistim_ss(), and write_history().

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

struct unistim_device* next

Definition at line 476 of file chan_unistim.c.

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

int output

Handset, headphone or speaker

Definition at line 462 of file chan_unistim.c.

Referenced by build_device(), handle_dial_page(), HandleCallIncoming(), HandleCallOutgoing(), key_dial_page(), process_request(), and show_main_page().

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

int receiver_state

state of the receiver (see ReceiverState)

Definition at line 428 of file chan_unistim.c.

Referenced by handle_dial_page(), HandleCallIncoming(), key_dial_page(), key_select_extension(), process_request(), and unistim_register().

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(), 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 unistimsession* session

Definition at line 475 of file chan_unistim.c.

Referenced by change_favorite_icon(), channel_to_session(), close_client(), key_select_extension(), reload_config(), start_rtp(), unistim_answer(), unistim_info(), unistim_register(), unistim_sp(), and unistim_ss().

struct ast_silence_generator* silence_generator

Definition at line 472 of file chan_unistim.c.

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

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]

icon number

Definition at line 439 of file chan_unistim.c.

Referenced by build_device(), change_favorite_icon(), finish_bookmark(), Keyfavorite(), ParseBookmark(), refresh_all_favorite(), and unistim_sendtext().

char softkeylabel[6][11]

soft key label

Definition at line 437 of file chan_unistim.c.

Referenced by build_device(), change_favorite_icon(), ParseBookmark(), refresh_all_favorite(), show_main_page(), and unistim_sendtext().

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.

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

int volume

Default volume

Definition at line 464 of file chan_unistim.c.

Referenced by build_device(), HandleCallOutgoing(), key_dial_page(), and show_main_page().


The documentation for this struct was generated from the following file:
Generated on Mon Oct 8 12:39:33 2012 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7