RTS API Documentation
1.10.11
|
Go to the source code of this file.
void switch_caller_extension_add_application | ( | switch_core_session_t * | session, |
switch_caller_extension_t * | caller_extension, | ||
const char * | application_name, | ||
const char * | application_data | ||
) |
Definition at line 553 of file switch_caller.c.
References switch_caller_application::application_data, switch_caller_application::application_name, switch_caller_extension::applications, switch_caller_extension::current_application, switch_caller_extension::last_application, switch_caller_application::next, switch_assert, SWITCH_CHANNEL_SESSION_LOG, switch_core_session_alloc, switch_core_session_strdup, switch_log_printf(), and SWITCH_LOG_WARNING.
Referenced by switch_caller_extension_add_application_printf().
void switch_caller_extension_add_application_printf | ( | switch_core_session_t * | session, |
switch_caller_extension_t * | caller_extension, | ||
const char * | application_name, | ||
const char * | fmt, | ||
... | |||
) |
Definition at line 531 of file switch_caller.c.
References switch_buffer::data, switch_caller_extension_add_application(), SWITCH_CHANNEL_SESSION_LOG, switch_log_printf(), SWITCH_LOG_WARNING, switch_safe_free, and switch_vasprintf().
switch_caller_extension_t* switch_caller_extension_new | ( | switch_core_session_t * | session, |
const char * | extension_name, | ||
const char * | extension_number | ||
) |
Definition at line 516 of file switch_caller.c.
References switch_caller_extension::applications, switch_caller_extension::current_application, switch_caller_extension::extension_name, switch_caller_extension::extension_number, switch_caller_extension::last_application, switch_core_session_alloc, and switch_core_session_strdup.
const char* switch_caller_get_field_by_name | ( | switch_caller_profile_t * | caller_profile, |
const char * | name | ||
) |
Definition at line 193 of file switch_caller.c.
References switch_caller_profile::ani, switch_caller_profile::ani_numplan, switch_caller_profile::ani_ton, switch_caller_profile::aniii, switch_channel_timetable::answered, switch_caller_profile::callee_id_name, switch_caller_profile::callee_id_number, switch_caller_profile::caller_id_name, switch_caller_profile::caller_id_number, switch_caller_profile::caller_numplan, switch_caller_profile::caller_ton, switch_caller_profile::chan_name, switch_caller_profile::context, switch_channel_timetable::created, switch_caller_profile::destination_number, switch_caller_profile::destination_number_numplan, switch_caller_profile::destination_number_ton, switch_caller_profile::dialplan, switch_channel_timetable::hungup, switch_caller_profile::network_addr, profile_node_s::next, switch_caller_profile::orig_caller_id_name, switch_caller_profile::orig_caller_id_number, switch_caller_profile::pool, switch_channel_timetable::profile_created, switch_caller_profile::profile_index, switch_channel_timetable::progress, switch_channel_timetable::progress_media, switch_caller_profile::rdnis, switch_caller_profile::rdnis_numplan, switch_caller_profile::rdnis_ton, switch_caller_profile::soft, switch_caller_profile::source, switch_core_sprintf(), SWITCH_CPF_HIDE_NAME, SWITCH_CPF_HIDE_NUMBER, SWITCH_CPF_SCREEN, SWITCH_CPF_SOFT_LOOKUP, switch_test_flag, SWITCH_TIME_T_FMT, switch_caller_profile::times, switch_caller_profile::transfer_source, switch_channel_timetable::transferred, switch_caller_profile::username, switch_caller_profile::uuid, profile_node_s::val, and profile_node_s::var.
switch_caller_profile_t* switch_caller_profile_clone | ( | switch_core_session_t * | session, |
switch_caller_profile_t * | tocopy | ||
) |
Definition at line 184 of file switch_caller.c.
References pool, switch_caller_profile_dup(), and switch_core_session_get_pool().
switch_caller_profile_t* switch_caller_profile_dup | ( | switch_memory_pool_t * | pool, |
switch_caller_profile_t * | tocopy | ||
) |
Definition at line 110 of file switch_caller.c.
References switch_caller_profile::ani, switch_caller_profile::ani_numplan, switch_caller_profile::ani_ton, switch_caller_profile::aniii, switch_caller_profile::callee_id_name, switch_caller_profile::callee_id_number, switch_caller_profile::caller_id_name, switch_caller_profile::caller_id_number, switch_caller_profile::caller_numplan, switch_caller_profile::caller_ton, switch_caller_profile::chan_name, switch_caller_profile::clone_of, switch_caller_profile::context, switch_caller_profile::destination_number, switch_caller_profile::destination_number_numplan, switch_caller_profile::destination_number_ton, switch_caller_profile::dialplan, switch_caller_profile::direction, switch_caller_profile::flags, switch_caller_profile::network_addr, profile_node_s::next, switch_caller_profile::old_times, switch_caller_profile::orig_caller_id_name, switch_caller_profile::orig_caller_id_number, pool, switch_caller_profile::pool, profile_dup, switch_caller_profile::rdnis, switch_caller_profile::rdnis_numplan, switch_caller_profile::rdnis_ton, switch_caller_profile::soft, switch_caller_profile::source, switch_assert, switch_core_alloc, switch_core_strdup, SWITCH_UUID_FORMATTED_LENGTH, switch_uuid_str(), switch_caller_profile::times, switch_caller_profile::username, switch_caller_profile::uuid, switch_caller_profile::uuid_str, profile_node_s::val, and profile_node_s::var.
Referenced by switch_caller_profile_clone().
void switch_caller_profile_event_set_data | ( | switch_caller_profile_t * | caller_profile, |
const char * | prefix, | ||
switch_event_t * | event | ||
) |
Definition at line 322 of file switch_caller.c.
References switch_caller_profile::ani, switch_caller_profile::aniii, switch_channel_timetable::answered, switch_channel_timetable::bridged, switch_caller_profile::callee_id_name, switch_caller_profile::callee_id_number, switch_caller_profile::caller_id_name, switch_caller_profile::caller_id_number, switch_caller_profile::chan_name, switch_caller_profile::context, switch_channel_timetable::created, switch_caller_profile::destination_number, switch_caller_profile::dialplan, switch_caller_profile::direction, switch_channel_timetable::hold_accum, switch_channel_timetable::hungup, switch_channel_timetable::last_hold, switch_caller_profile::logical_direction, switch_caller_profile::network_addr, profile_node_s::next, switch_caller_profile::old_times, switch_caller_profile::orig_caller_id_name, switch_caller_profile::orig_caller_id_number, switch_channel_timetable::profile_created, switch_caller_profile::profile_index, switch_channel_timetable::progress, switch_channel_timetable::progress_media, switch_caller_profile::rdnis, switch_channel_timetable::resurrected, switch_caller_profile::soft, switch_caller_profile::source, SWITCH_CALL_DIRECTION_INBOUND, SWITCH_CPF_HIDE_NAME, SWITCH_CPF_HIDE_NUMBER, SWITCH_CPF_SCREEN, SWITCH_CPF_SOFT_PREFIX, switch_event_add_header(), switch_event_add_header_string(), switch_snprintf(), SWITCH_STACK_BOTTOM, switch_test_flag, SWITCH_TIME_T_FMT, switch_caller_profile::times, switch_caller_profile::transfer_source, switch_channel_timetable::transferred, switch_caller_profile::username, switch_caller_profile::uuid, profile_node_s::val, profile_node_s::var, and zstr.
switch_caller_profile_t* switch_caller_profile_new | ( | switch_memory_pool_t * | pool, |
const char * | username, | ||
const char * | dialplan, | ||
const char * | caller_id_name, | ||
const char * | caller_id_number, | ||
const char * | network_addr, | ||
const char * | ani, | ||
const char * | aniii, | ||
const char * | rdnis, | ||
const char * | source, | ||
const char * | context, | ||
const char * | destination_number | ||
) |
Definition at line 36 of file switch_caller.c.
References switch_caller_profile::ani, switch_caller_profile::ani_numplan, switch_caller_profile::ani_ton, switch_caller_profile::aniii, switch_caller_profile::callee_id_name, switch_caller_profile::callee_id_number, switch_caller_profile::caller_id_name, switch_caller_profile::caller_id_number, switch_caller_profile::caller_numplan, switch_caller_profile::caller_ton, switch_caller_profile::chan_name, switch_caller_profile::context, switch_caller_profile::destination_number, switch_caller_profile::destination_number_numplan, switch_caller_profile::destination_number_ton, switch_caller_profile::dialplan, memset(), switch_caller_profile::network_addr, switch_caller_profile::orig_caller_id_name, switch_caller_profile::orig_caller_id_number, pool, switch_caller_profile::pool, profile_dup_clean, switch_caller_profile::rdnis, switch_caller_profile::rdnis_numplan, switch_caller_profile::rdnis_ton, SCF_CPF_SOFT_LOOKUP, SCF_CPF_SOFT_PREFIX, switch_caller_profile::source, switch_assert, SWITCH_BLANK_STRING, switch_core_alloc, switch_core_strdup, switch_core_test_flag(), SWITCH_CPF_SCREEN, SWITCH_CPF_SOFT_LOOKUP, SWITCH_CPF_SOFT_PREFIX, SWITCH_DEFAULT_CLID_NAME, SWITCH_DEFAULT_CLID_NUMBER, SWITCH_NUMPLAN_UNDEF, switch_set_flag, SWITCH_TON_UNDEF, SWITCH_UUID_FORMATTED_LENGTH, switch_uuid_str(), switch_caller_profile::username, switch_caller_profile::uuid, switch_caller_profile::uuid_str, and zstr.