Mon Jun 27 16:51:25 2011

Asterisk developer's documentation


unistimsession Struct Reference


Data Fields

unsigned char buf [MAX_BUF_NUMBER][MAX_BUF_SIZE]
char buff_entry [16]
unistim_devicedevice
int last_buf_available
unsigned short last_seq_ack
ast_mutex_t lock
char macaddr [18]
int nb_retransmit
unistimsessionnext
unsigned short seq_phone
unsigned short seq_server
sockaddr_in sin
int size_buff_entry
sockaddr_in sout
int state
unsigned long tick_next_ping
int timeout
wsabuf wsabufsend [MAX_BUF_NUMBER]

Detailed Description

Definition at line 474 of file chan_unistim.c.


Field Documentation

unsigned char buf[MAX_BUF_NUMBER][MAX_BUF_SIZE]

Buffer array used to keep the lastest non-acked paquets

Definition at line 490 of file chan_unistim.c.

char buff_entry[16]

Buffer for temporary datas

Definition at line 487 of file chan_unistim.c.

Referenced by key_history(), key_select_codec(), key_select_extension(), show_entry_history(), and show_history().

struct unistim_device* device

Definition at line 491 of file chan_unistim.c.

Referenced by cancel_dial(), change_callerid(), change_favorite_icon(), close_call(), close_client(), do_monitor(), handle_dial_page(), HandleCallIncoming(), HandleCallOutgoing(), HandleSelectCodec(), init_phone_step2(), key_dial_page(), key_history(), key_main_page(), key_ringing(), key_select_codec(), key_select_extension(), Keyfavorite(), OpenHistory(), process_request(), rcv_mac_addr(), refresh_all_favorite(), RegisterExtension(), send_date_time2(), send_text_status(), SendDialTone(), show_entry_history(), show_history(), show_main_page(), TransferCallStep1(), unistim_call(), unistim_do_senddigit(), unistim_hangup(), unistim_indicate(), unistim_info(), unistim_register(), unistim_send_mwi_to_peer(), unistim_senddigit_end(), unistim_sendtext(), unistim_ss(), UnregisterExtension(), write_entry_history(), and write_history().

int last_buf_available

number of a free slot

Definition at line 483 of file chan_unistim.c.

Referenced by check_send_queue(), do_monitor(), send_client(), and send_retransmit().

unsigned short last_seq_ack

sequence number of the last ACK received

Definition at line 481 of file chan_unistim.c.

Referenced by check_send_queue(), parsing(), and send_retransmit().

ast_mutex_t lock

Definition at line 475 of file chan_unistim.c.

Referenced by close_client(), parsing(), reload_config(), send_client(), and send_retransmit().

char macaddr[18]

mac adress of the phone (not always available)

Definition at line 488 of file chan_unistim.c.

Referenced by init_phone_step2(), key_select_extension(), rcv_mac_addr(), unistim_info(), and unistim_register().

int nb_retransmit

number of retransmition

Definition at line 484 of file chan_unistim.c.

Referenced by parsing(), and send_retransmit().

struct unistimsession* next

Definition at line 492 of file chan_unistim.c.

Referenced by close_client(), do_monitor(), reload_config(), unistim_info(), and unistimsock_read().

unsigned short seq_phone

sequence number for the next packet (when we receive a request)

Definition at line 479 of file chan_unistim.c.

Referenced by parsing().

unsigned short seq_server

sequence number for the next packet (when we send a request)

Definition at line 480 of file chan_unistim.c.

Referenced by check_send_queue(), parsing(), send_client(), and send_retransmit().

struct sockaddr_in sin

IP address of the phone

Definition at line 476 of file chan_unistim.c.

Referenced by process_request(), send_client(), send_retransmit(), show_main_page(), start_rtp(), unistim_info(), and unistimsock_read().

int size_buff_entry

size of the buffer used to enter datas

Definition at line 486 of file chan_unistim.c.

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

struct sockaddr_in sout

IP address of server

Definition at line 477 of file chan_unistim.c.

Referenced by parsing(), send_client(), send_retransmit(), and start_rtp().

int state

state of the phone (see phone_state)

Definition at line 485 of file chan_unistim.c.

Referenced by change_favorite_icon(), close_client(), handle_dial_page(), HandleCallIncoming(), HandleCallOutgoing(), HandleSelectCodec(), init_phone_step2(), key_dial_page(), parsing(), process_request(), rcv_mac_addr(), show_history(), show_main_page(), ShowExtensionPage(), unistim_call(), unistim_hangup(), and unistim_info().

unsigned long tick_next_ping

time for the next ping

Definition at line 482 of file chan_unistim.c.

Referenced by send_ping(), and set_ping_timer().

int timeout

time-out in ticks : resend packet if no ack was received before the timeout occured

Definition at line 478 of file chan_unistim.c.

Referenced by do_monitor(), send_client(), send_retransmit(), set_ping_timer(), and unistim_info().

struct wsabuf wsabufsend[MAX_BUF_NUMBER]

Size of each paquet stored in the buffer array & pointer to this buffer

Definition at line 489 of file chan_unistim.c.

Referenced by send_client(), and send_retransmit().


The documentation for this struct was generated from the following file:
Generated on Mon Jun 27 16:51:25 2011 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7