Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
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 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

char call_forward[AST_MAX_EXTENSION]

Forward number

Definition at line 438 of file chan_unistim.c.

Referenced by unistim_new().

int callhistory

Allowed to record call history

Definition at line 434 of file chan_unistim.c.

char codec_number

The current codec used to make calls

Definition at line 432 of file chan_unistim.c.

char context[AST_MAX_EXTENSION]

Context to start in

Definition at line 398 of file chan_unistim.c.

Referenced by unistim_new().

signed char contrast

contrast

Definition at line 419 of file chan_unistim.c.

char country[3]

country used for dial tone frequency

Definition at line 420 of file chan_unistim.c.

signed char cwstyle

Ring melody on call waiting

Definition at line 425 of file chan_unistim.c.

signed char cwvolume

Ring volume on call waiting

Definition at line 424 of file chan_unistim.c.

char datetimeformat

format used for displaying time/date

Definition at line 418 of file chan_unistim.c.

int dtmfduration

DTMF playback duration

Definition at line 427 of file chan_unistim.c.

char expsoftkeylabel[EXPNUM][11]

soft key label

Definition at line 404 of file chan_unistim.c.

See ifdef EXTENSION for valid values

Definition at line 447 of file chan_unistim.c.

Referenced by Registration::parse_host_part(), and Registration::write().

char extension_number[11]

Extension number entered by the user

Definition at line 448 of file chan_unistim.c.

int hasexp

if device have expansion connected

Definition at line 403 of file chan_unistim.c.

int height

The number of lines the phone can display

Definition at line 413 of file chan_unistim.c.

char id[18]

mac address of the current phone in ascii

Definition at line 401 of file chan_unistim.c.

Referenced by Section::__cmp__(), Section::__eq__(), Section::__ge__(), Section::__gt__(), Section::__le__(), and Section::__lt__().

int interdigit_timer

Interdigit timer for dialing number by timeout

Definition at line 426 of file chan_unistim.c.

char language[MAX_LANGUAGE]

Language for asterisk sounds

Definition at line 412 of file chan_unistim.c.

Referenced by unistim_new().

char lst_cid[TEXT_LENGTH_MAX]

Last callerID received

Definition at line 436 of file chan_unistim.c.

char lst_cnm[TEXT_LENGTH_MAX]

Last callername recevied

Definition at line 437 of file chan_unistim.c.

char maintext0[25]

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

Definition at line 414 of file chan_unistim.c.

char maintext1[25]

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

Definition at line 415 of file chan_unistim.c.

char maintext2[25]

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

Definition at line 416 of file chan_unistim.c.

int microphone

Microphone mode (audio tx)

Definition at line 443 of file chan_unistim.c.

int missed_call

Number of call unanswered

Definition at line 433 of file chan_unistim.c.

char name[DEVICE_NAME_LEN]

name of the device

Definition at line 402 of file chan_unistim.c.

Referenced by PathSegment::__init__(), PathSegment::get_child(), and unistim_new().

int nat

Used by MWI Used by the obscure ast_rtp_setnat

Definition at line 446 of file chan_unistim.c.

time_t nextdial

Timer used for dial by timeout

Definition at line 428 of file chan_unistim.c.

time_t nextmsgcheck

Used by MWI

Definition at line 445 of file chan_unistim.c.

int output

Handset, headphone or speaker

Definition at line 439 of file chan_unistim.c.

char phone_number[AST_MAX_EXTENSION]

the phone number entered by the user

Definition at line 399 of file chan_unistim.c.

int previous_output

Previous output

Definition at line 440 of file chan_unistim.c.

int receiver_state

state of the receiver (see ReceiverState)

Definition at line 396 of file chan_unistim.c.

char redial_number[AST_MAX_EXTENSION]

the last phone number entered by the user

Definition at line 400 of file chan_unistim.c.

signed char ringstyle

Ring melody

Definition at line 423 of file chan_unistim.c.

signed char ringvolume

Ring volume

Definition at line 422 of file chan_unistim.c.

int rtp_method

Select the unistim data used to establish a RTP session

Definition at line 430 of file chan_unistim.c.

int rtp_port

RTP port used by the phone

Definition at line 429 of file chan_unistim.c.

int selected

softkey selected

Definition at line 442 of file chan_unistim.c.

int sharp_dial

Execute Dial on '#' or not

Definition at line 435 of file chan_unistim.c.

int size_phone_number

size of the phone number

Definition at line 397 of file chan_unistim.c.

char softkeydevice[FAVNUM][16]

name of the device monitored

Definition at line 408 of file chan_unistim.c.

char softkeyicon[FAVNUM]

icon number

Definition at line 407 of file chan_unistim.c.

char softkeylabel[FAVNUM][11]

soft key label

Definition at line 405 of file chan_unistim.c.

char softkeynumber[FAVNUM][AST_MAX_EXTENSION]

number dialed when the soft key is pressed

Definition at line 406 of file chan_unistim.c.

struct unistim_device* sp[FAVNUM]

pointer to the device monitored by this soft key

Definition at line 411 of file chan_unistim.c.

int status_method

Select the unistim packet used for sending status text

Definition at line 431 of file chan_unistim.c.

struct { ... } subs

pointer to our current connection, channel...

char titledefault[13]

title (text before date/time)

Definition at line 417 of file chan_unistim.c.

signed char to_delete

Used in reload

Definition at line 449 of file chan_unistim.c.

struct ast_tone_zone* tz

Tone zone for res_indications (ring, busy, congestion)

Definition at line 421 of file chan_unistim.c.

int volume

Default volume

Definition at line 441 of file chan_unistim.c.


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