Asterisk - The Open Source Telephony Project GIT-master-b023714
|
chan_unistim channel driver for Asterisk More...
#include "asterisk.h"
#include <sys/stat.h>
#include <signal.h>
#include "asterisk/paths.h"
#include "asterisk/network.h"
#include "asterisk/channel.h"
#include "asterisk/config.h"
#include "asterisk/module.h"
#include "asterisk/pbx.h"
#include "asterisk/rtp_engine.h"
#include "asterisk/unaligned.h"
#include "asterisk/netsock2.h"
#include "asterisk/acl.h"
#include "asterisk/callerid.h"
#include "asterisk/cli.h"
#include "asterisk/app.h"
#include "asterisk/mwi.h"
#include "asterisk/musiconhold.h"
#include "asterisk/causes.h"
#include "asterisk/indications.h"
#include "asterisk/pickup.h"
#include "asterisk/astobj2.h"
#include "asterisk/astdb.h"
#include "asterisk/features_config.h"
#include "asterisk/bridge.h"
#include "asterisk/stasis_channels.h"
#include "asterisk/format_cache.h"
Go to the source code of this file.
Data Structures | |
struct | unistim_device |
A device containing one or more lines. More... | |
struct | unistim_languages |
struct | unistim_line |
struct | unistim_menu_item |
struct | unistim_subchannel |
struct | unistimsession |
struct | ustm_lang_entry |
struct | wsabuf |
Functions | |
static void | __reg_module (void) |
static void | __unreg_module (void) |
struct ast_module * | AST_MODULE_SELF_SYM (void) |
static int | attempt_transfer (struct unistim_subchannel *p1, struct unistim_subchannel *p2) |
static struct unistim_device * | build_device (const char *cat, const struct ast_variable *v) |
static void | change_callerid (struct unistimsession *pte, int type, char *callerid) |
static void | change_favorite_icon (struct unistimsession *pte, unsigned char status) |
static struct unistimsession * | channel_to_session (struct ast_channel *ast) |
static void | check_send_queue (struct unistimsession *pte) |
static void | close_call (struct unistimsession *pte) |
static void | close_client (struct unistimsession *s) |
static char * | control2str (int ind) |
static struct unistimsession * | create_client (const struct sockaddr_in *addr_from) |
static void | delete_device (struct unistim_device *d) |
static void | discard_call (struct unistimsession *pte) |
static void | display_last_error (const char *sz_msg) |
static void * | do_monitor (void *data) |
static void | dummy (char *unused,...) |
static int | find_language (const char *) |
static struct unistim_line * | find_line_by_number (struct unistim_device *d, const char *val) |
static int | find_rtp_port (struct unistim_subchannel *s) |
static struct unistim_subchannel * | find_subchannel_by_name (const char *dest) |
static void | finish_bookmark (void) |
static int | get_active_softkey (struct unistimsession *pte) |
static int | get_avail_softkey (struct unistimsession *pte, const char *name) |
static struct unistim_subchannel * | get_sub (struct unistim_device *device, int type) |
static struct unistim_subchannel * | get_sub_holding (struct unistim_device *device, int type, int holding) |
static unsigned int | get_tick_count (void) |
static int | get_to_address (int fd, struct sockaddr_in *toAddr) |
static void | handle_call_incoming (struct unistimsession *s) |
static void | handle_call_outgoing (struct unistimsession *s) |
static void | handle_dial_page (struct unistimsession *pte) |
static void | handle_key_fav (struct unistimsession *pte, char keycode) |
static void | handle_select_codec (struct unistimsession *) |
static void | handle_select_language (struct unistimsession *) |
static void | handle_select_option (struct unistimsession *pte) |
static void | ignore_call (struct unistimsession *pte) |
static void | in_band_indication (struct ast_channel *ast, const struct ast_tone_zone *tz, const char *indication) |
static void | init_phone_step2 (struct unistimsession *pte) |
static int | is_key_favorite (struct unistim_device *d, int fav) |
static int | is_key_line (struct unistim_device *d, int fav) |
static void | key_call (struct unistimsession *pte, char keycode) |
static void | key_dial_page (struct unistimsession *pte, char keycode) |
static void | key_favorite (struct unistimsession *, char) |
static void | key_history (struct unistimsession *pte, char keycode) |
static void | key_main_page (struct unistimsession *pte, char keycode) |
static void | key_ringing (struct unistimsession *pte, char keycode) |
static void | key_select_codec (struct unistimsession *pte, char keycode) |
static void | key_select_extension (struct unistimsession *pte, char keycode) |
static void | key_select_language (struct unistimsession *pte, char keycode) |
static void | key_select_option (struct unistimsession *pte, char keycode) |
static int | lang_cmp_fn (void *obj, void *arg, int flags) |
static int | lang_hash_fn (const void *obj, const int flags) |
static int | load_module (void) |
static void | microphone_mute_toggle (struct unistimsession *pte) |
static char | open_history (struct unistimsession *pte, char way, FILE **f) |
static int | parse_bookmark (const char *text, struct unistim_device *d) |
static void | parsing (int size, unsigned char *buf, struct unistimsession *pte, struct sockaddr_in *addr_from) |
static void | process_request (int size, unsigned char *buf, struct unistimsession *pte) |
static const char * | ptestate_tostr (const int type) |
static void | rcv_mac_addr (struct unistimsession *pte, const unsigned char *buf) |
static void | rcv_resume_connection_with_server (struct unistimsession *pte) |
static void | refresh_all_favorite (struct unistimsession *pte) |
static int | register_extension (const struct unistimsession *pte) |
static int | reload (void) |
static int | reload_config (void) |
static int | restart_monitor (void) |
static void | send_blink_cursor (struct unistimsession *pte) |
static void | send_callerid_screen (struct unistimsession *, struct unistim_subchannel *) |
static void | send_charset_update (struct unistimsession *pte, int charset) |
static void | send_client (int size, const unsigned char *data, struct unistimsession *pte) |
static void | send_cursor_pos (struct unistimsession *pte, unsigned char pos) |
static void | send_date_time (struct unistimsession *pte) |
static void | send_date_time2 (struct unistimsession *pte) |
static void | send_date_time3 (struct unistimsession *pte) |
static void | send_dial_tone (struct unistimsession *pte) |
static int | send_dtmf_tone (struct unistimsession *pte, char digit) |
static void | send_end_call (struct unistimsession *pte) |
static void | send_expansion_icon (unsigned char pos, unsigned char status, struct unistimsession *pte) |
static void | send_expansion_next (struct unistimsession *pte) |
static void | send_expansion_short (unsigned char pos, unsigned char status, struct unistimsession *pte) |
static void | send_expansion_text (unsigned char pos, struct unistimsession *pte, const char *text) |
static void | send_favorite (unsigned char pos, unsigned char status, struct unistimsession *pte, const char *text) |
static void | send_favorite_selected (unsigned char status, struct unistimsession *pte) |
static void | send_favorite_short (unsigned char pos, unsigned char status, struct unistimsession *pte) |
static void | send_icon (unsigned char pos, unsigned char status, struct unistimsession *pte) |
static void | send_idle_clock (struct unistimsession *pte) |
static void | send_led_update (struct unistimsession *pte, unsigned char led) |
static void | send_month_labels (struct unistimsession *pte, int month) |
static void | send_mute (struct unistimsession *pte, unsigned char mute) |
static void | send_no_ring (struct unistimsession *pte) |
static void | send_ping (struct unistimsession *pte) |
static void | send_raw_client (int size, const unsigned char *data, struct sockaddr_in *addr_to, const struct sockaddr_in *addr_ourip) |
static int | send_retransmit (struct unistimsession *pte) |
static void | send_ring (struct unistimsession *pte, signed char volume, signed char style) |
static void | send_select_output (struct unistimsession *pte, unsigned char output, unsigned char volume, unsigned char mute) |
static void | send_start_rtp (struct unistim_subchannel *) |
static void | send_start_timer (struct unistimsession *pte) |
static void | send_stop_timer (struct unistimsession *pte) |
static void | send_text (unsigned char pos, unsigned char inverse, struct unistimsession *pte, const char *text) |
static void | send_text_status (struct unistimsession *pte, const char *text) |
static void | send_texttitle (struct unistimsession *pte, const char *text) |
static void | send_tone (struct unistimsession *pte, uint16_t tone1, uint16_t tone2) |
static void | set_ping_timer (struct unistimsession *pte) |
static void | show_entry_history (struct unistimsession *pte, FILE **f) |
static void | show_extension_page (struct unistimsession *pte) |
static void | show_history (struct unistimsession *pte, char way) |
static void | show_main_page (struct unistimsession *pte) |
static void | show_phone_number (struct unistimsession *pte) |
static int | soft_key_visible (struct unistim_device *d, unsigned char num) |
static void | start_rtp (struct unistim_subchannel *sub) |
static void | sub_hold (struct unistimsession *pte, struct unistim_subchannel *sub) |
static void | sub_start_silence (struct unistimsession *pte, struct unistim_subchannel *sub) |
static void | sub_stop_silence (struct unistimsession *pte, struct unistim_subchannel *sub) |
static void | sub_unhold (struct unistimsession *pte, struct unistim_subchannel *sub) |
static const char * | subtype_tostr (const int type) |
static void | swap_subs (struct unistim_subchannel *a, struct unistim_subchannel *b) |
static void | transfer_call_step1 (struct unistimsession *pte) |
static void | transfer_cancel_step2 (struct unistimsession *pte) |
static struct unistim_subchannel * | unistim_alloc_sub (struct unistim_device *d, int x) |
static int | unistim_answer (struct ast_channel *ast) |
static int | unistim_call (struct ast_channel *ast, const char *dest, int timeout) |
static char * | unistim_do_debug (struct ast_cli_entry *e, int cmd, struct ast_cli_args *a) |
static int | unistim_do_senddigit (struct unistimsession *pte, char digit) |
static int | unistim_fixup (struct ast_channel *oldchan, struct ast_channel *newchan) |
static int | unistim_free_sub (struct unistim_subchannel *) |
static enum ast_rtp_glue_result | unistim_get_rtp_peer (struct ast_channel *chan, struct ast_rtp_instance **instance) |
static int | unistim_hangup (struct ast_channel *ast) |
static int | unistim_hangup_clean (struct ast_channel *ast, struct unistim_subchannel *sub) |
static int | unistim_indicate (struct ast_channel *ast, int ind, const void *data, size_t datalen) |
static struct unistim_line * | unistim_line_alloc (void) |
static void | unistim_line_copy (struct unistim_line *dst, struct unistim_line *src) |
static struct unistim_line * | unistim_line_destroy (struct unistim_line *l) |
static struct ast_channel * | unistim_new (struct unistim_subchannel *sub, int state, const struct ast_assigned_ids *assignedids, const struct ast_channel *requestor) |
static struct ast_frame * | unistim_read (struct ast_channel *ast) |
static int | unistim_register (struct unistimsession *s) |
static char * | unistim_reload (struct ast_cli_entry *e, int cmd, struct ast_cli_args *a) |
— unistim_reload: Force reload of module from cli — Runs in the asterisk main thread, so don't do anything useful but setting a flag and waiting for do_monitor to do the job in our thread | |
static struct ast_channel * | unistim_request (const char *type, struct ast_format_cap *cap, const struct ast_assigned_ids *assignedids, const struct ast_channel *requestor, const char *dest, int *cause) |
static struct ast_frame * | unistim_rtp_read (const struct ast_channel *ast, const struct unistim_subchannel *sub) |
static int | unistim_send_mwi_to_peer (struct unistim_line *peer, unsigned int tick) |
static int | unistim_senddigit_begin (struct ast_channel *ast, char digit) |
static int | unistim_senddigit_end (struct ast_channel *ast, char digit, unsigned int duration) |
static int | unistim_sendtext (struct ast_channel *ast, const char *text) |
static void | unistim_set_owner (struct unistim_subchannel *sub, struct ast_channel *chan) |
static int | unistim_set_rtp_peer (struct ast_channel *chan, struct ast_rtp_instance *rtp, struct ast_rtp_instance *vrtp, struct ast_rtp_instance *trtp, const struct ast_format_cap *codecs, int nat_active) |
static char * | unistim_show_devices (struct ast_cli_entry *e, int cmd, struct ast_cli_args *a) |
static char * | unistim_show_info (struct ast_cli_entry *e, int cmd, struct ast_cli_args *a) |
static char * | unistim_sp (struct ast_cli_entry *e, int cmd, struct ast_cli_args *a) |
static void * | unistim_ss (void *data) |
static int | unistim_unalloc_sub (struct unistim_device *d, struct unistim_subchannel *sub) |
static int | unistim_write (struct ast_channel *ast, struct ast_frame *frame) |
static int | unistimsock_read (int *id, int fd, short events, void *ignore) |
static int | unload_module (void) |
static void | unquote (char *out, const char *src, int maxlen) |
static int | unregister_extension (const struct unistimsession *pte) |
static const char * | ustmtext (const char *str, struct unistimsession *pte) |
static int | write_entry_history (struct unistimsession *pte, FILE *f, char c, char *line1) |
static int | write_history (struct unistimsession *pte, char way, char ismissed) |
Variables | ||
static struct ast_module_info | __mod_info = { .name = AST_MODULE, .flags = AST_MODFLAG_DEFAULT , .description = "UNISTIM Protocol (USTM)" , .key = ASTERISK_GPL_KEY , .buildopt_sum = AST_BUILDOPT_SUM, .support_level = AST_MODULE_SUPPORT_EXTENDED, .load = load_module, .unload = unload_module, .reload = reload, } | |
static const struct ast_module_info * | ast_module_info = &__mod_info | |
static enum autoprovision | autoprovisioning = AUTOPROVISIONING_NO | |
static unsigned char * | buff | |
static const char | channel_type [] = "USTM" | |
static struct ast_jb_conf | default_jbconf | |
Global jitterbuffer configuration - by default, jb is disabled. | ||
static ast_mutex_t | devicelock = AST_MUTEX_INIT_VALUE | |
static struct unistim_device * | devices = NULL | |
static const float | dtmf_col [] = { 1209, 1336, 1477, 1633 } | |
static const int | dtmf_row [] = { 697, 770, 852, 941 } | |
struct ast_format_cap * | global_cap | |
static struct ast_jb_conf | global_jbconf | |
static struct io_context * | io | |
static pthread_t | monitor_thread = AST_PTHREADT_NULL | |
static ast_mutex_t | monlock = AST_MUTEX_INIT_VALUE | |
static unsigned char | monthlabels [] | |
static struct unistim_languages | options_languages [] | |
static struct unistim_menu_item | options_menu [] | |
static const unsigned char | packet_rcv_discovery [] | |
static const unsigned char | packet_recv_expansion_pressed_key [] | |
static const unsigned char | packet_recv_firm_version [] | |
static const unsigned char | packet_recv_hangup [] | |
static const unsigned char | packet_recv_it_type [] | |
static const unsigned char | packet_recv_mac_addr [] | |
static const unsigned char | packet_recv_pick_up [] | |
static const unsigned char | packet_recv_pressed_key [] | |
static const unsigned char | packet_recv_r2 [] = { 0x00, 0x00, 0x00, 0x13, 0x96, 0x03, 0x03 } | |
static const unsigned char | packet_recv_resume_connection_with_server [] | |
static const unsigned char | packet_send_arrow [] = { 0x17, 0x04, 0x04, 0x00 } | |
static const unsigned char | packet_send_blink_cursor [] = { 0x17, 0x04, 0x10, 0x86 } | |
static const unsigned char | packet_send_call [] | |
static const unsigned char | packet_send_charset_iso_2022_jp [] | |
static const unsigned char | packet_send_charset_iso_8859_1 [] | |
static const unsigned char | packet_send_charset_iso_8859_2 [] | |
static const unsigned char | packet_send_charset_iso_8859_4 [] | |
static const unsigned char | packet_send_charset_iso_8859_5 [] | |
static const unsigned char | packet_send_Contrast [] | |
static const unsigned char | packet_send_date_time [] | |
static const unsigned char | packet_send_date_time2 [] | |
static const unsigned char | packet_send_date_time3 [] | |
static const unsigned char | packet_send_discovery_ack [] | |
static const unsigned char | packet_send_end_call [] | |
static const unsigned char | packet_send_expansion_icon [] = { 0x09, 0x06, 0x59, 0x05, 0x47, 0x20 } | |
static const unsigned char | packet_send_expansion_next [] = { 0x09, 0x03, 0x17 } | |
static const unsigned char | packet_send_expansion_text [] | |
static const unsigned char | packet_send_favorite [] | |
static const unsigned char | packet_send_icon [] = { 0x17, 0x05, 0x14, 0x00, 0x25 } | |
static const unsigned char | packet_send_jitter_buffer_conf [] | |
static const unsigned char | packet_send_led_update [] = { 0x19, 0x04, 0x00, 0x00 } | |
static unsigned char | packet_send_monthlabels_download [] | |
static const unsigned char | packet_send_mute [] = { 0x16, 0x05, 0x04, 0x00, 0x00 } | |
static const unsigned char | packet_send_no_ring [] | |
static const unsigned char | packet_send_open_audio_stream_rx [] | |
static const unsigned char | packet_send_open_audio_stream_rx3 [] | |
static const unsigned char | packet_send_open_audio_stream_tx [] | |
static const unsigned char | packet_send_open_audio_stream_tx3 [] | |
static unsigned char | packet_send_ping [] | |
static const unsigned char | packet_send_query_basic_manager_04 [] = { 0x1a, 0x04, 0x01, 0x04 } | |
static const unsigned char | packet_send_query_basic_manager_10 [] = { 0x1a, 0x04, 0x01, 0x10 } | |
static const unsigned char | packet_send_query_mac_address [] = { 0x1a, 0x04, 0x01, 0x08 } | |
static const unsigned char | packet_send_ring [] | |
static const unsigned char | packet_send_rtp_packet_size [] | |
static const unsigned char | packet_send_S1 [] = { 0x1a, 0x07, 0x07, 0x00, 0x00, 0x00, 0x13 } | |
static const unsigned char | packet_send_s4 [] | |
static const unsigned char | packet_send_S7 [] = { 0x17, 0x06, 0x0f, 0x30, 0x07, 0x07 } | |
static const unsigned char | packet_send_s9 [] | |
static const unsigned char | packet_send_select_output [] | |
static const unsigned char | packet_send_set_pos_cursor [] | |
static const unsigned char | packet_send_start_timer [] | |
static const unsigned char | packet_send_status [] | |
static const unsigned char | packet_send_status2 [] | |
static const unsigned char | packet_send_stop_timer [] = { 0x17, 0x05, 0x0b, 0x02, 0x00 } | |
static const unsigned char | packet_send_stream_based_tone_dual_freq [] | |
static const unsigned char | packet_send_stream_based_tone_off [] | |
static const unsigned char | packet_send_stream_based_tone_on [] | |
static const unsigned char | packet_send_stream_based_tone_single_freq [] | |
static const unsigned char | packet_send_text [] | |
static const unsigned char | packet_send_title [] | |
static struct sockaddr_in | public_ip = { 0, } | |
struct { | ||
unsigned int cos | ||
unsigned int cos_audio | ||
unsigned int tos | ||
unsigned int tos_audio | ||
} | qos = { 0, 0, 0, 0 } | |
static struct ast_sched_context * | sched | |
static ast_mutex_t | sessionlock = AST_MUTEX_INIT_VALUE | |
static struct unistimsession * | sessions = NULL | |
static const char | tdesc [] = "UNISTIM Channel Driver" | |
static struct ast_cli_entry | unistim_cli [] | |
static int | unistim_keepalive | |
static int | unistim_port | |
static ast_mutex_t | unistim_reload_lock = AST_MUTEX_INIT_VALUE | |
static int | unistim_reloading = 0 | |
static struct ast_rtp_glue | unistim_rtp_glue | |
static struct ast_channel_tech | unistim_tech | |
static int | unistimdebug = 0 | |
static int | unistimsock = -1 | |
static char | ustm_strcopy [1024] | |
chan_unistim channel driver for Asterisk
Unistim (Unified Networks IP Stimulus) channel driver for Nortel i2002, i2004 and i2050
Definition in file chan_unistim.c.
#define AST_CONFIG_MAX_PATH 255 |
Definition at line 113 of file chan_unistim.c.
#define BUFFSEND unsigned char buffsend[64] = { 0x00, 0x00, 0xaa, 0xbb, 0x02, 0x01 } |
Definition at line 704 of file chan_unistim.c.
#define DEBUG_TIMER dummy |
Definition at line 241 of file chan_unistim.c.
#define DEFAULT_CODEC 0x00 |
Not used
Definition at line 110 of file chan_unistim.c.
#define DEFAULT_INTERDIGIT_TIMER 4000 |
Timeout value for entered number being dialed
Definition at line 107 of file chan_unistim.c.
#define DEFAULTCALLERID "Unknown" |
Definition at line 84 of file chan_unistim.c.
#define DEFAULTCALLERNAME " " |
Definition at line 85 of file chan_unistim.c.
#define DEFAULTCONTEXT "default" |
Definition at line 83 of file chan_unistim.c.
#define DEFAULTHEIGHT 3 |
Definition at line 86 of file chan_unistim.c.
#define DEVICE_NAME_LEN 16 |
Definition at line 112 of file chan_unistim.c.
#define EXPNUM 24 |
Definition at line 217 of file chan_unistim.c.
#define FAV_BLINK_FAST 0x20 |
Definition at line 211 of file chan_unistim.c.
#define FAV_BLINK_SLOW 0x40 |
Definition at line 212 of file chan_unistim.c.
#define FAV_ICON_BOX 0x3F |
Definition at line 209 of file chan_unistim.c.
#define FAV_ICON_CALL_CENTER 0x34 |
Definition at line 198 of file chan_unistim.c.
#define FAV_ICON_CITY 0x31 |
Definition at line 195 of file chan_unistim.c.
#define FAV_ICON_COMPUTER 0x38 |
Definition at line 202 of file chan_unistim.c.
#define FAV_ICON_FAX 0x35 |
Definition at line 199 of file chan_unistim.c.
#define FAV_ICON_FORWARD 0x39 |
Definition at line 203 of file chan_unistim.c.
#define FAV_ICON_HEADPHONES 0x2E |
Definition at line 192 of file chan_unistim.c.
#define FAV_ICON_HEADPHONES_ONHOLD 0x2F |
Definition at line 193 of file chan_unistim.c.
#define FAV_ICON_HOME 0x30 |
Definition at line 194 of file chan_unistim.c.
#define FAV_ICON_INBOX 0x3C |
Definition at line 206 of file chan_unistim.c.
#define FAV_ICON_LOCKED 0x3A |
Definition at line 204 of file chan_unistim.c.
#define FAV_ICON_MAILBOX 0x36 |
Definition at line 200 of file chan_unistim.c.
#define FAV_ICON_MEETING 0x3E |
Definition at line 208 of file chan_unistim.c.
#define FAV_ICON_NONE 0x00 |
Definition at line 177 of file chan_unistim.c.
#define FAV_ICON_OFFHOOK_BLACK 0x24 |
Definition at line 182 of file chan_unistim.c.
#define FAV_ICON_OFFHOOK_WHITE 0x25 |
Definition at line 183 of file chan_unistim.c.
#define FAV_ICON_ONHOLD_BLACK 0x26 |
Definition at line 184 of file chan_unistim.c.
#define FAV_ICON_ONHOLD_WHITE 0x27 |
Definition at line 185 of file chan_unistim.c.
#define FAV_ICON_ONHOOK_BLACK 0x20 |
Definition at line 178 of file chan_unistim.c.
#define FAV_ICON_ONHOOK_WHITE 0x21 |
Definition at line 179 of file chan_unistim.c.
#define FAV_ICON_OUTBOX 0x3D |
Definition at line 207 of file chan_unistim.c.
#define FAV_ICON_PAGER 0x33 |
Definition at line 197 of file chan_unistim.c.
#define FAV_ICON_PHONE_BLACK 0x2A |
Definition at line 188 of file chan_unistim.c.
#define FAV_ICON_PHONE_WHITE 0x2B |
Definition at line 189 of file chan_unistim.c.
#define FAV_ICON_REFLECT 0x37 |
Definition at line 201 of file chan_unistim.c.
#define FAV_ICON_SHARP 0x32 |
Definition at line 196 of file chan_unistim.c.
#define FAV_ICON_SPEAKER_OFFHOOK_BLACK 0x28 |
Definition at line 186 of file chan_unistim.c.
#define FAV_ICON_SPEAKER_OFFHOOK_WHITE 0x29 |
Definition at line 187 of file chan_unistim.c.
#define FAV_ICON_SPEAKER_ONHOLD_BLACK 0x2C |
Definition at line 190 of file chan_unistim.c.
#define FAV_ICON_SPEAKER_ONHOLD_WHITE 0x2D |
Definition at line 191 of file chan_unistim.c.
#define FAV_ICON_SPEAKER_ONHOOK_BLACK 0x22 |
Definition at line 180 of file chan_unistim.c.
#define FAV_ICON_SPEAKER_ONHOOK_WHITE 0x23 |
Definition at line 181 of file chan_unistim.c.
#define FAV_ICON_TRASH 0x3B |
Definition at line 205 of file chan_unistim.c.
#define FAV_LINE_ICON FAV_ICON_ONHOOK_BLACK |
Definition at line 218 of file chan_unistim.c.
#define FAV_MAX_LENGTH 0x0A |
Definition at line 214 of file chan_unistim.c.
#define FAVNUM 6 |
Definition at line 216 of file chan_unistim.c.
#define IDLE_WAIT 1000 |
Nb of milliseconds waited when no events are scheduled
Definition at line 101 of file chan_unistim.c.
#define LED_BAR_OFF 0x00 /* bar off */ |
Definition at line 151 of file chan_unistim.c.
#define LED_BAR_ON 0x01 /* bar on */ |
Definition at line 152 of file chan_unistim.c.
#define LED_BAR_P2 0x02 /* bar 1s on/1s */ |
Definition at line 153 of file chan_unistim.c.
#define LED_BAR_P3 0x03 /* bar 2.5s on/0.5s off */ |
Definition at line 154 of file chan_unistim.c.
#define LED_BAR_P4 0x04 /* bar 0.6s on/0.3s off */ |
Definition at line 155 of file chan_unistim.c.
#define LED_BAR_P5 0x05 /* bar 0.5s on/0.5s off */ |
Definition at line 156 of file chan_unistim.c.
#define LED_BAR_P6 0x06 /* bar 2s on/0.5s off */ |
Definition at line 157 of file chan_unistim.c.
#define LED_BAR_P7 0x07 /* bar off */ |
Definition at line 158 of file chan_unistim.c.
#define LED_HEADPHONE_OFF 0x010 |
Definition at line 161 of file chan_unistim.c.
#define LED_HEADPHONE_ON 0x011 |
Definition at line 162 of file chan_unistim.c.
#define LED_MUTE_BLINK 0x1A |
Definition at line 165 of file chan_unistim.c.
#define LED_MUTE_OFF 0x018 |
Definition at line 163 of file chan_unistim.c.
#define LED_MUTE_ON 0x019 |
Definition at line 164 of file chan_unistim.c.
#define LED_SPEAKER_OFF 0x08 |
Definition at line 159 of file chan_unistim.c.
#define LED_SPEAKER_ON 0x09 |
Definition at line 160 of file chan_unistim.c.
#define MAX_BUF_NUMBER 150 |
Number of slots for the transmit queue
Definition at line 93 of file chan_unistim.c.
#define MAX_BUF_SIZE 64 |
Size of the transmit buffer
Definition at line 91 of file chan_unistim.c.
#define MAX_ENTRY_LOG 30 |
Definition at line 114 of file chan_unistim.c.
#define MAX_SCREEN_NUMBER 15 |
Number of digits displayed on screen
Definition at line 95 of file chan_unistim.c.
#define MONTH_LABEL_SIZE 3 |
Length of month label size
Definition at line 97 of file chan_unistim.c.
#define MUTE_OFF 0x00 |
Definition at line 147 of file chan_unistim.c.
#define MUTE_ON 0xFF |
Definition at line 148 of file chan_unistim.c.
#define MUTE_ON_DISCRET 0xCE |
Definition at line 149 of file chan_unistim.c.
#define NB_MAX_RETRANSMIT 8 |
Try x times before removing the phone
Definition at line 99 of file chan_unistim.c.
#define OUTPUT_HANDSET 0xC0 |
Definition at line 138 of file chan_unistim.c.
#define OUTPUT_HEADPHONE 0xC1 |
Definition at line 139 of file chan_unistim.c.
#define OUTPUT_SPEAKER 0xC2 |
Definition at line 140 of file chan_unistim.c.
#define RETRANSMIT_TIMER 2000 |
Wait x milliseconds before resending a packet
Definition at line 103 of file chan_unistim.c.
#define SELECTCODEC_MAX_LENGTH 2 |
Definition at line 3730 of file chan_unistim.c.
#define SELECTCODEC_MSG "Codec number : .." |
Definition at line 3731 of file chan_unistim.c.
#define SELECTCODEC_START_ENTRY_POS 15 |
Definition at line 3729 of file chan_unistim.c.
#define SELECTEXTENSION_MAX_LENGTH 10 |
Definition at line 3874 of file chan_unistim.c.
#define SELECTEXTENSION_MSG ".........." |
Definition at line 3875 of file chan_unistim.c.
#define SELECTEXTENSION_START_ENTRY_POS 0 |
Definition at line 3873 of file chan_unistim.c.
#define SIZE_HEADER 6 |
Definition at line 167 of file chan_unistim.c.
#define SIZE_MAC_ADDR 17 |
Definition at line 168 of file chan_unistim.c.
#define SIZE_PAGE 4096 |
Definition at line 111 of file chan_unistim.c.
#define STATUS_LENGTH_MAX 28 |
Definition at line 175 of file chan_unistim.c.
#define SUB_REAL 0 |
Definition at line 116 of file chan_unistim.c.
#define SUB_RING 1 |
Definition at line 117 of file chan_unistim.c.
#define SUB_THREEWAY 2 |
Definition at line 118 of file chan_unistim.c.
#define TEXT_INVERSE 0x25 |
Definition at line 174 of file chan_unistim.c.
#define TEXT_LENGTH_MAX 24 |
Definition at line 169 of file chan_unistim.c.
#define TEXT_LINE0 0x00 |
Definition at line 170 of file chan_unistim.c.
#define TEXT_LINE1 0x20 |
Definition at line 171 of file chan_unistim.c.
#define TEXT_LINE2 0x40 |
Definition at line 172 of file chan_unistim.c.
#define TEXT_NORMAL 0x05 |
Definition at line 173 of file chan_unistim.c.
#define TIMER_MWI 5000 |
How often the mailbox is checked for new messages
Definition at line 105 of file chan_unistim.c.
#define USTM_LANG_DIR "unistimLang" |
Definition at line 88 of file chan_unistim.c.
#define USTM_LOG_DIR "unistimHistory" |
Definition at line 87 of file chan_unistim.c.
#define VOLUME_INSANELY_LOUD 0x07 |
Definition at line 145 of file chan_unistim.c.
#define VOLUME_LOW 0x01 |
Definition at line 142 of file chan_unistim.c.
#define VOLUME_LOW_SPEAKER 0x03 |
Definition at line 143 of file chan_unistim.c.
#define VOLUME_NORMAL 0x02 |
Definition at line 144 of file chan_unistim.c.
enum autoprov_extn |
Definition at line 128 of file chan_unistim.c.
enum autoprovision |
Enumerator | |
---|---|
AUTOPROVISIONING_NO | |
AUTOPROVISIONING_YES | |
AUTOPROVISIONING_TN |
Definition at line 122 of file chan_unistim.c.
enum charset |
Enumerator | |
---|---|
LANG_DEFAULT | |
ISO_8859_1 | |
ISO_8859_2 | |
ISO_8859_4 | |
ISO_8859_5 | |
ISO_2022_JP |
Definition at line 336 of file chan_unistim.c.
enum handset_state |
Enumerator | |
---|---|
STATE_ONHOOK | |
STATE_OFFHOOK |
Definition at line 290 of file chan_unistim.c.
enum phone_key |
Definition at line 295 of file chan_unistim.c.
enum phone_state |
Enumerator | |
---|---|
STATE_INIT | |
STATE_AUTHDENY | |
STATE_MAINPAGE | |
STATE_EXTENSION | |
STATE_DIALPAGE | |
STATE_RINGING | |
STATE_CALL | |
STATE_SELECTOPTION | |
STATE_SELECTCODEC | |
STATE_SELECTLANGUAGE | |
STATE_CLEANING | |
STATE_HISTORY |
Definition at line 275 of file chan_unistim.c.
|
static |
Definition at line 7206 of file chan_unistim.c.
|
static |
Definition at line 7206 of file chan_unistim.c.
struct ast_module * AST_MODULE_SELF_SYM | ( | void | ) |
Definition at line 7206 of file chan_unistim.c.
|
static |
Definition at line 2440 of file chan_unistim.c.
References ast_bridge_transfer_attended(), AST_BRIDGE_TRANSFER_FAIL, AST_BRIDGE_TRANSFER_INVALID, AST_BRIDGE_TRANSFER_NOT_PERMITTED, AST_BRIDGE_TRANSFER_SUCCESS, ast_channel_ref, ast_channel_unref, ast_log, AST_SOFTHANGUP_DEV, ast_softhangup_nolock(), LOG_WARNING, NULL, unistim_subchannel::owner, and RAII_VAR.
Referenced by close_call().
|
static |
Definition at line 6501 of file chan_unistim.c.
References ast_append_ha(), ast_calloc, ast_channel_string2amaflag(), ast_copy_string(), ast_format_cap_append_from_cap(), ast_free, ast_get_group(), ast_get_indication_zone(), AST_LIST_INSERT_TAIL, AST_LIST_LOCK, AST_LIST_REMOVE_CURRENT, AST_LIST_TRAVERSE_SAFE_BEGIN, AST_LIST_TRAVERSE_SAFE_END, AST_LIST_UNLOCK, ast_localtime(), ast_log, AST_MAX_EXTENSION, AST_MEDIA_TYPE_UNKNOWN, ast_mutex_init, ast_mutex_lock, ast_mutex_unlock, ast_strlen_zero(), ast_tone_zone_unref(), ast_true(), ast_tvnow(), ast_verb, autoprovisioning, AUTOPROVISIONING_TN, unistim_line::cap, d, dateformat, DEFAULT_INTERDIGIT_TIMER, DEFAULTCONTEXT, DEFAULTHEIGHT, delete_device(), devicelock, devices, EXTENSION_ASK, EXTENSION_LINE, EXTENSION_NONE, EXTENSION_TN, FAV_ICON_NONE, FAV_LINE_ICON, find_line_by_number(), unistim_line::fullname, global_cap, len(), ast_variable::lineno, unistim_line::list, unistim_line::lock, LOG_ERROR, LOG_WARNING, unistim_line::mailbox, MUTE_OFF, unistim_line::name, ast_variable::name, test_val::name, ast_variable::next, test_val::next, NULL, OUTPUT_HANDSET, unistim_line::parent, parse_bookmark(), ast_tm::tm_zone, unistim_line_alloc(), unistim_line_destroy(), unistimdebug, unistimsock, unquote(), ast_variable::value, and VOLUME_LOW.
Referenced by reload_config().
|
static |
Definition at line 2472 of file chan_unistim.c.
References unistimsession::device, unistim_device::lst_cid, unistim_device::lst_cnm, TEXT_LENGTH_MAX, and type.
Referenced by close_call(), and send_callerid_screen().
|
static |
Definition at line 1418 of file chan_unistim.c.
References d, unistimsession::device, devices, FAVNUM, get_active_softkey(), test_val::next, send_favorite(), send_favorite_short(), unistimsession::state, STATE_CLEANING, and status.
Referenced by close_client(), handle_dial_page(), send_select_output(), show_main_page(), and unistim_call().
|
static |
Definition at line 4794 of file chan_unistim.c.
References ast_channel_tech_pvt(), ast_log, ast_mutex_lock, ast_mutex_unlock, LOG_WARNING, NULL, and sub.
Referenced by unistim_answer(), unistim_call(), unistim_hangup(), unistim_indicate(), unistim_senddigit_begin(), unistim_senddigit_end(), and unistim_sendtext().
|
static |
Definition at line 1101 of file chan_unistim.c.
References ast_verb, unistimsession::last_buf_available, unistimsession::last_seq_ack, unistimsession::seq_server, set_ping_timer(), and unistimdebug.
Referenced by parsing().
|
static |
Definition at line 2599 of file chan_unistim.c.
References unistim_subchannel::alreadygone, AST_CAUSE_NORMAL_CLEARING, ast_log, ast_queue_hangup(), ast_queue_hangup_with_cause(), ast_verb, attempt_transfer(), change_callerid(), unistimsession::device, FAV_LINE_ICON, get_sub(), LOG_WARNING, unistim_device::missed_call, unistim_device::name, unistim_subchannel::owner, unistim_device::redial_number, send_favorite_short(), send_stop_timer(), show_main_page(), sub, SUB_REAL, SUB_THREEWAY, and write_history().
Referenced by key_call(), process_request(), and unistim_hangup().
|
static |
Definition at line 1470 of file chan_unistim.c.
References AST_CAUSE_NETWORK_OUT_OF_ORDER, ast_debug, ast_free, AST_LIST_LOCK, AST_LIST_REMOVE_CURRENT, AST_LIST_TRAVERSE_SAFE_BEGIN, AST_LIST_TRAVERSE_SAFE_END, AST_LIST_UNLOCK, ast_log, ast_mutex_destroy, ast_mutex_lock, ast_mutex_unlock, ast_queue_hangup_with_cause(), ast_strlen_zero(), ast_verb, change_favorite_icon(), unistimsession::device, unistim_device::extension_number, FAV_ICON_NONE, unistim_device::lock, unistimsession::lock, LOG_WARNING, unistim_device::name, unistimsession::next, NULL, unistim_device::session, sessionlock, sessions, unistimsession::state, STATE_CLEANING, sub, unistim_device::subs, unistim_free_sub(), unistimdebug, and unregister_extension().
Referenced by parsing(), and send_retransmit().
|
static |
Definition at line 5279 of file chan_unistim.c.
References AST_CONTROL_ANSWER, AST_CONTROL_BUSY, AST_CONTROL_CONGESTION, AST_CONTROL_CONNECTED_LINE, AST_CONTROL_FLASH, AST_CONTROL_HANGUP, AST_CONTROL_OFFHOOK, AST_CONTROL_OPTION, AST_CONTROL_RADIO_KEY, AST_CONTROL_RADIO_UNKEY, AST_CONTROL_RING, AST_CONTROL_RINGING, AST_CONTROL_SRCCHANGE, AST_CONTROL_SRCUPDATE, AST_CONTROL_TAKEOFFHOOK, and AST_CONTROL_WINK.
Referenced by unistim_indicate().
|
static |
Definition at line 1046 of file chan_unistim.c.
References ast_calloc, ast_free, ast_inet_ntoa(), ast_mutex_init, ast_mutex_lock, ast_mutex_unlock, ast_verb, wsabuf::buf, unistimsession::buf, get_tick_count(), get_to_address(), unistimsession::lock, MAX_BUF_NUMBER, unistimsession::next, NULL, RETRANSMIT_TIMER, sessionlock, sessions, unistimsession::sin, unistimsession::sout, unistimsession::state, STATE_INIT, unistimsession::tick_next_ping, unistimsession::timeout, unistim_keepalive, unistimdebug, unistimsock, and unistimsession::wsabufsend.
Referenced by parsing().
|
static |
Definition at line 6422 of file chan_unistim.c.
References ast_free, AST_LIST_LOCK, AST_LIST_REMOVE_CURRENT, AST_LIST_TRAVERSE_SAFE_BEGIN, AST_LIST_TRAVERSE_SAFE_END, AST_LIST_UNLOCK, ast_log, ast_mutex_destroy, ast_tone_zone_unref(), ast_verb, d, devices, unistim_line::lock, LOG_WARNING, test_val::name, unistim_device::next, unistimsession::next, test_val::next, sessions, sub, SUB_REAL, SUB_THREEWAY, unistim_line_destroy(), and unistimdebug.
Referenced by build_device(), and reload_config().
|
static |
Definition at line 2647 of file chan_unistim.c.
References AST_CAUSE_NORMAL_CLEARING, ast_queue_hangup_with_cause(), unistimsession::device, get_sub(), sub, and SUB_RING.
Referenced by key_ringing().
|
static |
Definition at line 889 of file chan_unistim.c.
References ast_log, errno, and LOG_WARNING.
Referenced by key_history(), open_history(), send_raw_client(), show_entry_history(), write_entry_history(), and write_history().
|
static |
Definition at line 5835 of file chan_unistim.c.
References ast_io_add(), AST_IO_IN, ast_io_wait(), AST_LIST_LOCK, AST_LIST_TRAVERSE, AST_LIST_UNLOCK, ast_mutex_lock, ast_mutex_unlock, ast_strlen_zero(), ast_verb, DEBUG_TIMER, unistimsession::device, get_tick_count(), handle_call_outgoing(), IDLE_WAIT, io, unistimsession::last_buf_available, unistim_device::lines, unistim_line::list, unistim_line::mailbox, unistimsession::next, unistim_device::nextdial, unistim_device::nextmsgcheck, NULL, unistim_line::parent, reload_config(), send_ping(), send_retransmit(), sessionlock, sessions, unistimsession::timeout, unistim_reload_lock, unistim_reloading, unistim_send_mwi_to_peer(), unistimsock, and unistimsock_read().
Referenced by restart_monitor().
|
static |
Definition at line 220 of file chan_unistim.c.
Referenced by ast_fdisset(), cc_request_state_change(), custom_log(), custom_log(), manager_log(), ooh323c_call_thread(), ooh323c_cmd_thread(), ooh323c_stack_thread(), packsms16(), packsms7(), packsms8(), parse_args(), write_cdr(), and write_cel().
|
static |
Definition at line 3807 of file chan_unistim.c.
References NULL, and options_languages.
Referenced by handle_select_language(), init_phone_step2(), reload_config(), send_charset_update(), and ustmtext().
|
static |
Definition at line 6408 of file chan_unistim.c.
References AST_LIST_LOCK, AST_LIST_TRAVERSE, AST_LIST_UNLOCK, d, unistim_line::list, unistim_line::name, and NULL.
Referenced by build_device().
|
static |
Definition at line 2685 of file chan_unistim.c.
References AST_LIST_LOCK, AST_LIST_TRAVERSE, AST_LIST_UNLOCK, ast_rtp_instance_get_remote_address, ast_sockaddr_to_sin, NULL, unistim_subchannel::parent, unistim_line::parent, unistim_device::rtp_port, sub, and unistim_device::subs.
Referenced by start_rtp().
|
static |
Definition at line 5421 of file chan_unistim.c.
References ast_copy_string(), AST_LIST_LOCK, AST_LIST_TRAVERSE, AST_LIST_UNLOCK, ast_log, ast_mutex_lock, ast_mutex_unlock, ast_verb, d, devicelock, devices, get_sub(), unistim_subchannel::list, LOG_NOTICE, LOG_WARNING, unistim_line::name, test_val::name, test_val::next, NULL, sub, SUB_REAL, unistim_alloc_sub(), and unistimdebug.
Referenced by unistim_request(), and unistim_sp().
|
static |
Definition at line 6380 of file chan_unistim.c.
References ast_log, ast_mutex_lock, ast_mutex_unlock, d, devicelock, devices, LOG_NOTICE, unistim_device::name, unistim_device::next, test_val::next, and NULL.
Referenced by reload_config().
|
static |
Definition at line 1380 of file chan_unistim.c.
References unistimsession::device, and unistim_device::selected.
Referenced by change_favorite_icon().
|
static |
Definition at line 1385 of file chan_unistim.c.
References ast_verb, unistimsession::device, FAVNUM, is_key_line(), unistim_line::name, name, unistim_device::selected, unistim_device::sline, soft_key_visible(), unistim_device::ssub, and unistimdebug.
Referenced by handle_call_outgoing(), key_main_page(), process_request(), and unistim_request().
|
static |
Definition at line 2493 of file chan_unistim.c.
References AST_LIST_LOCK, AST_LIST_TRAVERSE, AST_LIST_UNLOCK, unistim_subchannel::list, NULL, sub, unistim_device::subs, and type.
Referenced by close_call(), discard_call(), find_subchannel_by_name(), handle_call_incoming(), handle_call_outgoing(), key_call(), key_dial_page(), sub_unhold(), transfer_call_step1(), transfer_cancel_step2(), unistim_answer(), unistim_call(), unistim_do_senddigit(), unistim_hangup(), and unistim_request().
|
static |
Definition at line 2511 of file chan_unistim.c.
References AST_LIST_LOCK, AST_LIST_TRAVERSE, AST_LIST_UNLOCK, unistim_subchannel::holding, unistim_subchannel::list, NULL, sub, unistim_device::subs, and type.
Referenced by handle_key_fav().
|
static |
Definition at line 895 of file chan_unistim.c.
References ast_tvnow().
Referenced by create_client(), do_monitor(), key_dial_page(), send_client(), send_ping(), and send_retransmit().
|
static |
Definition at line 1002 of file chan_unistim.c.
References ast_inet_ntoa(), ast_log, ast_verb, errno, LOG_WARNING, NULL, public_ip, and unistimdebug.
Referenced by create_client().
|
static |
Definition at line 3262 of file chan_unistim.c.
References AST_CONTROL_ANSWER, ast_log, ast_queue_control(), ast_verb, unistimsession::device, FAV_ICON_OFFHOOK_BLACK, FAV_LINE_ICON, FAVNUM, get_sub(), LOG_WARNING, unistim_device::missed_call, MUTE_OFF, unistim_device::name, NULL, unistim_device::output, OUTPUT_HANDSET, OUTPUT_SPEAKER, unistim_device::receiver_state, send_favorite_short(), send_no_ring(), send_select_output(), send_start_timer(), send_text(), send_text_status(), unistim_device::sline, unistim_device::ssub, start_rtp(), unistimsession::state, STATE_CALL, STATE_ONHOOK, sub, sub_hold(), SUB_REAL, SUB_RING, unistim_subchannel::subtype, TEXT_LINE2, TEXT_NORMAL, unistimdebug, ustmtext(), unistim_device::volume, and write_history().
Referenced by handle_key_fav(), key_ringing(), and process_request().
|
static |
Definition at line 3111 of file chan_unistim.c.
References ao2_cleanup, AST_CAUSE_CALL_REJECTED, AST_CAUSE_NORMAL_CLEARING, AST_CAUSE_SWITCH_CONGESTION, ast_channel_hangupcause_set(), ast_channel_lock, ast_channel_name(), ast_channel_unlock, ast_debug, ast_get_chan_features_pickup_config(), ast_hangup(), ast_log, ast_pickup_call(), ast_pthread_create, AST_PTHREADT_NULL, ast_queue_hangup_with_cause(), AST_STATE_DOWN, ast_strdupa, ast_verb, c, d, unistimsession::device, FAV_ICON_OFFHOOK_BLACK, get_avail_softkey(), get_sub(), unistim_device::height, LOG_ERROR, LOG_NOTICE, LOG_WARNING, MUTE_OFF, unistim_device::name, NULL, unistim_device::output, unistim_subchannel::owner, unistim_subchannel::parent, unistim_device::phone_number, RAII_VAR, unistim_device::selected, send_favorite_short(), send_select_output(), send_start_timer(), send_text(), send_text_status(), send_tone(), unistim_device::sline, unistim_subchannel::softkey, unistim_device::ssub, start_rtp(), unistimsession::state, STATE_CALL, sub, sub_hold(), SUB_REAL, sub_stop_silence(), SUB_THREEWAY, unistim_subchannel::subtype, swap_subs(), TEXT_LINE0, TEXT_LINE1, TEXT_LINE2, TEXT_NORMAL, unistim_alloc_sub(), unistim_new(), unistim_ss(), unistimdebug, ustmtext(), and unistim_device::volume.
Referenced by do_monitor(), key_dial_page(), key_favorite(), and key_main_page().
|
static |
Definition at line 2983 of file chan_unistim.c.
References ast_copy_string(), ast_strlen_zero(), unistim_device::call_forward, change_favorite_icon(), unistimsession::device, FAV_ICON_NONE, FAV_ICON_PHONE_BLACK, unistim_device::height, unistim_device::lastmsgssent, LED_BAR_OFF, unistim_device::missed_call, MUTE_OFF, unistim_device::output, OUTPUT_HANDSET, OUTPUT_SPEAKER, unistim_device::phone_number, unistim_device::receiver_state, unistim_device::redial_number, send_dial_tone(), send_icon(), send_led_update(), send_select_output(), send_text(), send_text_status(), show_phone_number(), unistim_device::size_phone_number, unistimsession::state, STATE_DIALPAGE, STATE_ONHOOK, TEXT_LINE0, TEXT_LINE1, TEXT_NORMAL, ustmtext(), and unistim_device::volume.
Referenced by handle_key_fav(), key_main_page(), process_request(), and transfer_call_step1().
|
static |
Definition at line 3380 of file chan_unistim.c.
References ast_verb, unistimsession::device, FAV_LINE_ICON, get_sub_holding(), handle_call_incoming(), handle_dial_page(), unistim_subchannel::holding, is_key_favorite(), is_key_line(), KEY_FAV0, key_favorite(), MUTE_OFF, NULL, unistim_device::output, OUTPUT_HANDSET, OUTPUT_SPEAKER, unistim_device::receiver_state, unistim_device::selected, send_callerid_screen(), send_favorite_selected(), send_select_output(), send_stop_timer(), send_tone(), show_main_page(), unistim_subchannel::softkey, unistim_device::ssub, unistimsession::state, STATE_CALL, STATE_DIALPAGE, STATE_ONHOOK, sub, sub_hold(), SUB_REAL, SUB_RING, sub_unhold(), unistim_subchannel::subtype, unistimdebug, and unistim_device::volume.
Referenced by key_call(), key_dial_page(), key_main_page(), and key_ringing().
|
static |
Definition at line 3732 of file chan_unistim.c.
References ast_copy_string(), buf, unistim_device::codec_number, unistimsession::device, SELECTCODEC_MSG, SELECTCODEC_START_ENTRY_POS, send_blink_cursor(), send_cursor_pos(), send_text(), send_text_status(), unistimsession::size_buff_entry, unistimsession::state, STATE_SELECTCODEC, TEXT_INVERSE, TEXT_LINE0, TEXT_LINE1, TEXT_LINE2, TEXT_NORMAL, and ustmtext().
|
static |
Definition at line 3819 of file chan_unistim.c.
References ast_copy_string(), unistimsession::buff_entry, unistimsession::device, unistim_languages::encoding, find_language(), unistim_languages::label, unistim_languages::lang_short, unistim_device::language, options_languages, send_charset_update(), send_text(), send_text_status(), unistimsession::size_buff_entry, unistimsession::state, STATE_SELECTLANGUAGE, TEXT_LINE0, TEXT_NORMAL, and ustmtext().
Referenced by key_select_language().
|
static |
Definition at line 3687 of file chan_unistim.c.
References unistimsession::buff_entry, unistim_menu_item::label, options_menu, send_text(), send_text_status(), unistimsession::size_buff_entry, unistimsession::state, STATE_SELECTOPTION, TEXT_LINE0, TEXT_NORMAL, and ustmtext().
Referenced by key_main_page(), key_select_language(), and key_select_option().
|
static |
Definition at line 2641 of file chan_unistim.c.
References send_no_ring().
Referenced by key_ringing().
|
static |
Definition at line 5320 of file chan_unistim.c.
References ast_get_indication_tone(), ast_log, ast_playtones_start(), ast_tone_zone_sound_unref(), ast_tone_zone_sound::data, LOG_WARNING, NULL, and tz.
Referenced by unistim_indicate().
|
static |
Definition at line 4381 of file chan_unistim.c.
References ast_verb, autoprovisioning, AUTOPROVISIONING_TN, BUFFSEND, unistim_device::contrast, unistimsession::device, unistim_languages::encoding, FAVNUM, find_language(), unistim_device::language, LED_BAR_OFF, unistimsession::macaddr, NULL, options_languages, packet_send_arrow, packet_send_Contrast, packet_send_s4, packet_send_S7, packet_send_s9, refresh_all_favorite(), send_charset_update(), send_client(), send_date_time2(), send_date_time3(), send_favorite(), send_led_update(), send_no_ring(), send_ping(), send_text(), send_text_status(), send_texttitle(), show_extension_page(), show_main_page(), SIZE_HEADER, unistimsession::state, STATE_MAINPAGE, TEXT_LINE0, TEXT_LINE1, TEXT_LINE2, TEXT_NORMAL, unistimdebug, and ustmtext().
Referenced by process_request().
|
static |
Definition at line 1352 of file chan_unistim.c.
Referenced by handle_key_fav(), is_key_line(), and key_favorite().
|
static |
Definition at line 1366 of file chan_unistim.c.
References d, FAVNUM, and is_key_favorite().
Referenced by get_avail_softkey(), handle_key_fav(), unistim_call(), and unistim_hangup().
|
static |
Definition at line 3435 of file chan_unistim.c.
References AST_STATE_UP, close_call(), unistimsession::device, get_sub(), handle_key_fav(), KEY_0, KEY_FAV0, KEY_FAV1, KEY_FAV2, KEY_FAV3, KEY_FAV4, KEY_FAV5, KEY_FUNC1, KEY_FUNC2, KEY_FUNC4, KEY_HANGUP, KEY_HEADPHN, KEY_LOUDSPK, KEY_ONHOLD, KEY_SHARP, KEY_STAR, MUTE_OFF, unistim_device::output, OUTPUT_HANDSET, OUTPUT_HEADPHONE, OUTPUT_SPEAKER, unistim_device::previous_output, unistim_device::selected, send_select_output(), unistim_device::ssub, sub, sub_hold(), SUB_REAL, SUB_THREEWAY, sub_unhold(), transfer_call_step1(), transfer_cancel_step2(), unistim_do_senddigit(), and unistim_device::volume.
Referenced by process_request().
|
static |
Definition at line 3561 of file chan_unistim.c.
References ast_copy_string(), ast_exists_extension(), ast_matchmore_extension(), ast_queue_unhold(), ast_strlen_zero(), unistim_device::call_forward, unistim_device::context, unistimsession::device, FAV_LINE_ICON, get_sub(), get_tick_count(), handle_call_outgoing(), handle_key_fav(), unistim_device::interdigit_timer, KEY_0, KEY_FAV0, KEY_FAV1, KEY_FAV2, KEY_FAV3, KEY_FAV4, KEY_FAV5, KEY_FUNC1, KEY_FUNC2, KEY_FUNC3, KEY_FUNC4, KEY_HANGUP, KEY_HEADPHN, KEY_LOUDSPK, KEY_SHARP, KEY_STAR, LED_HEADPHONE_OFF, LED_SPEAKER_OFF, MUTE_OFF, unistim_device::nextdial, NULL, unistim_device::output, OUTPUT_HANDSET, OUTPUT_HEADPHONE, OUTPUT_SPEAKER, unistim_device::phone_number, unistim_device::previous_output, unistim_device::receiver_state, unistim_device::redial_number, unistim_device::selected, send_callerid_screen(), send_favorite_selected(), send_led_update(), send_select_output(), send_text_status(), send_tone(), unistim_device::sharp_dial, show_main_page(), show_phone_number(), unistim_device::size_phone_number, unistimsession::state, STATE_CALL, STATE_OFFHOOK, sub, SUB_REAL, sub_stop_silence(), SUB_THREEWAY, ustmtext(), and unistim_device::volume.
Referenced by key_main_page(), and process_request().
|
static |
Definition at line 3548 of file chan_unistim.c.
References ast_copy_string(), ast_log, unistimsession::device, handle_call_outgoing(), is_key_favorite(), KEY_FAV0, LOG_WARNING, unistim_device::phone_number, and unistim_device::softkeynumber.
Referenced by handle_key_fav().
|
static |
Definition at line 4294 of file chan_unistim.c.
References ast_copy_string(), ast_strlen_zero(), unistimsession::buff_entry, unistimsession::device, display_last_error(), unistim_device::height, KEY_DOWN, KEY_FUNC1, KEY_FUNC2, KEY_FUNC3, KEY_FUNC4, KEY_HANGUP, KEY_LEFT, key_main_page(), KEY_RCVHIST, KEY_RIGHT, KEY_SNDHIST, KEY_UP, unistim_device::lst_cid, open_history(), unistim_device::redial_number, show_entry_history(), show_history(), show_main_page(), and TEXT_LENGTH_MAX.
Referenced by process_request().
|
static |
Definition at line 4191 of file chan_unistim.c.
References ao2_cleanup, ast_copy_string(), ast_get_chan_features_pickup_config(), ast_log, ast_mutex_lock, ast_mutex_unlock, ast_strlen_zero(), unistimsession::buff_entry, unistim_device::call_forward, unistimsession::device, devicelock, unistim_device::extension, EXTENSION_ASK, unistim_device::extension_number, EXTENSION_TN, FAV_ICON_NONE, get_avail_softkey(), handle_call_outgoing(), handle_dial_page(), handle_key_fav(), handle_select_option(), unistim_device::id, KEY_0, KEY_CONF, key_dial_page(), KEY_FAV0, KEY_FAV1, KEY_FAV2, KEY_FAV3, KEY_FAV4, KEY_FAV5, KEY_FUNC1, KEY_FUNC2, KEY_FUNC3, KEY_FUNC4, KEY_HEADPHN, KEY_LOUDSPK, KEY_RCVHIST, KEY_SHARP, KEY_SNDHIST, LOG_ERROR, unistim_device::missed_call, MUTE_OFF, NULL, unistim_device::output, OUTPUT_HANDSET, OUTPUT_HEADPHONE, OUTPUT_SPEAKER, unistim_device::phone_number, RAII_VAR, unistim_device::receiver_state, unistim_device::redial_number, unistim_device::selected, send_icon(), send_select_output(), unistim_device::session, show_extension_page(), show_history(), show_main_page(), unistimsession::size_buff_entry, STATE_ONHOOK, TEXT_LINE0, unregister_extension(), and unistim_device::volume.
Referenced by key_history(), and process_request().
|
static |
Definition at line 3515 of file chan_unistim.c.
References unistimsession::device, discard_call(), handle_call_incoming(), handle_key_fav(), ignore_call(), KEY_FAV0, KEY_FAV1, KEY_FAV2, KEY_FAV3, KEY_FAV4, KEY_FAV5, KEY_FUNC1, KEY_FUNC3, KEY_FUNC4, KEY_HANGUP, KEY_HEADPHN, KEY_LOUDSPK, unistim_device::output, OUTPUT_HEADPHONE, and OUTPUT_SPEAKER.
Referenced by process_request().
|
static |
Definition at line 3752 of file chan_unistim.c.
References unistimsession::buff_entry, unistim_device::codec_number, unistimsession::device, KEY_0, KEY_9, KEY_FUNC1, KEY_FUNC2, KEY_FUNC3, KEY_FUNC4, KEY_HANGUP, SELECTCODEC_MAX_LENGTH, SELECTCODEC_MSG, SELECTCODEC_START_ENTRY_POS, send_blink_cursor(), send_cursor_pos(), send_text(), show_main_page(), unistimsession::size_buff_entry, TEXT_INVERSE, and TEXT_LINE2.
Referenced by process_request().
|
static |
Definition at line 3890 of file chan_unistim.c.
References ast_copy_string(), ast_mutex_lock, ast_mutex_unlock, autoprovisioning, AUTOPROVISIONING_TN, unistimsession::buff_entry, d, DEFAULT_CODEC, unistimsession::device, devicelock, devices, unistim_device::extension, unistim_device::extension_number, EXTENSION_TN, KEY_0, KEY_9, KEY_FUNC1, KEY_FUNC2, KEY_FUNC3, unistimsession::macaddr, test_val::next, refresh_all_favorite(), register_extension(), SELECTEXTENSION_MAX_LENGTH, SELECTEXTENSION_MSG, SELECTEXTENSION_START_ENTRY_POS, send_blink_cursor(), send_cursor_pos(), send_text(), show_main_page(), unistimsession::size_buff_entry, STATE_ONHOOK, TEXT_LINE0, TEXT_LINE1, TEXT_LINE2, TEXT_NORMAL, and ustmtext().
Referenced by process_request().
|
static |
Definition at line 3842 of file chan_unistim.c.
References ast_copy_string(), unistimsession::buff_entry, unistimsession::device, unistim_languages::encoding, handle_select_language(), handle_select_option(), KEY_DOWN, KEY_FUNC1, KEY_FUNC4, KEY_HANGUP, KEY_UP, unistim_languages::label, unistim_languages::lang_short, unistim_device::language, NULL, options_languages, refresh_all_favorite(), send_charset_update(), and show_main_page().
Referenced by process_request().
|
static |
Definition at line 3702 of file chan_unistim.c.
References unistimsession::buff_entry, unistim_menu_item::handle_option, handle_select_option(), KEY_DOWN, KEY_FUNC1, KEY_FUNC4, KEY_HANGUP, KEY_UP, unistim_menu_item::label, NULL, options_menu, and show_main_page().
Referenced by process_request().
|
static |
Definition at line 792 of file chan_unistim.c.
References CMP_MATCH, CMP_STOP, and ustm_lang_entry::str_orig.
Referenced by ustmtext().
|
static |
Definition at line 786 of file chan_unistim.c.
References ast_str_hash(), and ustm_lang_entry::str_orig.
Referenced by ustmtext().
|
static |
XXX
Definition at line 7080 of file chan_unistim.c.
References ao2_cleanup, ao2_ref, ARRAY_LEN, ast_channel_register(), ast_cli_register_multiple, ast_format_alaw, ast_format_cap_alloc, ast_format_cap_append, ast_format_cap_append_from_cap(), AST_FORMAT_CAP_FLAG_DEFAULT, ast_format_ulaw, ast_free, ast_log, ast_malloc, AST_MEDIA_TYPE_AUDIO, AST_MODULE_LOAD_DECLINE, AST_MODULE_LOAD_SUCCESS, ast_rtp_glue_register, ast_sched_context_create(), ast_sched_context_destroy(), buff, ast_channel_tech::capabilities, channel_type, global_cap, io, io_context_create(), io_context_destroy(), LOG_ERROR, NULL, reload_config(), restart_monitor(), SIZE_PAGE, unistim_cli, unistim_rtp_glue, and unistim_tech.
|
static |
Definition at line 4457 of file chan_unistim.c.
References unistimsession::device, LED_MUTE_OFF, LED_MUTE_ON, unistim_device::microphone, MUTE_OFF, MUTE_ON, send_led_update(), and send_mute().
Referenced by process_request().
|
static |
Definition at line 4058 of file chan_unistim.c.
References ast_config_AST_LOG_DIR, AST_CONFIG_MAX_PATH, ast_log, unistimsession::device, display_last_error(), LOG_WARNING, MAX_ENTRY_LOG, unistim_device::name, NULL, and USTM_LOG_DIR.
Referenced by key_history(), and show_history().
|
static |
Definition at line 6297 of file chan_unistim.c.
References ast_copy_string(), ast_log, ast_strlen_zero(), ast_verb, d, FAV_ICON_SHARP, FAVNUM, len(), LOG_NOTICE, LOG_WARNING, text, and unistimdebug.
Referenced by build_device().
|
static |
Definition at line 4633 of file chan_unistim.c.
References ast_inet_ntoa(), ast_log, ast_mutex_lock, ast_mutex_unlock, ast_verb, buf, check_send_queue(), close_client(), create_client(), unistimsession::last_seq_ack, unistimsession::lock, LOG_NOTICE, LOG_WARNING, unistimsession::nb_retransmit, packet_rcv_discovery, packet_send_discovery_ack, process_request(), send_raw_client(), send_retransmit(), seq, unistimsession::seq_phone, unistimsession::seq_server, SIZE_HEADER, unistimsession::sout, unistimsession::state, STATE_INIT, and unistimdebug.
Referenced by load_module(), unistimsock_read(), and unload_module().
|
static |
Definition at line 4469 of file chan_unistim.c.
References ast_copy_string(), ast_debug, ast_inet_ntoa(), ast_log, ast_verb, buf, close_call(), unistimsession::device, unistimsession::firmware, get_avail_softkey(), handle_call_incoming(), handle_dial_page(), unistim_device::height, init_phone_step2(), key_call(), key_dial_page(), key_history(), key_main_page(), KEY_MUTE, key_ringing(), key_select_codec(), key_select_extension(), key_select_language(), key_select_option(), LOG_WARNING, microphone_mute_toggle(), MUTE_OFF, unistim_device::nextdial, NULL, unistim_device::output, OUTPUT_HANDSET, OUTPUT_HEADPHONE, OUTPUT_SPEAKER, packet_recv_expansion_pressed_key, packet_recv_firm_version, packet_recv_hangup, packet_recv_it_type, packet_recv_mac_addr, packet_recv_pick_up, packet_recv_pressed_key, packet_recv_r2, packet_recv_resume_connection_with_server, ptestate_tostr(), rcv_mac_addr(), rcv_resume_connection_with_server(), unistim_device::receiver_state, unistim_device::selected, send_select_output(), show_main_page(), unistimsession::sin, SIZE_HEADER, unistimsession::state, STATE_AUTHDENY, STATE_CALL, STATE_DIALPAGE, STATE_EXTENSION, STATE_HISTORY, STATE_INIT, STATE_MAINPAGE, STATE_OFFHOOK, STATE_ONHOOK, STATE_RINGING, STATE_SELECTCODEC, STATE_SELECTLANGUAGE, STATE_SELECTOPTION, type, unistimdebug, and unistim_device::volume.
Referenced by parsing().
|
static |
Definition at line 2040 of file chan_unistim.c.
References STATE_AUTHDENY, STATE_CALL, STATE_CLEANING, STATE_DIALPAGE, STATE_EXTENSION, STATE_HISTORY, STATE_INIT, STATE_MAINPAGE, STATE_RINGING, STATE_SELECTCODEC, STATE_SELECTLANGUAGE, STATE_SELECTOPTION, and type.
Referenced by process_request(), unistim_hangup(), and unistim_show_info().
|
static |
Definition at line 2071 of file chan_unistim.c.
References ast_copy_string(), ast_free, AST_LIST_FIRST, AST_LIST_INSERT_TAIL, AST_LIST_LOCK, AST_LIST_REMOVE_CURRENT, AST_LIST_TRAVERSE, AST_LIST_TRAVERSE_SAFE_BEGIN, AST_LIST_TRAVERSE_SAFE_END, AST_LIST_UNLOCK, ast_log, ast_malloc, ast_mutex_init, ast_mutex_lock, ast_mutex_unlock, ast_strlen_zero(), ast_verb, autoprovisioning, AUTOPROVISIONING_NO, AUTOPROVISIONING_TN, AUTOPROVISIONING_YES, buf, BUFFSEND, d, unistimsession::device, devicelock, devices, unistim_device::extension, EXTENSION_ASK, EXTENSION_LINE, EXTENSION_NONE, unistim_device::extension_number, EXTENSION_TN, unistim_line::fullname, unistim_device::lines, unistim_subchannel::list, unistim_line::list, LOG_ERROR, LOG_WARNING, unistimsession::macaddr, unistim_line::name, unistim_device::name, test_val::name, unistimsession::next, test_val::next, NULL, packet_send_query_basic_manager_04, packet_send_query_basic_manager_10, packet_send_S1, unistim_line::parent, register_extension(), send_client(), send_date_time(), SIZE_HEADER, unistimsession::state, STATE_AUTHDENY, STATE_EXTENSION, STATE_MAINPAGE, STATE_ONHOOK, sub, unistim_device::subs, unistim_line_alloc(), unistim_line_copy(), unistim_register(), and unistimdebug.
Referenced by process_request().
|
static |
Definition at line 1907 of file chan_unistim.c.
References ast_verb, BUFFSEND, packet_send_query_mac_address, send_client(), SIZE_HEADER, and unistimdebug.
Referenced by process_request().
|
static |
Definition at line 1321 of file chan_unistim.c.
References ast_db_get(), AST_LIST_FIRST, ast_verb, unistimsession::device, EXPNUM, FAV_ICON_NONE, FAV_ICON_SPEAKER_ONHOOK_WHITE, FAVNUM, unistim_device::hasexp, unistim_device::lines, unistim_line::name, send_expansion_short(), send_favorite_short(), soft_key_visible(), unistim_device::softkeyicon, unistim_device::softkeylabel, status, and unistimdebug.
Referenced by init_phone_step2(), key_select_extension(), key_select_language(), and reload_config().
|
static |
Definition at line 1445 of file chan_unistim.c.
References ast_add_extension(), AST_LIST_FIRST, ast_verb, unistim_device::context, unistimsession::device, unistim_device::extension_number, unistim_line::fullname, unistim_device::lines, NULL, and unistimdebug.
Referenced by key_select_extension(), and rcv_mac_addr().
|
static |
reload: Part of Asterisk module interface —
Definition at line 7185 of file chan_unistim.c.
References ast_mutex_lock, ast_mutex_unlock, ast_verb, restart_monitor(), unistim_reload_lock, unistim_reloading, and unistimdebug.
Referenced by unistim_reload().
|
static |
Definition at line 6846 of file chan_unistim.c.
References ast_category_browse(), ast_config_destroy(), ast_config_load, ast_inet_ntoa(), ast_jb_read_conf(), ast_log, ast_mutex_lock, ast_mutex_unlock, ast_set_qos(), ast_sockaddr_resolve_first_af(), ast_sockaddr_to_sin, ast_str2cos(), ast_str2tos(), ast_strlen_zero(), ast_variable_browse(), ast_verb, autoprovisioning, AUTOPROVISIONING_NO, AUTOPROVISIONING_TN, AUTOPROVISIONING_YES, bindaddr, build_device(), config, CONFIG_STATUS_FILEINVALID, d, default_jbconf, delete_device(), unistimsession::device, devicelock, devices, unistim_languages::encoding, errno, find_language(), finish_bookmark(), global_jbconf, unistim_device::language, ast_variable::lineno, LOG_ERROR, LOG_WARNING, ast_variable::name, NB_MAX_RETRANSMIT, unistimsession::next, ast_variable::next, test_val::next, NULL, options_languages, packet_send_ping, PARSE_PORT_FORBID, public_ip, qos, refresh_all_favorite(), RETRANSMIT_TIMER, send_charset_update(), sessionlock, sessions, unistim_keepalive, unistim_port, unistimdebug, unistimsock, and ast_variable::value.
Referenced by acl_change_stasis_cb(), do_monitor(), handle_cli_iax2_reload(), load_module(), load_module(), ooh323_do_reload(), and reload().
|
static |
Definition at line 5921 of file chan_unistim.c.
References ast_log, ast_mutex_lock, ast_mutex_unlock, ast_pthread_create, AST_PTHREADT_NULL, AST_PTHREADT_STOP, do_monitor(), LOG_ERROR, LOG_WARNING, monitor_thread, monlock, and NULL.
Referenced by load_module(), reload(), and unistim_request().
|
static |
Definition at line 1844 of file chan_unistim.c.
References ast_verb, BUFFSEND, packet_send_blink_cursor, send_client(), SIZE_HEADER, and unistimdebug.
Referenced by handle_select_codec(), key_select_codec(), key_select_extension(), show_extension_page(), and show_phone_number().
|
static |
Definition at line 4825 of file chan_unistim.c.
References ast_channel_connected(), change_callerid(), DEFAULTCALLERID, DEFAULTCALLERNAME, unistimsession::device, unistim_device::height, ast_party_connected_line::id, ast_party_id::name, ast_party_id::number, send_text(), ast_party_name::str, ast_party_number::str, sub, TEXT_LINE0, TEXT_LINE1, TEXT_NORMAL, ustmtext(), ast_party_name::valid, and ast_party_number::valid.
Referenced by handle_key_fav(), key_dial_page(), unistim_call(), unistim_hangup(), and unistim_indicate().
|
static |
Definition at line 1869 of file chan_unistim.c.
References ast_verb, BUFFSEND, unistimsession::device, unistim_languages::encoding, find_language(), ISO_2022_JP, ISO_8859_1, ISO_8859_2, ISO_8859_4, ISO_8859_5, LANG_DEFAULT, unistim_device::language, options_languages, packet_send_charset_iso_2022_jp, packet_send_charset_iso_8859_1, packet_send_charset_iso_8859_2, packet_send_charset_iso_8859_4, packet_send_charset_iso_8859_5, send_client(), SIZE_HEADER, and unistimdebug.
Referenced by handle_select_language(), init_phone_step2(), key_select_language(), and reload_config().
|
static |
Definition at line 959 of file chan_unistim.c.
References ast_log, ast_mutex_lock, ast_mutex_unlock, ast_verb, wsabuf::buf, get_tick_count(), unistimsession::last_buf_available, wsabuf::len, unistimsession::lock, LOG_WARNING, MAX_BUF_NUMBER, RETRANSMIT_TIMER, send_raw_client(), seq, unistimsession::seq_server, unistimsession::sin, unistimsession::sout, unistimsession::timeout, unistimdebug, and unistimsession::wsabufsend.
Referenced by init_phone_step2(), rcv_mac_addr(), rcv_resume_connection_with_server(), send_blink_cursor(), send_charset_update(), send_cursor_pos(), send_date_time(), send_date_time2(), send_date_time3(), send_end_call(), send_expansion_icon(), send_expansion_next(), send_expansion_text(), send_favorite(), send_icon(), send_led_update(), send_month_labels(), send_mute(), send_no_ring(), send_ping(), send_ring(), send_select_output(), send_start_rtp(), send_start_timer(), send_stop_timer(), send_text(), send_text_status(), send_texttitle(), send_tone(), and unistim_sp().
|
static |
Definition at line 1856 of file chan_unistim.c.
References ast_verb, BUFFSEND, packet_send_set_pos_cursor, send_client(), SIZE_HEADER, and unistimdebug.
Referenced by handle_select_codec(), key_select_codec(), key_select_extension(), show_extension_page(), and show_phone_number().
|
static |
Definition at line 1784 of file chan_unistim.c.
References ast_localtime(), ast_tvnow(), ast_verb, BUFFSEND, NULL, packet_send_date_time, send_client(), send_month_labels(), SIZE_HEADER, ast_tm::tm_hour, ast_tm::tm_mday, ast_tm::tm_min, ast_tm::tm_mon, and unistimdebug.
Referenced by rcv_mac_addr().
|
static |
Definition at line 1803 of file chan_unistim.c.
References ast_localtime(), ast_tvnow(), ast_verb, BUFFSEND, unistim_device::datetimeformat, unistimsession::device, NULL, packet_send_date_time2, send_client(), SIZE_HEADER, ast_tm::tm_hour, ast_tm::tm_mday, ast_tm::tm_min, ast_tm::tm_mon, and unistimdebug.
Referenced by init_phone_step2(), and show_main_page().
|
static |
Definition at line 1826 of file chan_unistim.c.
References ast_localtime(), ast_tvnow(), ast_verb, BUFFSEND, NULL, packet_send_date_time3, send_client(), SIZE_HEADER, ast_tm::tm_hour, ast_tm::tm_mday, ast_tm::tm_min, ast_tm::tm_mon, and unistimdebug.
Referenced by init_phone_step2().
|
static |
Definition at line 2924 of file chan_unistim.c.
References ast_get_indication_tone(), ast_strdupa, ast_tone_zone_part_parse(), ast_tone_zone_sound_unref(), ast_verb, ast_tone_zone::country, ast_tone_zone_sound::data, unistimsession::device, ast_tone_zone_part::freq1, ast_tone_zone_part::freq2, NULL, send_tone(), strsep(), unistim_device::tz, and unistimdebug.
Referenced by handle_dial_page().
|
static |
Definition at line 3329 of file chan_unistim.c.
References ast_verb, unistimsession::device, digit, dtmf_col, dtmf_row, unistim_device::dtmfduration, send_tone(), and unistimdebug.
Referenced by unistim_do_senddigit(), and unistim_senddigit_begin().
|
static |
Definition at line 1080 of file chan_unistim.c.
References ast_verb, BUFFSEND, packet_send_end_call, send_client(), SIZE_HEADER, and unistimdebug.
Referenced by unistim_hangup().
|
static |
Definition at line 1167 of file chan_unistim.c.
References ast_verb, BUFFSEND, packet_send_expansion_icon, send_client(), SIZE_HEADER, status, and unistimdebug.
Referenced by send_expansion_short().
|
static |
Definition at line 1159 of file chan_unistim.c.
References BUFFSEND, packet_send_expansion_next, send_client(), and SIZE_HEADER.
Referenced by send_expansion_short().
|
static |
Definition at line 1306 of file chan_unistim.c.
References unistimsession::device, unistim_device::expsoftkeylabel, send_expansion_icon(), send_expansion_next(), send_expansion_text(), status, and ustmtext().
Referenced by refresh_all_favorite().
|
static |
Definition at line 1180 of file chan_unistim.c.
References ast_log, ast_verb, BUFFSEND, LOG_ERROR, packet_send_expansion_text, send_client(), SIZE_HEADER, text, TEXT_LENGTH_MAX, and unistimdebug.
Referenced by send_expansion_short().
|
static |
Definition at line 1273 of file chan_unistim.c.
References ast_verb, BUFFSEND, FAV_MAX_LENGTH, packet_send_favorite, send_client(), SIZE_HEADER, status, text, unistimdebug, and ustmtext().
Referenced by change_favorite_icon(), init_phone_step2(), send_favorite_selected(), send_favorite_short(), and unistim_sendtext().
|
static |
Definition at line 1299 of file chan_unistim.c.
References unistimsession::device, unistim_device::selected, send_favorite(), unistim_device::softkeylabel, and status.
Referenced by handle_key_fav(), and key_dial_page().
|
static |
Definition at line 1294 of file chan_unistim.c.
References unistimsession::device, send_favorite(), unistim_device::softkeylabel, and status.
Referenced by change_favorite_icon(), close_call(), handle_call_incoming(), handle_call_outgoing(), refresh_all_favorite(), sub_hold(), sub_unhold(), unistim_call(), and unistim_hangup().
|
static |
Definition at line 1147 of file chan_unistim.c.
References ast_verb, BUFFSEND, packet_send_icon, send_client(), SIZE_HEADER, status, and unistimdebug.
Referenced by handle_dial_page(), key_main_page(), and show_main_page().
|
static |
Definition at line 1757 of file chan_unistim.c.
References send_text(), TEXT_LINE0, and TEXT_NORMAL.
Referenced by show_main_page().
|
static |
Definition at line 1639 of file chan_unistim.c.
References ast_verb, BUFFSEND, packet_send_led_update, send_client(), SIZE_HEADER, and unistimdebug.
Referenced by handle_dial_page(), init_phone_step2(), key_dial_page(), microphone_mute_toggle(), send_select_output(), show_main_page(), show_phone_number(), and unistim_send_mwi_to_peer().
|
static |
Definition at line 1762 of file chan_unistim.c.
References ast_log, ast_verb, BUFFSEND, LOG_WARNING, MONTH_LABEL_SIZE, monthlabels, packet_send_monthlabels_download, send_client(), SIZE_HEADER, unistimdebug, and ustmtext().
Referenced by send_date_time().
|
static |
Definition at line 1650 of file chan_unistim.c.
References ast_verb, BUFFSEND, packet_send_mute, send_client(), SIZE_HEADER, and unistimdebug.
Referenced by microphone_mute_toggle().
|
static |
Definition at line 1731 of file chan_unistim.c.
References ast_verb, BUFFSEND, packet_send_no_ring, send_client(), SIZE_HEADER, and unistimdebug.
Referenced by handle_call_incoming(), ignore_call(), init_phone_step2(), and unistim_hangup().
|
static |
Definition at line 991 of file chan_unistim.c.
References ast_verb, BUFFSEND, get_tick_count(), packet_send_ping, send_client(), SIZE_HEADER, unistimsession::tick_next_ping, unistim_keepalive, and unistimdebug.
Referenced by do_monitor(), and init_phone_step2().
|
static |
Definition at line 903 of file chan_unistim.c.
References ast_inet_ntoa(), ast_verb, display_last_error(), unistimdebug, and unistimsock.
Referenced by parsing(), send_client(), and send_retransmit().
|
static |
Definition at line 1538 of file chan_unistim.c.
References ast_log, ast_mutex_lock, ast_mutex_unlock, ast_verb, wsabuf::buf, close_client(), get_tick_count(), unistimsession::last_buf_available, unistimsession::last_seq_ack, wsabuf::len, unistimsession::lock, LOG_WARNING, NB_MAX_RETRANSMIT, unistimsession::nb_retransmit, RETRANSMIT_TIMER, send_raw_client(), seq, unistimsession::seq_server, unistimsession::sin, unistimsession::sout, unistimsession::timeout, unistimdebug, and unistimsession::wsabufsend.
Referenced by do_monitor(), and parsing().
|
static |
Definition at line 1719 of file chan_unistim.c.
References ast_verb, BUFFSEND, packet_send_ring, send_client(), SIZE_HEADER, and unistimdebug.
Referenced by unistim_call().
|
static |
Definition at line 1670 of file chan_unistim.c.
References ast_log, ast_verb, BUFFSEND, change_favorite_icon(), unistimsession::device, FAV_ICON_HEADPHONES, FAV_ICON_HEADPHONES_ONHOLD, FAV_ICON_OFFHOOK_BLACK, FAV_ICON_ONHOLD_BLACK, FAV_ICON_SPEAKER_OFFHOOK_BLACK, FAV_ICON_SPEAKER_ONHOLD_BLACK, FAV_ICON_SPEAKER_ONHOOK_BLACK, LED_HEADPHONE_OFF, LED_HEADPHONE_ON, LED_SPEAKER_OFF, LED_SPEAKER_ON, LOG_WARNING, MUTE_ON, MUTE_ON_DISCRET, unistim_device::output, OUTPUT_HANDSET, OUTPUT_HEADPHONE, OUTPUT_SPEAKER, packet_send_select_output, unistim_device::previous_output, unistim_device::receiver_state, send_client(), send_led_update(), SIZE_HEADER, STATE_OFFHOOK, unistimdebug, VOLUME_LOW, and VOLUME_LOW_SPEAKER.
Referenced by handle_call_incoming(), handle_call_outgoing(), handle_dial_page(), handle_key_fav(), key_call(), key_dial_page(), key_main_page(), process_request(), show_main_page(), sub_hold(), and sub_unhold().
|
static |
Definition at line 2710 of file chan_unistim.c.
References ast_channel_readformat(), ast_format_alaw, ast_format_cmp(), AST_FORMAT_CMP_EQUAL, ast_format_g723, ast_format_g729, ast_format_get_name(), ast_format_ulaw, ast_inet_ntoa(), ast_log, ast_rtp_codecs_payload_code_tx(), ast_rtp_instance_get_codecs(), ast_rtp_instance_get_local_address(), ast_rtp_instance_get_remote_address, ast_sockaddr_to_sin, ast_verb, BUFFSEND, unistimsession::device, LOG_WARNING, packet_send_call, packet_send_jitter_buffer_conf, packet_send_open_audio_stream_rx, packet_send_open_audio_stream_rx3, packet_send_open_audio_stream_tx, packet_send_open_audio_stream_tx3, packet_send_rtp_packet_size, public_ip, put_unaligned_uint16(), unistim_device::rtp_method, send_client(), unistimsession::sin, SIZE_HEADER, sub, and unistimdebug.
Referenced by start_rtp(), and sub_unhold().
|
static |
Definition at line 1127 of file chan_unistim.c.
References ast_verb, BUFFSEND, packet_send_start_timer, send_client(), SIZE_HEADER, and unistimdebug.
Referenced by handle_call_incoming(), handle_call_outgoing(), sub_unhold(), and unistim_answer().
|
static |
Definition at line 1137 of file chan_unistim.c.
References ast_verb, BUFFSEND, packet_send_stop_timer, send_client(), SIZE_HEADER, and unistimdebug.
Referenced by close_call(), handle_key_fav(), show_main_page(), and sub_hold().
|
static |
Definition at line 1578 of file chan_unistim.c.
References ast_log, ast_verb, BUFFSEND, unistimsession::device, unistim_device::height, LOG_ERROR, packet_send_text, send_client(), SIZE_HEADER, text, TEXT_LENGTH_MAX, TEXT_LINE0, and unistimdebug.
Referenced by ast_sendtext_data(), handle_call_incoming(), handle_call_outgoing(), handle_dial_page(), handle_select_codec(), handle_select_language(), handle_select_option(), init_phone_step2(), key_select_codec(), key_select_extension(), send_callerid_screen(), send_idle_clock(), sendtext_exec(), show_entry_history(), show_extension_page(), show_main_page(), show_phone_number(), unistim_answer(), unistim_call(), unistim_hangup(), unistim_indicate(), and unistim_sendtext().
|
static |
Definition at line 1604 of file chan_unistim.c.
References ast_verb, BUFFSEND, unistimsession::device, packet_send_status, packet_send_status2, send_client(), SIZE_HEADER, STATUS_LENGTH_MAX, unistim_device::status_method, text, and unistimdebug.
Referenced by handle_call_incoming(), handle_call_outgoing(), handle_dial_page(), handle_select_codec(), handle_select_language(), handle_select_option(), init_phone_step2(), key_dial_page(), show_entry_history(), show_extension_page(), show_main_page(), unistim_answer(), unistim_call(), and unistim_hangup().
|
static |
Definition at line 1741 of file chan_unistim.c.
References ast_verb, BUFFSEND, packet_send_title, send_client(), SIZE_HEADER, text, and unistimdebug.
Referenced by init_phone_step2(), show_entry_history(), and show_main_page().
|
static |
Definition at line 1201 of file chan_unistim.c.
References ast_verb, BUFFSEND, packet_send_stream_based_tone_dual_freq, packet_send_stream_based_tone_off, packet_send_stream_based_tone_on, packet_send_stream_based_tone_single_freq, put_unaligned_uint16(), send_client(), SIZE_HEADER, and unistimdebug.
Referenced by handle_call_outgoing(), handle_key_fav(), key_dial_page(), send_dial_tone(), send_dtmf_tone(), show_main_page(), unistim_do_senddigit(), unistim_senddigit_end(), and unistim_ss().
|
static |
Definition at line 1090 of file chan_unistim.c.
References DEBUG_TIMER, unistimsession::tick_next_ping, and unistimsession::timeout.
Referenced by check_send_queue().
|
static |
Definition at line 3984 of file chan_unistim.c.
References ast_copy_string(), ast_trim_blanks(), unistimsession::buff_entry, unistimsession::device, display_last_error(), unistim_device::height, unistim_device::lst_cid, send_text(), send_text_status(), send_texttitle(), status, STATUS_LENGTH_MAX, TEXT_LENGTH_MAX, TEXT_LINE0, TEXT_LINE1, TEXT_LINE2, TEXT_NORMAL, and ustmtext().
Referenced by key_history(), and show_history().
|
static |
Definition at line 3876 of file chan_unistim.c.
References SELECTEXTENSION_MSG, SELECTEXTENSION_START_ENTRY_POS, send_blink_cursor(), send_cursor_pos(), send_text(), send_text_status(), unistimsession::size_buff_entry, unistimsession::state, STATE_EXTENSION, TEXT_LINE0, TEXT_LINE1, TEXT_LINE2, TEXT_NORMAL, and ustmtext().
Referenced by init_phone_step2(), key_main_page(), and show_main_page().
|
static |
Definition at line 4086 of file chan_unistim.c.
References unistimsession::buff_entry, unistim_device::callhistory, unistimsession::device, open_history(), show_entry_history(), unistimsession::state, and STATE_HISTORY.
Referenced by key_history(), and key_main_page().
|
static |
Definition at line 4109 of file chan_unistim.c.
References ast_inet_ntoa(), ast_strlen_zero(), unistim_device::call_forward, change_favorite_icon(), unistimsession::device, unistim_device::extension, EXTENSION_ASK, unistim_device::extension_number, EXTENSION_TN, FAV_BLINK_SLOW, FAV_ICON_CALL_CENTER, FAV_ICON_REFLECT, FAV_LINE_ICON, unistim_device::height, unistim_device::lastmsgssent, LED_BAR_OFF, LED_HEADPHONE_OFF, LED_SPEAKER_OFF, unistim_device::maintext0, unistim_device::maintext1, unistim_device::maintext2, unistim_device::missed_call, MUTE_ON_DISCRET, unistim_device::output, unistim_device::redial_number, send_date_time2(), send_icon(), send_idle_clock(), send_led_update(), send_select_output(), send_stop_timer(), send_text(), send_text_status(), send_texttitle(), send_tone(), show_extension_page(), unistimsession::sin, unistimsession::state, STATE_MAINPAGE, text, TEXT_LENGTH_MAX, TEXT_LINE0, TEXT_LINE1, TEXT_LINE2, TEXT_NORMAL, unistim_device::titledefault, ustmtext(), and unistim_device::volume.
Referenced by close_call(), handle_key_fav(), init_phone_step2(), key_dial_page(), key_history(), key_main_page(), key_select_codec(), key_select_extension(), key_select_language(), key_select_option(), process_request(), and unistim_hangup().
|
static |
Definition at line 2944 of file chan_unistim.c.
References ast_copy_string(), unistimsession::device, unistim_device::height, LED_BAR_OFF, MAX_SCREEN_NUMBER, unistim_device::phone_number, send_blink_cursor(), send_cursor_pos(), send_led_update(), send_text(), unistim_device::size_phone_number, TEXT_LENGTH_MAX, TEXT_LINE0, TEXT_LINE2, TEXT_NORMAL, and ustmtext().
Referenced by handle_dial_page(), and key_dial_page().
|
static |
Definition at line 1313 of file chan_unistim.c.
References d.
Referenced by get_avail_softkey(), refresh_all_favorite(), unistim_call(), unistim_hangup(), and unistim_show_info().
|
static |
Definition at line 2847 of file chan_unistim.c.
References ao2_ref, ast_channel_internal_fd_set(), ast_channel_nativeformats(), ast_channel_readformat(), ast_channel_set_readformat(), ast_channel_set_writeformat(), ast_channel_uniqueid(), ast_format_cap_get_format(), ast_format_cap_get_names(), ast_format_cap_iscompatible_format(), AST_FORMAT_CAP_NAMES_LEN, AST_FORMAT_CMP_NOT_EQUAL, ast_format_get_name(), ast_inet_ntoa(), ast_log, ast_mutex_lock, ast_mutex_unlock, ast_rtp_instance_fd(), ast_rtp_instance_new(), ast_rtp_instance_set_channel_id(), ast_rtp_instance_set_prop(), ast_rtp_instance_set_qos(), ast_rtp_instance_set_remote_address, AST_RTP_PROPERTY_NAT, AST_RTP_PROPERTY_RTCP, ast_sockaddr_from_sin, ast_str_alloca, ast_verb, errno, find_rtp_port(), LOG_WARNING, NULL, qos, send_start_rtp(), sub, and unistimdebug.
Referenced by handle_call_incoming(), and handle_call_outgoing().
|
static |
Definition at line 2560 of file chan_unistim.c.
References ast_queue_hold(), unistimsession::device, FAV_BLINK_SLOW, FAV_ICON_ONHOLD_BLACK, MUTE_ON, NULL, unistim_device::output, send_favorite_short(), send_select_output(), send_stop_timer(), sub, and unistim_device::volume.
Referenced by handle_call_incoming(), handle_call_outgoing(), handle_key_fav(), key_call(), and sub_unhold().
|
static |
Definition at line 2529 of file chan_unistim.c.
References ast_channel_start_silence_generator(), ast_log, ast_verb, unistimsession::device, LOG_WARNING, NULL, unistim_device::silence_generator, sub, and unistimdebug.
Referenced by transfer_call_step1().
|
static |
Definition at line 2544 of file chan_unistim.c.
References ast_channel_stop_silence_generator(), ast_log, ast_verb, unistimsession::device, LOG_WARNING, NULL, unistim_device::silence_generator, sub, and unistimdebug.
Referenced by handle_call_outgoing(), key_dial_page(), and unistim_hangup().
|
static |
Definition at line 2576 of file chan_unistim.c.
References ast_queue_unhold(), unistimsession::device, FAV_ICON_OFFHOOK_BLACK, get_sub(), MUTE_OFF, unistim_device::output, send_favorite_short(), send_select_output(), send_start_rtp(), send_start_timer(), sub, sub_hold(), SUB_REAL, and unistim_device::volume.
Referenced by handle_key_fav(), and key_call().
|
static |
Definition at line 2027 of file chan_unistim.c.
References SUB_REAL, SUB_RING, SUB_THREEWAY, and type.
Referenced by unistim_show_info().
|
static |
Definition at line 3028 of file chan_unistim.c.
References a, ast_channel_fd(), ast_channel_internal_fd_set(), ast_log, ast_verb, b, LOG_WARNING, and unistimdebug.
Referenced by handle_call_outgoing(), transfer_cancel_step2(), and unistim_hangup().
|
static |
Definition at line 3056 of file chan_unistim.c.
References ast_log, ast_queue_hold(), d, unistimsession::device, get_sub(), handle_dial_page(), LOG_WARNING, sub, SUB_REAL, sub_start_silence(), and SUB_THREEWAY.
Referenced by key_call().
|
static |
Definition at line 3080 of file chan_unistim.c.
References AST_CAUSE_NORMAL_CLEARING, ast_log, ast_queue_hangup_with_cause(), ast_queue_unhold(), ast_verb, d, unistimsession::device, get_sub(), LOG_WARNING, unistim_subchannel::moh, unistim_subchannel::owner, sub, SUB_REAL, SUB_THREEWAY, unistim_subchannel::subtype, swap_subs(), and unistimdebug.
Referenced by key_call().
|
static |
Definition at line 1988 of file chan_unistim.c.
References ast_calloc, AST_LIST_INSERT_TAIL, AST_LIST_LOCK, AST_LIST_UNLOCK, ast_mutex_init, AST_PTHREADT_NULL, ast_verb, d, unistim_subchannel::list, test_val::name, NULL, sub, and unistimdebug.
Referenced by find_subchannel_by_name(), and handle_call_outgoing().
|
static |
Definition at line 5054 of file chan_unistim.c.
References ast_channel_name(), ast_channel_tech_pvt(), ast_log, ast_setstate(), AST_STATE_UP, ast_verb, channel_to_session(), d, get_sub(), LOG_WARNING, unistim_line::name, unistim_device::name, unistim_line::parent, send_start_timer(), send_text(), send_text_status(), sub, SUB_THREEWAY, TEXT_LINE2, TEXT_NORMAL, unistimdebug, and ustmtext().
|
static |
Definition at line 4867 of file chan_unistim.c.
References ast_channel_call_forward(), ast_channel_name(), ast_channel_tech_pvt(), AST_CONTROL_RINGING, ast_log, ast_queue_control(), ast_setstate(), AST_STATE_DOWN, AST_STATE_RESERVED, AST_STATE_RINGING, ast_strlen_zero(), ast_verb, change_favorite_icon(), channel_to_session(), FAV_BLINK_FAST, FAV_ICON_SPEAKER_ONHOOK_BLACK, FAVNUM, get_sub(), is_key_line(), LOG_ERROR, LOG_WARNING, send_callerid_screen(), send_favorite_short(), send_ring(), send_text(), send_text_status(), session, soft_key_visible(), STATE_RINGING, sub, SUB_REAL, TEXT_LINE2, TEXT_NORMAL, unistimdebug, and ustmtext().
|
static |
Definition at line 6212 of file chan_unistim.c.
References a, ast_cli_entry::args, ast_cli(), CLI_GENERATE, CLI_INIT, CLI_SHOWUSAGE, CLI_SUCCESS, ast_cli_entry::command, NULL, unistimdebug, and ast_cli_entry::usage.
|
static |
Definition at line 3356 of file chan_unistim.c.
References AST_FRAME_DTMF, ast_log, ast_queue_frame(), ast_verb, unistimsession::device, digit, unistim_device::dtmfduration, ast_frame::frametype, get_sub(), LOG_WARNING, send_dtmf_tone(), send_tone(), sub, SUB_REAL, and unistimdebug.
Referenced by key_call().
|
static |
Definition at line 5254 of file chan_unistim.c.
References ast_channel_name(), ast_channel_tech_pvt(), ast_debug, ast_log, ast_mutex_lock, ast_mutex_unlock, unistim_subchannel::lock, LOG_WARNING, unistim_line::name, unistim_device::name, unistim_subchannel::owner, unistim_subchannel::parent, unistim_line::parent, unistim_subchannel::subtype, and unistim_set_owner().
|
static |
Definition at line 1979 of file chan_unistim.c.
References ast_debug, ast_free, ast_mutex_destroy, sub, and unistimdebug.
Referenced by close_client(), and unistim_unalloc_sub().
|
static |
Definition at line 7028 of file chan_unistim.c.
References ao2_ref, ast_channel_tech_pvt(), AST_RTP_GLUE_RESULT_FORBID, AST_RTP_GLUE_RESULT_LOCAL, and sub.
|
static |
Definition at line 4945 of file chan_unistim.c.
References AST_CAUSE_ANSWERED_ELSEWHERE, ast_channel_hangupcause(), ast_channel_name(), ast_channel_tech_pvt(), ast_debug, ast_queue_unhold(), ast_verb, channel_to_session(), close_call(), d, unistimsession::device, FAV_ICON_OFFHOOK_BLACK, FAV_LINE_ICON, FAVNUM, get_sub(), is_key_line(), unistim_line::name, unistim_device::name, test_val::name, NULL, unistim_line::parent, ptestate_tostr(), send_callerid_screen(), send_end_call(), send_favorite_short(), send_no_ring(), send_text(), send_text_status(), show_main_page(), soft_key_visible(), unistimsession::state, STATE_CALL, STATE_RINGING, sub, SUB_REAL, SUB_RING, sub_stop_silence(), SUB_THREEWAY, swap_subs(), TEXT_LINE2, TEXT_NORMAL, unistim_hangup_clean(), unistim_unalloc_sub(), unistimdebug, ustmtext(), and write_history().
|
static |
Definition at line 4927 of file chan_unistim.c.
References ast_channel_tech_pvt_set(), ast_mutex_lock, ast_mutex_unlock, ast_rtp_instance_destroy(), ast_rtp_instance_stop(), ast_verb, NULL, sub, unistim_set_owner(), and unistimdebug.
Referenced by unistim_hangup().
|
static |
Definition at line 5333 of file chan_unistim.c.
References ast_channel_connected(), ast_channel_name(), ast_channel_tech_pvt(), AST_CONTROL_BUSY, AST_CONTROL_CONGESTION, AST_CONTROL_CONNECTED_LINE, AST_CONTROL_HOLD, AST_CONTROL_INCOMPLETE, AST_CONTROL_MASQUERADE_NOTIFY, AST_CONTROL_PROCEEDING, AST_CONTROL_PROGRESS, AST_CONTROL_PVT_CAUSE_CODE, AST_CONTROL_RINGING, AST_CONTROL_SRCCHANGE, AST_CONTROL_SRCUPDATE, AST_CONTROL_UNHOLD, AST_CONTROL_UPDATE_RTP_PEER, ast_log, ast_moh_start(), ast_moh_stop(), ast_playtones_stop(), ast_rtp_instance_change_source(), AST_STATE_UP, ast_verb, channel_to_session(), control2str(), unistimsession::device, in_band_indication(), LOG_NOTICE, LOG_WARNING, unistim_device::missed_call, name, NULL, unistim_line::parent, S_COR, send_callerid_screen(), send_text(), sub, SUB_REAL, TEXT_LINE2, TEXT_NORMAL, unistim_device::tz, unistimdebug, and ustmtext().
|
static |
Definition at line 1965 of file chan_unistim.c.
References ast_calloc, ast_format_cap_alloc, AST_FORMAT_CAP_FLAG_DEFAULT, ast_free, unistim_line::cap, and NULL.
Referenced by build_device(), and rcv_mac_addr().
|
static |
Definition at line 1947 of file chan_unistim.c.
References ast_format_cap_append_from_cap(), AST_MEDIA_TYPE_UNKNOWN, and unistim_line::cap.
Referenced by rcv_mac_addr().
|
static |
Definition at line 1955 of file chan_unistim.c.
References ao2_ref, ast_free, unistim_line::cap, and NULL.
Referenced by build_device(), and delete_device().
|
static |
Protos
Definition at line 5704 of file chan_unistim.c.
References unistim_line::accountcode, unistim_line::amaflags, ao2_ref, AST_ADSI_UNAVAILABLE, ast_callerid_parse(), ast_channel_adsicpe_set(), ast_channel_alloc, ast_channel_caller(), ast_channel_callgroup_set(), ast_channel_internal_fd_set(), ast_channel_name(), ast_channel_nativeformats(), ast_channel_nativeformats_set(), ast_channel_pickupgroup_set(), ast_channel_priority_set(), ast_channel_rings_set(), ast_channel_set_rawreadformat(), ast_channel_set_rawwriteformat(), ast_channel_set_readformat(), ast_channel_set_writeformat(), ast_channel_stage_snapshot(), ast_channel_stage_snapshot_done(), ast_channel_tech_pvt_set(), ast_channel_tech_set(), ast_channel_unlock, ast_format_cap_alloc, ast_format_cap_append_from_cap(), ast_format_cap_count(), AST_FORMAT_CAP_FLAG_DEFAULT, ast_format_cap_get_format(), ast_format_cap_get_names(), AST_FORMAT_CAP_NAMES_LEN, ast_format_get_name(), ast_free, ast_hangup(), ast_jb_configure(), ast_log, AST_MEDIA_TYPE_UNKNOWN, ast_pbx_start(), ast_rtp_instance_fd(), ast_setstate(), AST_STATE_DOWN, AST_STATE_RING, ast_str_alloca, ast_strdup, ast_strlen_zero(), ast_update_use_count(), ast_verb, unistim_device::call_forward, unistim_line::callgroup, unistim_line::cap, unistim_line::cid_num, unistim_device::context, unistim_line::exten, global_cap, global_jbconf, ast_party_caller::id, unistim_device::language, LOG_WARNING, unistim_line::name, name, unistim_device::name, ast_party_id::name, NULL, ast_party_id::number, unistim_line::parent, unistim_line::pickupgroup, ast_party_name::str, ast_party_number::str, sub, unistim_set_owner(), unistim_tech, unistimdebug, ast_party_name::valid, and ast_party_number::valid.
Referenced by handle_call_outgoing(), and unistim_request().
|
static |
Definition at line 5204 of file chan_unistim.c.
References ast_channel_tech_pvt(), ast_mutex_lock, ast_mutex_unlock, sub, and unistim_rtp_read().
|
static |
Definition at line 1920 of file chan_unistim.c.
References ast_mutex_lock, ast_mutex_unlock, d, DEFAULT_CODEC, unistimsession::device, devicelock, devices, unistimsession::macaddr, test_val::next, and STATE_ONHOOK.
Referenced by rcv_mac_addr().
|
static |
— unistim_reload: Force reload of module from cli — Runs in the asterisk main thread, so don't do anything useful but setting a flag and waiting for do_monitor to do the job in our thread
Definition at line 6245 of file chan_unistim.c.
References a, ast_cli_entry::args, CLI_GENERATE, CLI_INIT, CLI_SHOWUSAGE, CLI_SUCCESS, ast_cli_entry::command, NULL, reload(), and ast_cli_entry::usage.
|
static |
Definition at line 5956 of file chan_unistim.c.
References AST_CAUSE_BUSY, AST_CAUSE_CONGESTION, ast_copy_string(), ast_format_cap_append_from_cap(), ast_format_cap_get_names(), ast_format_cap_iscompatible(), AST_FORMAT_CAP_NAMES_LEN, ast_log, AST_MEDIA_TYPE_UNKNOWN, AST_STATE_DOWN, ast_str_alloca, ast_strlen_zero(), ast_verb, d, find_subchannel_by_name(), get_avail_softkey(), get_sub(), global_cap, LOG_NOTICE, LOG_WARNING, NULL, restart_monitor(), STATE_DIALPAGE, sub, SUB_RING, SUB_THREEWAY, unistim_new(), unistim_unalloc_sub(), and unistimdebug.
|
static |
Definition at line 5149 of file chan_unistim.c.
References ao2_ref, ast_channel_fdno(), ast_channel_nativeformats(), ast_channel_nativeformats_set(), ast_channel_readformat(), ast_channel_writeformat(), ast_debug, ast_format_cap_alloc, ast_format_cap_append, AST_FORMAT_CAP_FLAG_DEFAULT, ast_format_cap_get_names(), ast_format_cap_iscompatible_format(), AST_FORMAT_CAP_NAMES_LEN, AST_FORMAT_CMP_NOT_EQUAL, ast_format_get_name(), AST_FRAME_VOICE, ast_log, ast_null_frame, ast_rtp_instance_read(), ast_set_read_format(), ast_set_write_format(), ast_str_alloca, ast_frame_subclass::format, ast_frame::frametype, LOG_WARNING, sub, and ast_frame::subclass.
Referenced by unistim_read().
|
static |
Definition at line 5675 of file chan_unistim.c.
References ao2_cleanup, ast_app_has_voicemail(), ast_debug, ast_mwi_state_cache(), ast_mwi_state_type(), unistim_device::lastmsgssent, LED_BAR_OFF, LED_BAR_ON, unistim_line::mailbox, ast_mwi_state::new_msgs, unistim_device::nextmsgcheck, NULL, unistim_line::parent, RAII_VAR, send_led_update(), unistim_device::session, stasis_cache_get(), stasis_message_data(), unistimsession::state, STATE_MAINPAGE, and TIMER_MWI.
Referenced by do_monitor().
|
static |
Definition at line 5509 of file chan_unistim.c.
References channel_to_session(), digit, and send_dtmf_tone().
|
static |
Definition at line 5519 of file chan_unistim.c.
References ast_verb, channel_to_session(), digit, send_tone(), and unistimdebug.
|
static |
Definition at line 5536 of file chan_unistim.c.
References ast_log, ast_verb, channel_to_session(), unistimsession::device, unistim_device::height, LOG_WARNING, send_favorite(), send_text(), unistim_device::softkeyicon, unistim_device::softkeylabel, unistim_device::softkeynumber, text, TEXT_LENGTH_MAX, TEXT_LINE0, TEXT_LINE1, TEXT_LINE2, TEXT_NORMAL, unistimdebug, and ustmtext().
|
static |
Definition at line 5827 of file chan_unistim.c.
References ast_channel_uniqueid(), ast_rtp_instance_set_channel_id(), and sub.
Referenced by unistim_fixup(), unistim_hangup_clean(), and unistim_new().
|
static |
Definition at line 7045 of file chan_unistim.c.
References ast_channel_tech_pvt(), ast_log, ast_rtp_instance_get_local_address(), ast_rtp_instance_get_remote_address, ast_sockaddr_to_sin, LOG_ERROR, and sub.
|
static |
Definition at line 6117 of file chan_unistim.c.
References a, ast_cli_entry::args, ast_cli(), ast_inet_ntoa(), ast_mutex_lock, ast_mutex_unlock, CLI_GENERATE, CLI_INIT, CLI_SHOWUSAGE, CLI_SUCCESS, ast_cli_entry::command, devicelock, devices, unistimsession::firmware, unistim_device::id, unistim_device::name, unistim_device::next, NULL, unistim_device::session, unistimsession::sin, and ast_cli_entry::usage.
|
static |
Definition at line 6035 of file chan_unistim.c.
References a, ast_cli_entry::args, ast_cli(), ast_format_cap_get_names(), AST_FORMAT_CAP_NAMES_LEN, ast_inet_ntoa(), AST_LIST_LOCK, AST_LIST_TRAVERSE, AST_LIST_UNLOCK, ast_mutex_lock, ast_mutex_unlock, ast_str_alloca, unistim_line::cap, unistim_line::cid_num, CLI_GENERATE, CLI_INIT, CLI_SHOWUSAGE, CLI_SUCCESS, ast_cli_entry::command, unistimsession::device, devicelock, devices, unistim_line::exten, FAVNUM, unistim_line::fullname, unistim_device::ha, unistim_device::height, unistim_device::id, unistim_device::lines, unistimsession::macaddr, unistim_line::name, unistim_device::name, unistim_device::next, unistimsession::next, NULL, ptestate_tostr(), unistim_device::selected, unistim_device::session, sessionlock, sessions, unistimsession::sin, unistim_device::sline, soft_key_visible(), unistim_device::softkeydevice, unistim_device::softkeyicon, unistim_device::softkeylabel, unistim_device::softkeynumber, unistim_device::ssub, unistimsession::state, sub, unistim_device::subs, subtype_tostr(), unistimsession::timeout, and ast_cli_entry::usage.
|
static |
Definition at line 6150 of file chan_unistim.c.
References a, ast_cli(), ast_copy_string(), BUFFSEND, c, CLI_GENERATE, CLI_INIT, CLI_SHOWUSAGE, CLI_SUCCESS, ast_cli_entry::command, find_subchannel_by_name(), len(), NULL, send_client(), SIZE_HEADER, sub, and ast_cli_entry::usage.
|
static |
Definition at line 2659 of file chan_unistim.c.
References ast_channel_exten_set(), ast_channel_lock, ast_channel_tech_pvt(), ast_channel_unlock, ast_copy_string(), ast_log, ast_pbx_run(), ast_setstate(), AST_STATE_RING, ast_verb, ast_channel::data, unistimsession::device, LOG_WARNING, unistim_line::name, unistim_device::name, NULL, unistim_line::parent, unistim_device::phone_number, unistim_device::redial_number, send_tone(), unistim_device::session, and sub.
Referenced by handle_call_outgoing().
|
static |
Definition at line 2007 of file chan_unistim.c.
References AST_LIST_LOCK, AST_LIST_REMOVE_CURRENT, AST_LIST_TRAVERSE_SAFE_BEGIN, AST_LIST_TRAVERSE_SAFE_END, AST_LIST_UNLOCK, d, unistim_subchannel::list, sub, and unistim_free_sub().
Referenced by unistim_hangup(), and unistim_request().
|
static |
Definition at line 5216 of file chan_unistim.c.
References ast_channel_nativeformats(), ast_channel_readformat(), ast_channel_tech_pvt(), ast_channel_writeformat(), ast_format_cap_get_names(), ast_format_cap_iscompatible_format(), AST_FORMAT_CAP_NAMES_LEN, AST_FORMAT_CMP_NOT_EQUAL, ast_format_get_name(), AST_FRAME_IMAGE, AST_FRAME_VOICE, ast_log, ast_mutex_lock, ast_mutex_unlock, ast_rtp_instance_write(), ast_str_alloca, ast_frame_subclass::format, ast_frame::frametype, LOG_WARNING, sub, and ast_frame::subclass.
|
static |
Definition at line 5089 of file chan_unistim.c.
References ast_inet_ntoa(), ast_log, ast_mutex_lock, ast_mutex_unlock, ast_verb, buff, errno, LOG_NOTICE, LOG_WARNING, unistimsession::next, NULL, parsing(), sessionlock, sessions, unistimsession::sin, SIZE_PAGE, unistimdebug, and unistimsock.
Referenced by do_monitor().
|
static |
Definition at line 7151 of file chan_unistim.c.
References ao2_cleanup, ao2_ref, ARRAY_LEN, ast_channel_unregister(), ast_cli_unregister_multiple(), ast_free, ast_mutex_lock, ast_mutex_unlock, AST_PTHREADT_NULL, AST_PTHREADT_STOP, ast_rtp_glue_unregister(), ast_sched_context_destroy(), buff, ast_channel_tech::capabilities, global_cap, monitor_thread, monlock, NULL, unistim_cli, unistim_rtp_glue, unistim_tech, and unistimsock.
|
static |
Definition at line 6275 of file chan_unistim.c.
Referenced by build_device().
|
static |
Definition at line 1459 of file chan_unistim.c.
References ast_context_remove_extension(), ast_verb, unistim_device::context, unistimsession::device, unistim_device::extension_number, and unistimdebug.
Referenced by close_client(), and key_main_page().
|
static |
Definition at line 800 of file chan_unistim.c.
References ao2_alloc, AO2_ALLOC_OPT_LOCK_MUTEX, ao2_container_alloc_hash, ao2_find, ao2_link, ao2_ref, ast_config_AST_VAR_DIR, ast_free, ast_log, ast_strdup, ast_strlen_zero(), unistimsession::device, find_language(), lang_cmp_fn(), lang_hash_fn(), unistim_languages::lang_short, unistim_device::language, LOG_ERROR, LOG_WARNING, NULL, OBJ_POINTER, options_languages, str, ustm_lang_entry::str_orig, ustm_lang_entry::str_trans, unistim_languages::trans, USTM_LANG_DIR, and ustm_strcopy.
Referenced by handle_call_incoming(), handle_call_outgoing(), handle_dial_page(), handle_select_codec(), handle_select_language(), handle_select_option(), init_phone_step2(), key_dial_page(), key_select_extension(), send_callerid_screen(), send_expansion_short(), send_favorite(), send_month_labels(), show_entry_history(), show_extension_page(), show_main_page(), show_phone_number(), unistim_answer(), unistim_call(), unistim_hangup(), unistim_indicate(), unistim_sendtext(), and write_history().
|
static |
Definition at line 2260 of file chan_unistim.c.
References c, unistimsession::device, display_last_error(), unistim_device::lst_cid, unistim_device::lst_cnm, and TEXT_LENGTH_MAX.
Referenced by write_history().
|
static |
Definition at line 2281 of file chan_unistim.c.
References ast_config_AST_LOG_DIR, AST_CONFIG_MAX_PATH, ast_copy_string(), ast_free, ast_localtime(), ast_log, ast_malloc, ast_mkdir(), ast_tvnow(), c, unistim_device::callhistory, unistimsession::device, display_last_error(), errno, LOG_WARNING, MAX_ENTRY_LOG, unistim_device::name, NULL, TEXT_LENGTH_MAX, ast_tm::tm_hour, ast_tm::tm_mday, ast_tm::tm_min, ast_tm::tm_mon, ast_tm::tm_sec, ast_tm::tm_year, USTM_LOG_DIR, ustmtext(), and write_entry_history().
Referenced by close_call(), handle_call_incoming(), and unistim_hangup().
|
static |
Definition at line 7206 of file chan_unistim.c.
|
static |
Definition at line 7206 of file chan_unistim.c.
|
static |
Definition at line 245 of file chan_unistim.c.
Referenced by build_device(), init_phone_step2(), key_select_extension(), rcv_mac_addr(), and reload_config().
|
static |
Definition at line 259 of file chan_unistim.c.
Referenced by load_module(), moh_class_destructor(), print_list(), print_list_backwards(), socket_receive_file_to_buff(), unistimsock_read(), and unload_module().
|
static |
Definition at line 707 of file chan_unistim.c.
Referenced by load_module().
unsigned int cos |
Definition at line 252 of file chan_unistim.c.
unsigned int cos_audio |
Definition at line 253 of file chan_unistim.c.
|
static |
Global jitterbuffer configuration - by default, jb is disabled.
Definition at line 227 of file chan_unistim.c.
Referenced by reload_config().
|
static |
Protect the device list
Definition at line 273 of file chan_unistim.c.
Referenced by build_device(), find_subchannel_by_name(), finish_bookmark(), key_main_page(), key_select_extension(), rcv_mac_addr(), reload_config(), unistim_register(), unistim_show_devices(), and unistim_show_info().
|
static |
|
static |
Definition at line 346 of file chan_unistim.c.
Referenced by send_dtmf_tone().
|
static |
Definition at line 345 of file chan_unistim.c.
Referenced by send_dtmf_tone().
struct ast_format_cap* global_cap |
Definition at line 120 of file chan_unistim.c.
Referenced by build_device(), load_module(), unistim_new(), unistim_request(), and unload_module().
|
static |
Definition at line 235 of file chan_unistim.c.
Referenced by reload_config(), and unistim_new().
|
static |
Definition at line 256 of file chan_unistim.c.
Referenced by do_monitor(), and load_module().
|
static |
This is the thread for the monitor which checks for input on the channels which are not currently in use.
Definition at line 265 of file chan_unistim.c.
Referenced by restart_monitor(), and unload_module().
|
static |
Protect the monitoring thread, so only one process can kill or start it, and not when it's doing something critical.
Definition at line 269 of file chan_unistim.c.
Referenced by restart_monitor(), and unload_module().
|
static |
Definition at line 649 of file chan_unistim.c.
Referenced by send_month_labels().
|
static |
Definition at line 771 of file chan_unistim.c.
Referenced by find_language(), handle_select_language(), init_phone_step2(), key_select_language(), reload_config(), send_charset_update(), and ustmtext().
|
static |
Definition at line 764 of file chan_unistim.c.
Referenced by handle_select_option(), and key_select_option().
|
static |
Definition at line 506 of file chan_unistim.c.
Referenced by parsing().
|
static |
Expansion module (i2004 KEM)
Definition at line 524 of file chan_unistim.c.
Referenced by process_request().
|
static |
Definition at line 511 of file chan_unistim.c.
Referenced by process_request().
|
static |
Definition at line 519 of file chan_unistim.c.
Referenced by process_request().
|
static |
Definition at line 513 of file chan_unistim.c.
Referenced by process_request().
|
static |
Definition at line 535 of file chan_unistim.c.
Referenced by process_request().
|
static |
Definition at line 517 of file chan_unistim.c.
Referenced by process_request().
|
static |
Definition at line 515 of file chan_unistim.c.
Referenced by process_request().
|
static |
Definition at line 521 of file chan_unistim.c.
Referenced by process_request().
|
static |
TransportAdapter
Definition at line 533 of file chan_unistim.c.
Referenced by process_request().
|
static |
Definition at line 633 of file chan_unistim.c.
Referenced by init_phone_step2().
|
static |
Definition at line 634 of file chan_unistim.c.
Referenced by send_blink_cursor().
|
static |
Definition at line 558 of file chan_unistim.c.
Referenced by send_start_rtp().
|
static |
Definition at line 691 of file chan_unistim.c.
Referenced by send_charset_update().
|
static |
Definition at line 679 of file chan_unistim.c.
Referenced by send_charset_update().
|
static |
Definition at line 682 of file chan_unistim.c.
Referenced by send_charset_update().
|
static |
Definition at line 685 of file chan_unistim.c.
Referenced by send_charset_update().
|
static |
Definition at line 688 of file chan_unistim.c.
Referenced by send_charset_update().
|
static |
Definition at line 638 of file chan_unistim.c.
Referenced by init_phone_step2().
|
static |
Definition at line 542 of file chan_unistim.c.
Referenced by send_date_time().
|
static |
Definition at line 635 of file chan_unistim.c.
Referenced by send_date_time2().
|
static |
Definition at line 538 of file chan_unistim.c.
Referenced by send_date_time3().
|
static |
Definition at line 508 of file chan_unistim.c.
Referenced by parsing().
|
static |
Definition at line 592 of file chan_unistim.c.
Referenced by send_end_call().
|
static |
Definition at line 527 of file chan_unistim.c.
Referenced by send_expansion_icon().
|
static |
Definition at line 526 of file chan_unistim.c.
Referenced by send_expansion_next().
|
static |
Definition at line 528 of file chan_unistim.c.
Referenced by send_expansion_text().
|
static |
Definition at line 654 of file chan_unistim.c.
Referenced by send_favorite().
|
static |
Definition at line 644 of file chan_unistim.c.
Referenced by send_icon().
|
static |
Definition at line 599 of file chan_unistim.c.
Referenced by send_start_rtp().
|
static |
Definition at line 694 of file chan_unistim.c.
Referenced by send_led_update().
|
static |
Definition at line 652 of file chan_unistim.c.
Referenced by send_month_labels().
|
static |
Definition at line 570 of file chan_unistim.c.
Referenced by send_mute().
|
static |
Definition at line 549 of file chan_unistim.c.
Referenced by send_no_ring().
|
static |
Definition at line 608 of file chan_unistim.c.
Referenced by send_start_rtp().
|
static |
Definition at line 619 of file chan_unistim.c.
Referenced by send_start_rtp().
|
static |
Definition at line 613 of file chan_unistim.c.
Referenced by send_start_rtp().
|
static |
Definition at line 626 of file chan_unistim.c.
Referenced by send_start_rtp().
|
static |
Definition at line 701 of file chan_unistim.c.
Referenced by reload_config(), and send_ping().
|
static |
Definition at line 696 of file chan_unistim.c.
Referenced by rcv_mac_addr().
|
static |
Definition at line 698 of file chan_unistim.c.
Referenced by rcv_mac_addr().
|
static |
Definition at line 697 of file chan_unistim.c.
Referenced by rcv_resume_connection_with_server().
|
static |
Definition at line 584 of file chan_unistim.c.
Referenced by send_ring().
|
static |
Definition at line 597 of file chan_unistim.c.
Referenced by send_start_rtp().
|
static |
Definition at line 699 of file chan_unistim.c.
Referenced by rcv_mac_addr().
|
static |
Definition at line 551 of file chan_unistim.c.
Referenced by init_phone_step2().
|
static |
Definition at line 645 of file chan_unistim.c.
Referenced by init_phone_step2().
|
static |
Definition at line 594 of file chan_unistim.c.
Referenced by init_phone_step2().
|
static |
Definition at line 581 of file chan_unistim.c.
Referenced by send_select_output().
|
static |
Definition at line 646 of file chan_unistim.c.
Referenced by send_cursor_pos().
|
static |
Definition at line 640 of file chan_unistim.c.
Referenced by send_start_timer().
|
static |
Definition at line 668 of file chan_unistim.c.
Referenced by send_text_status().
|
static |
Definition at line 673 of file chan_unistim.c.
Referenced by send_text_status().
|
static |
Definition at line 643 of file chan_unistim.c.
Referenced by send_stop_timer().
|
static |
Definition at line 579 of file chan_unistim.c.
Referenced by send_tone().
|
static |
Definition at line 567 of file chan_unistim.c.
Referenced by send_tone().
|
static |
Definition at line 575 of file chan_unistim.c.
Referenced by send_tone().
|
static |
Definition at line 577 of file chan_unistim.c.
Referenced by send_tone().
|
static |
Definition at line 662 of file chan_unistim.c.
Referenced by send_text().
|
static |
Definition at line 659 of file chan_unistim.c.
Referenced by send_texttitle().
|
static |
Definition at line 258 of file chan_unistim.c.
Referenced by get_to_address(), reload_config(), and send_start_rtp().
struct { ... } qos |
Referenced by reload_config(), and start_rtp().
|
static |
Definition at line 257 of file chan_unistim.c.
|
static |
Protect the session list
Definition at line 271 of file chan_unistim.c.
Referenced by close_client(), create_client(), do_monitor(), reload_config(), unistim_show_info(), and unistimsock_read().
|
static |
Referenced by __ast_manager_event_multichan(), __init_manager(), __manager_event_sessions(), __manager_event_sessions_va(), ari_show_sessions(), ari_shut_session(), astman_verify_session_readpermissions(), astman_verify_session_writepermissions(), build_mansession(), check_manager_session_inuse(), close_client(), create_client(), delete_device(), do_monitor(), find_session(), find_session_by_nonce(), function_amiclient(), handle_kickmanconn(), handle_showmanconn(), internal_sip_session_media_state_alloc(), manager_default_msg_cb(), manager_generic_msg_cb(), purge_sessions(), reload_config(), session_destroy(), unistim_show_info(), and unistimsock_read().
|
static |
Definition at line 706 of file chan_unistim.c.
unsigned int tos |
Definition at line 250 of file chan_unistim.c.
unsigned int tos_audio |
Definition at line 251 of file chan_unistim.c.
|
static |
Definition at line 6267 of file chan_unistim.c.
Referenced by load_module(), and unload_module().
|
static |
Definition at line 246 of file chan_unistim.c.
Referenced by create_client(), reload_config(), and send_ping().
|
static |
Definition at line 244 of file chan_unistim.c.
Referenced by reload_config().
|
static |
Definition at line 261 of file chan_unistim.c.
Referenced by do_monitor(), and reload().
|
static |
Receive buffer address
Definition at line 260 of file chan_unistim.c.
Referenced by do_monitor(), and reload().
|
static |
Definition at line 7073 of file chan_unistim.c.
Referenced by load_module(), and unload_module().
|
static |
Definition at line 736 of file chan_unistim.c.
Referenced by load_module(), unistim_new(), and unload_module().
|
static |
Enable verbose output. can also be set with the CLI
Definition at line 243 of file chan_unistim.c.
Referenced by build_device(), check_send_queue(), close_client(), create_client(), delete_device(), find_subchannel_by_name(), get_avail_softkey(), get_to_address(), handle_call_incoming(), handle_call_outgoing(), handle_key_fav(), init_phone_step2(), parse_bookmark(), parsing(), process_request(), rcv_mac_addr(), rcv_resume_connection_with_server(), refresh_all_favorite(), register_extension(), reload(), reload_config(), send_blink_cursor(), send_charset_update(), send_client(), send_cursor_pos(), send_date_time(), send_date_time2(), send_date_time3(), send_dial_tone(), send_dtmf_tone(), send_end_call(), send_expansion_icon(), send_expansion_text(), send_favorite(), send_icon(), send_led_update(), send_month_labels(), send_mute(), send_no_ring(), send_ping(), send_raw_client(), send_retransmit(), send_ring(), send_select_output(), send_start_rtp(), send_start_timer(), send_stop_timer(), send_text(), send_text_status(), send_texttitle(), send_tone(), start_rtp(), sub_start_silence(), sub_stop_silence(), swap_subs(), transfer_cancel_step2(), unistim_alloc_sub(), unistim_answer(), unistim_call(), unistim_do_debug(), unistim_do_senddigit(), unistim_free_sub(), unistim_hangup(), unistim_hangup_clean(), unistim_indicate(), unistim_new(), unistim_request(), unistim_senddigit_end(), unistim_sendtext(), unistimsock_read(), and unregister_extension().
|
static |
Definition at line 247 of file chan_unistim.c.
Referenced by build_device(), create_client(), do_monitor(), reload_config(), send_raw_client(), unistimsock_read(), and unload_module().
|
static |
Definition at line 779 of file chan_unistim.c.
Referenced by ustmtext().