#include <switch.h>
Include dependency graph for switch_caller.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
| struct | profile_node_s |
| struct | switch_caller_profile |
| Call Specific Data. More... | |
| struct | switch_caller_application |
| An Abstract Representation of a dialplan Application. More... | |
| struct | switch_caller_extension |
| An Abstract Representation of a dialplan extension. More... | |
Typedefs | |
| typedef SWITCH_BEGIN_EXTERN_C struct profile_node_s | profile_node_t |
Functions | |
| switch_caller_extension_t * | switch_caller_extension_new (_In_ switch_core_session_t *session, _In_z_ const char *extension_name, _In_z_ const char *extension_number) |
| Create a new extension with desired parameters. | |
| switch_status_t | switch_caller_extension_clone (switch_caller_extension_t **new_ext, switch_caller_extension_t *orig, switch_memory_pool_t *pool) |
| void | switch_caller_extension_add_application (_In_ switch_core_session_t *session, _In_ switch_caller_extension_t *caller_extension, _In_z_ const char *application_name, _In_z_ const char *extra_data) |
| Add an application (instruction) to the given extension. | |
| void | switch_caller_extension_add_application_printf (_In_ switch_core_session_t *session, _In_ switch_caller_extension_t *caller_extension, _In_z_ const char *application_name, _In_z_ const char *fmt,...) |
| Add an application (instruction) to the given extension. | |
| _Check_return_ _Ret_opt_z_ const char * | switch_caller_get_field_by_name (_In_ switch_caller_profile_t *caller_profile, _In_z_ const char *name) |
| Get the value of a field in a caller profile based on it's name. | |
| switch_caller_profile_t * | switch_caller_profile_new (_In_ switch_memory_pool_t *pool, _In_opt_z_ const char *username, _In_opt_z_ const char *dialplan, _In_opt_z_ const char *caller_id_name, _In_opt_z_ const char *caller_id_number, _In_opt_z_ const char *network_addr, _In_opt_z_ const char *ani, _In_opt_z_ const char *aniii, _In_opt_z_ const char *rdnis, _In_opt_z_ const char *source, _In_opt_z_ const char *context, _In_opt_z_ const char *destination_number) |
| Create a new caller profile object. | |
| switch_caller_profile_t * | switch_caller_profile_clone (_In_ switch_core_session_t *session, _In_ switch_caller_profile_t *tocopy) |
| Clone an existing caller profile object. | |
| switch_caller_profile_t * | switch_caller_profile_dup (_In_ switch_memory_pool_t *pool, _In_ switch_caller_profile_t *tocopy) |
| Duplicate an existing caller profile object. | |
| void | switch_caller_profile_event_set_data (_In_ switch_caller_profile_t *caller_profile, _In_opt_z_ const char *prefix, _In_ switch_event_t *event) |
| Add headers to an existing event in regards to a specific profile. | |
Definition in file switch_caller.h.
1.4.7