vs2010 reswig
This commit is contained in:
parent
3764a60df9
commit
a31906df17
|
@ -1071,6 +1071,16 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_TRANSFER_HISTORY_VARIABLE_get() {
|
||||
char * jresult ;
|
||||
char *result = 0 ;
|
||||
|
||||
result = (char *)("transfer_history");
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get() {
|
||||
char * jresult ;
|
||||
char *result = 0 ;
|
||||
|
@ -3838,6 +3848,35 @@ SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_t38_options_t_local_port_get
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_sdp_o_line_set(void * jarg1, char * jarg2) {
|
||||
switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_t38_options_t *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
{
|
||||
if (arg2) {
|
||||
arg1->sdp_o_line = (char const *) (new char[strlen((const char *)arg2)+1]);
|
||||
strcpy((char *)arg1->sdp_o_line, (const char *)arg2);
|
||||
} else {
|
||||
arg1->sdp_o_line = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_t38_options_t_sdp_o_line_get(void * jarg1) {
|
||||
char * jresult ;
|
||||
switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_t38_options_t *)jarg1;
|
||||
result = (char *) ((arg1)->sdp_o_line);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_t38_options_t() {
|
||||
void * jresult ;
|
||||
switch_t38_options_t *result = 0 ;
|
||||
|
@ -5320,6 +5359,18 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_regex_set_var_callback(char * jarg1, c
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_regex_set_event_header_callback(char * jarg1, char * jarg2, void * jarg3) {
|
||||
char *arg1 = (char *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
void *arg3 = (void *) 0 ;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
arg3 = (void *)jarg3;
|
||||
switch_regex_set_event_header_callback((char const *)arg1,(char const *)arg2,arg3);
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_CORE_THREAD_SESSION_OBJS_get() {
|
||||
int jresult ;
|
||||
int result;
|
||||
|
@ -6881,6 +6932,16 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_perform_new_memory_pool(void * jar
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_sync_clock() {
|
||||
int jresult ;
|
||||
int result;
|
||||
|
||||
result = (int)switch_core_session_sync_clock();
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_perform_destroy_memory_pool(void * jarg1, char * jarg2, char * jarg3, int jarg4) {
|
||||
int jresult ;
|
||||
switch_memory_pool_t **arg1 = (switch_memory_pool_t **) 0 ;
|
||||
|
@ -10240,6 +10301,20 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_chat_send(char * jarg1, void * jar
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_chat_deliver(char * jarg1, void * jarg2) {
|
||||
int jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
switch_event_t **arg2 = (switch_event_t **) 0 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
arg2 = (switch_event_t **)jarg2;
|
||||
result = (switch_status_t)switch_core_chat_deliver((char const *)arg1,arg2);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_preprocess_session(void * jarg1, char * jarg2) {
|
||||
int jresult ;
|
||||
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
|
||||
|
@ -11072,6 +11147,28 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_applicatio
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_chat_application_interface_set(void * jarg1, void * jarg2) {
|
||||
switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ;
|
||||
switch_chat_application_interface_t *arg2 = (switch_chat_application_interface_t *) 0 ;
|
||||
|
||||
arg1 = (switch_loadable_module_interface *)jarg1;
|
||||
arg2 = (switch_chat_application_interface_t *)jarg2;
|
||||
if (arg1) (arg1)->chat_application_interface = arg2;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_chat_application_interface_get(void * jarg1) {
|
||||
void * jresult ;
|
||||
switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ;
|
||||
switch_chat_application_interface_t *result = 0 ;
|
||||
|
||||
arg1 = (switch_loadable_module_interface *)jarg1;
|
||||
result = (switch_chat_application_interface_t *) ((arg1)->chat_application_interface);
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_api_interface_set(void * jarg1, void * jarg2) {
|
||||
switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ;
|
||||
switch_api_interface_t *arg2 = (switch_api_interface_t *) 0 ;
|
||||
|
@ -11481,6 +11578,34 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_application_inte
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_chat_application_interface(char * jarg1) {
|
||||
void * jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
switch_chat_application_interface_t *result = 0 ;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
result = (switch_chat_application_interface_t *)switch_loadable_module_get_chat_application_interface((char const *)arg1);
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_execute_chat_app(void * jarg1, char * jarg2, char * jarg3) {
|
||||
int jresult ;
|
||||
switch_event_t *arg1 = (switch_event_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
char *arg3 = (char *) 0 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (switch_event_t *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
arg3 = (char *)jarg3;
|
||||
result = (switch_status_t)switch_core_execute_chat_app(arg1,(char const *)arg2,(char const *)arg3);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_api_interface(char * jarg1) {
|
||||
void * jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
|
@ -12791,6 +12916,20 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_clean_name_string(char * jarg1) {
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_safe_atoi(char * jarg1, int jarg2) {
|
||||
int jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
int arg2 ;
|
||||
int result;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
arg2 = (int)jarg2;
|
||||
result = (int)switch_safe_atoi((char const *)arg1,arg2);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_safe_strdup(char * jarg1) {
|
||||
char * jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
|
@ -13471,6 +13610,26 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_split_user_domain(char * jarg1, void *
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_uuid_str(char * jarg1, void * jarg2) {
|
||||
char * jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
switch_size_t arg2 ;
|
||||
switch_size_t *argp2 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
argp2 = (switch_size_t *)jarg2;
|
||||
if (!argp2) {
|
||||
SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0);
|
||||
return 0;
|
||||
}
|
||||
arg2 = *argp2;
|
||||
result = (char *)switch_uuid_str(arg1,arg2);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_profile_node_t_var_set(void * jarg1, char * jarg2) {
|
||||
profile_node_t *arg1 = (profile_node_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
@ -14456,6 +14615,96 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_soft_get(void * jarg1
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_uuid_str_set(void * jarg1, char * jarg2) {
|
||||
switch_caller_profile *arg1 = (switch_caller_profile *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_caller_profile *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
{
|
||||
if (arg1->uuid_str) delete [] arg1->uuid_str;
|
||||
if (arg2) {
|
||||
arg1->uuid_str = (char *) (new char[strlen((const char *)arg2)+1]);
|
||||
strcpy((char *)arg1->uuid_str, (const char *)arg2);
|
||||
} else {
|
||||
arg1->uuid_str = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_uuid_str_get(void * jarg1) {
|
||||
char * jresult ;
|
||||
switch_caller_profile *arg1 = (switch_caller_profile *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_caller_profile *)jarg1;
|
||||
result = (char *) ((arg1)->uuid_str);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_clone_of_set(void * jarg1, char * jarg2) {
|
||||
switch_caller_profile *arg1 = (switch_caller_profile *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_caller_profile *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
{
|
||||
if (arg1->clone_of) delete [] arg1->clone_of;
|
||||
if (arg2) {
|
||||
arg1->clone_of = (char *) (new char[strlen((const char *)arg2)+1]);
|
||||
strcpy((char *)arg1->clone_of, (const char *)arg2);
|
||||
} else {
|
||||
arg1->clone_of = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_clone_of_get(void * jarg1) {
|
||||
char * jresult ;
|
||||
switch_caller_profile *arg1 = (switch_caller_profile *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_caller_profile *)jarg1;
|
||||
result = (char *) ((arg1)->clone_of);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_transfer_source_set(void * jarg1, char * jarg2) {
|
||||
switch_caller_profile *arg1 = (switch_caller_profile *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_caller_profile *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
{
|
||||
if (arg1->transfer_source) delete [] arg1->transfer_source;
|
||||
if (arg2) {
|
||||
arg1->transfer_source = (char *) (new char[strlen((const char *)arg2)+1]);
|
||||
strcpy((char *)arg1->transfer_source, (const char *)arg2);
|
||||
} else {
|
||||
arg1->transfer_source = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_transfer_source_get(void * jarg1) {
|
||||
char * jresult ;
|
||||
switch_caller_profile *arg1 = (switch_caller_profile *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_caller_profile *)jarg1;
|
||||
result = (char *) ((arg1)->transfer_source);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_caller_profile() {
|
||||
void * jresult ;
|
||||
switch_caller_profile *result = 0 ;
|
||||
|
@ -22566,6 +22815,294 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_application_interface(void * ja
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_interface_name_set(void * jarg1, char * jarg2) {
|
||||
switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_chat_application_interface *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
{
|
||||
if (arg2) {
|
||||
arg1->interface_name = (char const *) (new char[strlen((const char *)arg2)+1]);
|
||||
strcpy((char *)arg1->interface_name, (const char *)arg2);
|
||||
} else {
|
||||
arg1->interface_name = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_chat_application_interface_interface_name_get(void * jarg1) {
|
||||
char * jresult ;
|
||||
switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_chat_application_interface *)jarg1;
|
||||
result = (char *) ((arg1)->interface_name);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_chat_application_function_set(void * jarg1, void * jarg2) {
|
||||
switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ;
|
||||
switch_chat_application_function_t arg2 = (switch_chat_application_function_t) 0 ;
|
||||
|
||||
arg1 = (switch_chat_application_interface *)jarg1;
|
||||
arg2 = (switch_chat_application_function_t)jarg2;
|
||||
if (arg1) (arg1)->chat_application_function = arg2;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_application_interface_chat_application_function_get(void * jarg1) {
|
||||
void * jresult ;
|
||||
switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ;
|
||||
switch_chat_application_function_t result;
|
||||
|
||||
arg1 = (switch_chat_application_interface *)jarg1;
|
||||
result = (switch_chat_application_function_t) ((arg1)->chat_application_function);
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_long_desc_set(void * jarg1, char * jarg2) {
|
||||
switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_chat_application_interface *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
{
|
||||
if (arg2) {
|
||||
arg1->long_desc = (char const *) (new char[strlen((const char *)arg2)+1]);
|
||||
strcpy((char *)arg1->long_desc, (const char *)arg2);
|
||||
} else {
|
||||
arg1->long_desc = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_chat_application_interface_long_desc_get(void * jarg1) {
|
||||
char * jresult ;
|
||||
switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_chat_application_interface *)jarg1;
|
||||
result = (char *) ((arg1)->long_desc);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_short_desc_set(void * jarg1, char * jarg2) {
|
||||
switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_chat_application_interface *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
{
|
||||
if (arg2) {
|
||||
arg1->short_desc = (char const *) (new char[strlen((const char *)arg2)+1]);
|
||||
strcpy((char *)arg1->short_desc, (const char *)arg2);
|
||||
} else {
|
||||
arg1->short_desc = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_chat_application_interface_short_desc_get(void * jarg1) {
|
||||
char * jresult ;
|
||||
switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_chat_application_interface *)jarg1;
|
||||
result = (char *) ((arg1)->short_desc);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_syntax_set(void * jarg1, char * jarg2) {
|
||||
switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_chat_application_interface *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
{
|
||||
if (arg2) {
|
||||
arg1->syntax = (char const *) (new char[strlen((const char *)arg2)+1]);
|
||||
strcpy((char *)arg1->syntax, (const char *)arg2);
|
||||
} else {
|
||||
arg1->syntax = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_chat_application_interface_syntax_get(void * jarg1) {
|
||||
char * jresult ;
|
||||
switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_chat_application_interface *)jarg1;
|
||||
result = (char *) ((arg1)->syntax);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_flags_set(void * jarg1, unsigned long jarg2) {
|
||||
switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ;
|
||||
uint32_t arg2 ;
|
||||
|
||||
arg1 = (switch_chat_application_interface *)jarg1;
|
||||
arg2 = (uint32_t)jarg2;
|
||||
if (arg1) (arg1)->flags = arg2;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_chat_application_interface_flags_get(void * jarg1) {
|
||||
unsigned long jresult ;
|
||||
switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ;
|
||||
uint32_t result;
|
||||
|
||||
arg1 = (switch_chat_application_interface *)jarg1;
|
||||
result = (uint32_t) ((arg1)->flags);
|
||||
jresult = (unsigned long)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_rwlock_set(void * jarg1, void * jarg2) {
|
||||
switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ;
|
||||
switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ;
|
||||
|
||||
arg1 = (switch_chat_application_interface *)jarg1;
|
||||
arg2 = (switch_thread_rwlock_t *)jarg2;
|
||||
if (arg1) (arg1)->rwlock = arg2;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_application_interface_rwlock_get(void * jarg1) {
|
||||
void * jresult ;
|
||||
switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ;
|
||||
switch_thread_rwlock_t *result = 0 ;
|
||||
|
||||
arg1 = (switch_chat_application_interface *)jarg1;
|
||||
result = (switch_thread_rwlock_t *) ((arg1)->rwlock);
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_refs_set(void * jarg1, int jarg2) {
|
||||
switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ;
|
||||
int arg2 ;
|
||||
|
||||
arg1 = (switch_chat_application_interface *)jarg1;
|
||||
arg2 = (int)jarg2;
|
||||
if (arg1) (arg1)->refs = arg2;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_chat_application_interface_refs_get(void * jarg1) {
|
||||
int jresult ;
|
||||
switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ;
|
||||
int result;
|
||||
|
||||
arg1 = (switch_chat_application_interface *)jarg1;
|
||||
result = (int) ((arg1)->refs);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_reflock_set(void * jarg1, void * jarg2) {
|
||||
switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ;
|
||||
switch_mutex_t *arg2 = (switch_mutex_t *) 0 ;
|
||||
|
||||
arg1 = (switch_chat_application_interface *)jarg1;
|
||||
arg2 = (switch_mutex_t *)jarg2;
|
||||
if (arg1) (arg1)->reflock = arg2;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_application_interface_reflock_get(void * jarg1) {
|
||||
void * jresult ;
|
||||
switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ;
|
||||
switch_mutex_t *result = 0 ;
|
||||
|
||||
arg1 = (switch_chat_application_interface *)jarg1;
|
||||
result = (switch_mutex_t *) ((arg1)->reflock);
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_parent_set(void * jarg1, void * jarg2) {
|
||||
switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ;
|
||||
switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ;
|
||||
|
||||
arg1 = (switch_chat_application_interface *)jarg1;
|
||||
arg2 = (switch_loadable_module_interface_t *)jarg2;
|
||||
if (arg1) (arg1)->parent = arg2;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_application_interface_parent_get(void * jarg1) {
|
||||
void * jresult ;
|
||||
switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ;
|
||||
switch_loadable_module_interface_t *result = 0 ;
|
||||
|
||||
arg1 = (switch_chat_application_interface *)jarg1;
|
||||
result = (switch_loadable_module_interface_t *) ((arg1)->parent);
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_next_set(void * jarg1, void * jarg2) {
|
||||
switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ;
|
||||
switch_chat_application_interface *arg2 = (switch_chat_application_interface *) 0 ;
|
||||
|
||||
arg1 = (switch_chat_application_interface *)jarg1;
|
||||
arg2 = (switch_chat_application_interface *)jarg2;
|
||||
if (arg1) (arg1)->next = arg2;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_application_interface_next_get(void * jarg1) {
|
||||
void * jresult ;
|
||||
switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ;
|
||||
switch_chat_application_interface *result = 0 ;
|
||||
|
||||
arg1 = (switch_chat_application_interface *)jarg1;
|
||||
result = (switch_chat_application_interface *) ((arg1)->next);
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_chat_application_interface() {
|
||||
void * jresult ;
|
||||
switch_chat_application_interface *result = 0 ;
|
||||
|
||||
result = (switch_chat_application_interface *)new switch_chat_application_interface();
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_chat_application_interface(void * jarg1) {
|
||||
switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ;
|
||||
|
||||
arg1 = (switch_chat_application_interface *)jarg1;
|
||||
delete arg1;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_interface_name_set(void * jarg1, char * jarg2) {
|
||||
switch_api_interface *arg1 = (switch_api_interface *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
@ -25747,6 +26284,22 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_get_header_idx(void * jarg1, c
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_rename_header(void * jarg1, char * jarg2, char * jarg3) {
|
||||
int jresult ;
|
||||
switch_event_t *arg1 = (switch_event_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
char *arg3 = (char *) 0 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (switch_event_t *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
arg3 = (char *)jarg3;
|
||||
result = (switch_status_t)switch_event_rename_header(arg1,(char const *)arg2,(char const *)arg3);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_get_body(void * jarg1) {
|
||||
char * jresult ;
|
||||
switch_event_t *arg1 = (switch_event_t *) 0 ;
|
||||
|
@ -25855,6 +26408,20 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_merge(void * jarg1, void * jarg2
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_dup_reply(void * jarg1, void * jarg2) {
|
||||
int jresult ;
|
||||
switch_event_t **arg1 = (switch_event_t **) 0 ;
|
||||
switch_event_t *arg2 = (switch_event_t *) 0 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (switch_event_t **)jarg1;
|
||||
arg2 = (switch_event_t *)jarg2;
|
||||
result = (switch_status_t)switch_event_dup_reply(arg1,arg2);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_fire_detailed(char * jarg1, char * jarg2, int jarg3, void * jarg4, void * jarg5) {
|
||||
int jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
|
@ -26087,6 +26654,20 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_running() {
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_set_body(void * jarg1, char * jarg2) {
|
||||
int jresult ;
|
||||
switch_event_t *arg1 = (switch_event_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (switch_event_t *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
result = (switch_status_t)switch_event_set_body(arg1,(char const *)arg2);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_expand_headers(void * jarg1, char * jarg2) {
|
||||
char * jresult ;
|
||||
switch_event_t *arg1 = (switch_event_t *) 0 ;
|
||||
|
@ -28785,6 +29366,18 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_uuid_exists(char * jarg1) {
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_ivr_dmachine_get_name(void * jarg1) {
|
||||
char * jresult ;
|
||||
switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_ivr_dmachine_t *)jarg1;
|
||||
result = (char *)switch_ivr_dmachine_get_name(arg1);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_set_match_callback(void * jarg1, void * jarg2) {
|
||||
switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ;
|
||||
switch_ivr_dmachine_callback_t arg2 = (switch_ivr_dmachine_callback_t) 0 ;
|
||||
|
@ -29043,6 +29636,36 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_insert_file(void * jarg1, char * ja
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_create_message_reply(void * jarg1, void * jarg2, char * jarg3) {
|
||||
int jresult ;
|
||||
switch_event_t **arg1 = (switch_event_t **) 0 ;
|
||||
switch_event_t *arg2 = (switch_event_t *) 0 ;
|
||||
char *arg3 = (char *) 0 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (switch_event_t **)jarg1;
|
||||
arg2 = (switch_event_t *)jarg2;
|
||||
arg3 = (char *)jarg3;
|
||||
result = (switch_status_t)switch_ivr_create_message_reply(arg1,arg2,(char const *)arg3);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_ivr_check_presence_mapping(char * jarg1, char * jarg2) {
|
||||
char * jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
result = (char *)switch_ivr_check_presence_mapping((char const *)arg1,(char const *)arg2);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RTP_MAX_BUF_LEN_get() {
|
||||
int jresult ;
|
||||
int result;
|
||||
|
@ -33550,6 +34173,29 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_config_next_pair(void * jarg1, void * j
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_setGlobalVariable(char * jarg1, char * jarg2) {
|
||||
char *arg1 = (char *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
setGlobalVariable(arg1,arg2);
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_getGlobalVariable(char * jarg1) {
|
||||
char * jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
result = (char *)getGlobalVariable(arg1);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
free(result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_consoleLog(char * jarg1, char * jarg2) {
|
||||
char *arg1 = (char *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
@ -34070,6 +34716,36 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_Event(void * jarg1) {
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_Event_chat_execute(void * jarg1, char * jarg2, char * jarg3) {
|
||||
int jresult ;
|
||||
Event *arg1 = (Event *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
char *arg3 = (char *) NULL ;
|
||||
int result;
|
||||
|
||||
arg1 = (Event *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
arg3 = (char *)jarg3;
|
||||
result = (int)(arg1)->chat_execute((char const *)arg2,(char const *)arg3);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_Event_chat_send(void * jarg1, char * jarg2) {
|
||||
int jresult ;
|
||||
Event *arg1 = (Event *) 0 ;
|
||||
char *arg2 = (char *) NULL ;
|
||||
int result;
|
||||
|
||||
arg1 = (Event *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
result = (int)(arg1)->chat_send((char const *)arg2);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_Event_Serialize(void * jarg1, char * jarg2) {
|
||||
char * jresult ;
|
||||
Event *arg1 = (Event *) 0 ;
|
||||
|
|
|
@ -615,6 +615,16 @@ public partial class Event : IDisposable {
|
|||
public Event(switch_event wrap_me, int free_me) : this(freeswitchPINVOKE.new_Event__SWIG_1(switch_event.getCPtr(wrap_me), free_me), true) {
|
||||
}
|
||||
|
||||
public int chat_execute(string app, string data) {
|
||||
int ret = freeswitchPINVOKE.Event_chat_execute(swigCPtr, app, data);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public int chat_send(string dest_proto) {
|
||||
int ret = freeswitchPINVOKE.Event_chat_send(swigCPtr, dest_proto);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public string Serialize(string format) {
|
||||
string ret = freeswitchPINVOKE.Event_Serialize(swigCPtr, format);
|
||||
return ret;
|
||||
|
@ -967,6 +977,10 @@ public class freeswitch {
|
|||
freeswitchPINVOKE.switch_regex_set_var_callback(var, val, SWIGTYPE_p_void.getCPtr(user_data));
|
||||
}
|
||||
|
||||
public static void switch_regex_set_event_header_callback(string var, string val, SWIGTYPE_p_void user_data) {
|
||||
freeswitchPINVOKE.switch_regex_set_event_header_callback(var, val, SWIGTYPE_p_void.getCPtr(user_data));
|
||||
}
|
||||
|
||||
public static void switch_core_session_sched_heartbeat(SWIGTYPE_p_switch_core_session session, uint seconds) {
|
||||
freeswitchPINVOKE.switch_core_session_sched_heartbeat(SWIGTYPE_p_switch_core_session.getCPtr(session), seconds);
|
||||
}
|
||||
|
@ -1208,6 +1222,11 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static int switch_core_session_sync_clock() {
|
||||
int ret = freeswitchPINVOKE.switch_core_session_sync_clock();
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_core_perform_destroy_memory_pool(SWIGTYPE_p_p_apr_pool_t pool, string file, string func, int line) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_perform_destroy_memory_pool(SWIGTYPE_p_p_apr_pool_t.getCPtr(pool), file, func, line);
|
||||
return ret;
|
||||
|
@ -2434,6 +2453,11 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_core_chat_deliver(string dest_proto, SWIGTYPE_p_p_switch_event message_event) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_chat_deliver(dest_proto, SWIGTYPE_p_p_switch_event.getCPtr(message_event));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_ivr_preprocess_session(SWIGTYPE_p_switch_core_session session, string cmds) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_preprocess_session(SWIGTYPE_p_switch_core_session.getCPtr(session), cmds);
|
||||
return ret;
|
||||
|
@ -2631,6 +2655,17 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static switch_chat_application_interface switch_loadable_module_get_chat_application_interface(string name) {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_chat_application_interface(name);
|
||||
switch_chat_application_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_chat_application_interface(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_core_execute_chat_app(switch_event message, string app, string data) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_execute_chat_app(switch_event.getCPtr(message), app, data);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_api_interface switch_loadable_module_get_api_interface(string name) {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_api_interface(name);
|
||||
switch_api_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_api_interface(cPtr, false);
|
||||
|
@ -3059,6 +3094,11 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static int switch_safe_atoi(string nptr, int dft) {
|
||||
int ret = freeswitchPINVOKE.switch_safe_atoi(nptr, dft);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static string switch_safe_strdup(string it) {
|
||||
string ret = freeswitchPINVOKE.switch_safe_strdup(it);
|
||||
return ret;
|
||||
|
@ -3281,6 +3321,12 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static string switch_uuid_str(string buf, SWIGTYPE_p_switch_size_t len) {
|
||||
string ret = freeswitchPINVOKE.switch_uuid_str(buf, SWIGTYPE_p_switch_size_t.getCPtr(len));
|
||||
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_caller_extension switch_caller_extension_new(SWIGTYPE_p_switch_core_session session, string extension_name, string extension_number) {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_new(SWIGTYPE_p_switch_core_session.getCPtr(session), extension_name, extension_number);
|
||||
switch_caller_extension ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_extension(cPtr, false);
|
||||
|
@ -4037,6 +4083,11 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_event_rename_header(switch_event arg0, string header_name, string new_header_name) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_rename_header(switch_event.getCPtr(arg0), header_name, new_header_name);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static string switch_event_get_body(switch_event arg0) {
|
||||
string ret = freeswitchPINVOKE.switch_event_get_body(switch_event.getCPtr(arg0));
|
||||
return ret;
|
||||
|
@ -4075,6 +4126,11 @@ public class freeswitch {
|
|||
freeswitchPINVOKE.switch_event_merge(switch_event.getCPtr(arg0), switch_event.getCPtr(tomerge));
|
||||
}
|
||||
|
||||
public static switch_status_t switch_event_dup_reply(SWIGTYPE_p_p_switch_event arg0, switch_event todup) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_dup_reply(SWIGTYPE_p_p_switch_event.getCPtr(arg0), switch_event.getCPtr(todup));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_event_fire_detailed(string file, string func, int line, SWIGTYPE_p_p_switch_event arg3, SWIGTYPE_p_void user_data) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_fire_detailed(file, func, line, SWIGTYPE_p_p_switch_event.getCPtr(arg3), SWIGTYPE_p_void.getCPtr(user_data));
|
||||
return ret;
|
||||
|
@ -4149,6 +4205,11 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_event_set_body(switch_event arg0, string body) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_set_body(switch_event.getCPtr(arg0), body);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static string switch_event_expand_headers(switch_event arg0, string arg1) {
|
||||
string ret = freeswitchPINVOKE.switch_event_expand_headers(switch_event.getCPtr(arg0), arg1);
|
||||
return ret;
|
||||
|
@ -4774,6 +4835,11 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static string switch_ivr_dmachine_get_name(SWIGTYPE_p_switch_ivr_dmachine dmachine) {
|
||||
string ret = freeswitchPINVOKE.switch_ivr_dmachine_get_name(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static void switch_ivr_dmachine_set_match_callback(SWIGTYPE_p_switch_ivr_dmachine dmachine, SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t match_callback) {
|
||||
freeswitchPINVOKE.switch_ivr_dmachine_set_match_callback(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine), SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t.getCPtr(match_callback));
|
||||
}
|
||||
|
@ -4861,6 +4927,16 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_ivr_create_message_reply(SWIGTYPE_p_p_switch_event reply, switch_event message, string new_proto) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_create_message_reply(SWIGTYPE_p_p_switch_event.getCPtr(reply), switch_event.getCPtr(message), new_proto);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static string switch_ivr_check_presence_mapping(string exten_name, string domain_name) {
|
||||
string ret = freeswitchPINVOKE.switch_ivr_check_presence_mapping(exten_name, domain_name);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_rtp_add_crypto_key(SWIGTYPE_p_switch_rtp rtp_session, switch_rtp_crypto_direction_t direction, uint index, switch_rtp_crypto_key_type_t type, SWIGTYPE_p_unsigned_char key, SWIGTYPE_p_switch_size_t keylen) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_add_crypto_key(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), (int)direction, index, (int)type, SWIGTYPE_p_unsigned_char.getCPtr(key), SWIGTYPE_p_switch_size_t.getCPtr(keylen));
|
||||
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
|
||||
|
@ -5645,6 +5721,15 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static void setGlobalVariable(string var_name, string var_val) {
|
||||
freeswitchPINVOKE.setGlobalVariable(var_name, var_val);
|
||||
}
|
||||
|
||||
public static string getGlobalVariable(string var_name) {
|
||||
string ret = freeswitchPINVOKE.getGlobalVariable(var_name);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static void consoleLog(string level_str, string msg) {
|
||||
freeswitchPINVOKE.consoleLog(level_str, msg);
|
||||
}
|
||||
|
@ -5761,6 +5846,7 @@ public class freeswitch {
|
|||
public static readonly string SWITCH_READ_RESULT_VARIABLE = freeswitchPINVOKE.SWITCH_READ_RESULT_VARIABLE_get();
|
||||
public static readonly string SWITCH_COPY_XML_CDR_VARIABLE = freeswitchPINVOKE.SWITCH_COPY_XML_CDR_VARIABLE_get();
|
||||
public static readonly string SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE = freeswitchPINVOKE.SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get();
|
||||
public static readonly string SWITCH_TRANSFER_HISTORY_VARIABLE = freeswitchPINVOKE.SWITCH_TRANSFER_HISTORY_VARIABLE_get();
|
||||
public static readonly string SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get();
|
||||
public static readonly string SWITCH_CHANNEL_EXECUTE_ON_PRE_ANSWER_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_EXECUTE_ON_PRE_ANSWER_VARIABLE_get();
|
||||
public static readonly string SWITCH_CHANNEL_EXECUTE_ON_MEDIA_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_EXECUTE_ON_MEDIA_VARIABLE_get();
|
||||
|
@ -6310,6 +6396,9 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get")]
|
||||
public static extern string SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_TRANSFER_HISTORY_VARIABLE_get")]
|
||||
public static extern string SWITCH_TRANSFER_HISTORY_VARIABLE_get();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get")]
|
||||
public static extern string SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get();
|
||||
|
||||
|
@ -7042,6 +7131,12 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_local_port_get")]
|
||||
public static extern ushort switch_t38_options_t_local_port_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_sdp_o_line_set")]
|
||||
public static extern void switch_t38_options_t_sdp_o_line_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_sdp_o_line_get")]
|
||||
public static extern string switch_t38_options_t_sdp_o_line_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_t38_options_t")]
|
||||
public static extern IntPtr new_switch_t38_options_t();
|
||||
|
||||
|
@ -7423,6 +7518,9 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_regex_set_var_callback")]
|
||||
public static extern void switch_regex_set_var_callback(string jarg1, string jarg2, HandleRef jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_regex_set_event_header_callback")]
|
||||
public static extern void switch_regex_set_event_header_callback(string jarg1, string jarg2, HandleRef jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_CORE_THREAD_SESSION_OBJS_get")]
|
||||
public static extern int SWITCH_MAX_CORE_THREAD_SESSION_OBJS_get();
|
||||
|
||||
|
@ -7810,6 +7908,9 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_perform_new_memory_pool")]
|
||||
public static extern int switch_core_perform_new_memory_pool(HandleRef jarg1, string jarg2, string jarg3, int jarg4);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_sync_clock")]
|
||||
public static extern int switch_core_session_sync_clock();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_perform_destroy_memory_pool")]
|
||||
public static extern int switch_core_perform_destroy_memory_pool(HandleRef jarg1, string jarg2, string jarg3, int jarg4);
|
||||
|
||||
|
@ -8554,6 +8655,9 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_chat_send")]
|
||||
public static extern int switch_core_chat_send(string jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_chat_deliver")]
|
||||
public static extern int switch_core_chat_deliver(string jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_preprocess_session")]
|
||||
public static extern int switch_ivr_preprocess_session(HandleRef jarg1, string jarg2);
|
||||
|
||||
|
@ -8755,6 +8859,12 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_application_interface_get")]
|
||||
public static extern IntPtr switch_loadable_module_interface_application_interface_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_chat_application_interface_set")]
|
||||
public static extern void switch_loadable_module_interface_chat_application_interface_set(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_chat_application_interface_get")]
|
||||
public static extern IntPtr switch_loadable_module_interface_chat_application_interface_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_api_interface_set")]
|
||||
public static extern void switch_loadable_module_interface_api_interface_set(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
|
@ -8863,6 +8973,12 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_application_interface")]
|
||||
public static extern IntPtr switch_loadable_module_get_application_interface(string jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_chat_application_interface")]
|
||||
public static extern IntPtr switch_loadable_module_get_chat_application_interface(string jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_execute_chat_app")]
|
||||
public static extern int switch_core_execute_chat_app(HandleRef jarg1, string jarg2, string jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_api_interface")]
|
||||
public static extern IntPtr switch_loadable_module_get_api_interface(string jarg1);
|
||||
|
||||
|
@ -9139,6 +9255,9 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_clean_name_string")]
|
||||
public static extern string switch_clean_name_string(string jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_safe_atoi")]
|
||||
public static extern int switch_safe_atoi(string jarg1, int jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_safe_strdup")]
|
||||
public static extern string switch_safe_strdup(string jarg1);
|
||||
|
||||
|
@ -9271,6 +9390,9 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_split_user_domain")]
|
||||
public static extern int switch_split_user_domain(string jarg1, ref string jarg2, ref string jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_uuid_str")]
|
||||
public static extern string switch_uuid_str(string jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_profile_node_t_var_set")]
|
||||
public static extern void profile_node_t_var_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
|
@ -9505,6 +9627,24 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_soft_get")]
|
||||
public static extern IntPtr switch_caller_profile_soft_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_uuid_str_set")]
|
||||
public static extern void switch_caller_profile_uuid_str_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_uuid_str_get")]
|
||||
public static extern string switch_caller_profile_uuid_str_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_clone_of_set")]
|
||||
public static extern void switch_caller_profile_clone_of_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_clone_of_get")]
|
||||
public static extern string switch_caller_profile_clone_of_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_transfer_source_set")]
|
||||
public static extern void switch_caller_profile_transfer_source_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_transfer_source_get")]
|
||||
public static extern string switch_caller_profile_transfer_source_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_caller_profile")]
|
||||
public static extern IntPtr new_switch_caller_profile();
|
||||
|
||||
|
@ -11632,6 +11772,78 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_delete_switch_application_interface")]
|
||||
public static extern void delete_switch_application_interface(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_interface_name_set")]
|
||||
public static extern void switch_chat_application_interface_interface_name_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_interface_name_get")]
|
||||
public static extern string switch_chat_application_interface_interface_name_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_chat_application_function_set")]
|
||||
public static extern void switch_chat_application_interface_chat_application_function_set(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_chat_application_function_get")]
|
||||
public static extern IntPtr switch_chat_application_interface_chat_application_function_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_long_desc_set")]
|
||||
public static extern void switch_chat_application_interface_long_desc_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_long_desc_get")]
|
||||
public static extern string switch_chat_application_interface_long_desc_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_short_desc_set")]
|
||||
public static extern void switch_chat_application_interface_short_desc_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_short_desc_get")]
|
||||
public static extern string switch_chat_application_interface_short_desc_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_syntax_set")]
|
||||
public static extern void switch_chat_application_interface_syntax_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_syntax_get")]
|
||||
public static extern string switch_chat_application_interface_syntax_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_flags_set")]
|
||||
public static extern void switch_chat_application_interface_flags_set(HandleRef jarg1, uint jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_flags_get")]
|
||||
public static extern uint switch_chat_application_interface_flags_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_rwlock_set")]
|
||||
public static extern void switch_chat_application_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_rwlock_get")]
|
||||
public static extern IntPtr switch_chat_application_interface_rwlock_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_refs_set")]
|
||||
public static extern void switch_chat_application_interface_refs_set(HandleRef jarg1, int jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_refs_get")]
|
||||
public static extern int switch_chat_application_interface_refs_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_reflock_set")]
|
||||
public static extern void switch_chat_application_interface_reflock_set(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_reflock_get")]
|
||||
public static extern IntPtr switch_chat_application_interface_reflock_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_parent_set")]
|
||||
public static extern void switch_chat_application_interface_parent_set(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_parent_get")]
|
||||
public static extern IntPtr switch_chat_application_interface_parent_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_next_set")]
|
||||
public static extern void switch_chat_application_interface_next_set(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_next_get")]
|
||||
public static extern IntPtr switch_chat_application_interface_next_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_chat_application_interface")]
|
||||
public static extern IntPtr new_switch_chat_application_interface();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_delete_switch_chat_application_interface")]
|
||||
public static extern void delete_switch_chat_application_interface(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_interface_name_set")]
|
||||
public static extern void switch_api_interface_interface_name_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
|
@ -12358,6 +12570,9 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_event_get_header_idx")]
|
||||
public static extern string switch_event_get_header_idx(HandleRef jarg1, string jarg2, int jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_event_rename_header")]
|
||||
public static extern int switch_event_rename_header(HandleRef jarg1, string jarg2, string jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_event_get_body")]
|
||||
public static extern string switch_event_get_body(HandleRef jarg1);
|
||||
|
||||
|
@ -12382,6 +12597,9 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_event_merge")]
|
||||
public static extern void switch_event_merge(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_event_dup_reply")]
|
||||
public static extern int switch_event_dup_reply(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_event_fire_detailed")]
|
||||
public static extern int switch_event_fire_detailed(string jarg1, string jarg2, int jarg3, HandleRef jarg4, HandleRef jarg5);
|
||||
|
||||
|
@ -12427,6 +12645,9 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_event_running")]
|
||||
public static extern int switch_event_running();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_event_set_body")]
|
||||
public static extern int switch_event_set_body(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_event_expand_headers")]
|
||||
public static extern string switch_event_expand_headers(HandleRef jarg1, string jarg2);
|
||||
|
||||
|
@ -12964,6 +13185,9 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_uuid_exists")]
|
||||
public static extern int switch_ivr_uuid_exists(string jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_get_name")]
|
||||
public static extern string switch_ivr_dmachine_get_name(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_set_match_callback")]
|
||||
public static extern void switch_ivr_dmachine_set_match_callback(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
|
@ -13018,6 +13242,12 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_insert_file")]
|
||||
public static extern int switch_ivr_insert_file(HandleRef jarg1, string jarg2, string jarg3, HandleRef jarg4);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_create_message_reply")]
|
||||
public static extern int switch_ivr_create_message_reply(HandleRef jarg1, HandleRef jarg2, string jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_check_presence_mapping")]
|
||||
public static extern string switch_ivr_check_presence_mapping(string jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_RTP_MAX_BUF_LEN_get")]
|
||||
public static extern int SWITCH_RTP_MAX_BUF_LEN_get();
|
||||
|
||||
|
@ -14107,6 +14337,12 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_config_next_pair")]
|
||||
public static extern int switch_config_next_pair(HandleRef jarg1, ref string jarg2, ref string jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_setGlobalVariable")]
|
||||
public static extern void setGlobalVariable(string jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_getGlobalVariable")]
|
||||
public static extern string getGlobalVariable(string jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_consoleLog")]
|
||||
public static extern void consoleLog(string jarg1, string jarg2);
|
||||
|
||||
|
@ -14233,6 +14469,12 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_delete_Event")]
|
||||
public static extern void delete_Event(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_Event_chat_execute")]
|
||||
public static extern int Event_chat_execute(HandleRef jarg1, string jarg2, string jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_Event_chat_send")]
|
||||
public static extern int Event_chat_send(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_Event_Serialize")]
|
||||
public static extern string Event_Serialize(HandleRef jarg1, string jarg2);
|
||||
|
||||
|
@ -16549,6 +16791,36 @@ namespace FreeSWITCH.Native {
|
|||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t(IntPtr cPtr, bool futureUse) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
protected SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t() {
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
}
|
||||
|
||||
internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t obj) {
|
||||
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.1
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
namespace FreeSWITCH.Native {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class SWIGTYPE_p_f_p_switch_event__switch_status_t {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
|
@ -22247,6 +22519,36 @@ public class switch_caller_profile : IDisposable {
|
|||
}
|
||||
}
|
||||
|
||||
public string uuid_str {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_caller_profile_uuid_str_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
string ret = freeswitchPINVOKE.switch_caller_profile_uuid_str_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public string clone_of {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_caller_profile_clone_of_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
string ret = freeswitchPINVOKE.switch_caller_profile_clone_of_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public string transfer_source {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_caller_profile_transfer_source_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
string ret = freeswitchPINVOKE.switch_caller_profile_transfer_source_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public switch_caller_profile() : this(freeswitchPINVOKE.new_switch_caller_profile(), true) {
|
||||
}
|
||||
|
||||
|
@ -22379,7 +22681,8 @@ public enum switch_channel_app_flag_t {
|
|||
CF_APP_TAGGED = (1 << 0),
|
||||
CF_APP_T38 = (1 << 1),
|
||||
CF_APP_T38_REQ = (1 << 2),
|
||||
CF_APP_T38_FAIL = (1 << 3)
|
||||
CF_APP_T38_FAIL = (1 << 3),
|
||||
CF_APP_T38_NEGOTIATED = (1 << 4)
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -22734,6 +23037,185 @@ public class switch_channel_timetable : IDisposable {
|
|||
|
||||
namespace FreeSWITCH.Native {
|
||||
|
||||
public enum switch_chat_application_flag_enum_t {
|
||||
SCAF_NONE = 0
|
||||
}
|
||||
|
||||
}
|
||||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.1
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
namespace FreeSWITCH.Native {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class switch_chat_application_interface : IDisposable {
|
||||
private HandleRef swigCPtr;
|
||||
protected bool swigCMemOwn;
|
||||
|
||||
internal switch_chat_application_interface(IntPtr cPtr, bool cMemoryOwn) {
|
||||
swigCMemOwn = cMemoryOwn;
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
internal static HandleRef getCPtr(switch_chat_application_interface obj) {
|
||||
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
|
||||
}
|
||||
|
||||
~switch_chat_application_interface() {
|
||||
Dispose();
|
||||
}
|
||||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
freeswitchPINVOKE.delete_switch_chat_application_interface(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
}
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public string interface_name {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_chat_application_interface_interface_name_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
string ret = freeswitchPINVOKE.switch_chat_application_interface_interface_name_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t chat_application_function {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_chat_application_interface_chat_application_function_set(swigCPtr, SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t.getCPtr(value));
|
||||
}
|
||||
get {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_chat_application_interface_chat_application_function_get(swigCPtr);
|
||||
SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public string long_desc {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_chat_application_interface_long_desc_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
string ret = freeswitchPINVOKE.switch_chat_application_interface_long_desc_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public string short_desc {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_chat_application_interface_short_desc_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
string ret = freeswitchPINVOKE.switch_chat_application_interface_short_desc_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public string syntax {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_chat_application_interface_syntax_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
string ret = freeswitchPINVOKE.switch_chat_application_interface_syntax_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public uint flags {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_chat_application_interface_flags_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
uint ret = freeswitchPINVOKE.switch_chat_application_interface_flags_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public SWIGTYPE_p_switch_thread_rwlock_t rwlock {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_chat_application_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value));
|
||||
}
|
||||
get {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_chat_application_interface_rwlock_get(swigCPtr);
|
||||
SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public int refs {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_chat_application_interface_refs_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
int ret = freeswitchPINVOKE.switch_chat_application_interface_refs_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public SWIGTYPE_p_switch_mutex_t reflock {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_chat_application_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value));
|
||||
}
|
||||
get {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_chat_application_interface_reflock_get(swigCPtr);
|
||||
SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public switch_loadable_module_interface parent {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_chat_application_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value));
|
||||
}
|
||||
get {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_chat_application_interface_parent_get(swigCPtr);
|
||||
switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public switch_chat_application_interface next {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_chat_application_interface_next_set(swigCPtr, switch_chat_application_interface.getCPtr(value));
|
||||
}
|
||||
get {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_chat_application_interface_next_get(swigCPtr);
|
||||
switch_chat_application_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_chat_application_interface(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public switch_chat_application_interface() : this(freeswitchPINVOKE.new_switch_chat_application_interface(), true) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.1
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
namespace FreeSWITCH.Native {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
|
@ -23922,7 +24404,9 @@ namespace FreeSWITCH.Native {
|
|||
SCF_MINIMAL = (1 << 14),
|
||||
SCF_USE_NAT_MAPPING = (1 << 15),
|
||||
SCF_CLEAR_SQL = (1 << 16),
|
||||
SCF_THREADED_SYSTEM_EXEC = (1 << 17)
|
||||
SCF_THREADED_SYSTEM_EXEC = (1 << 17),
|
||||
SCF_SYNC_CLOCK_REQUESTED = (1 << 18),
|
||||
SCF_CORE_ODBC_REQ = (1 << 19)
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -25525,7 +26009,8 @@ public class switch_event : IDisposable {
|
|||
namespace FreeSWITCH.Native {
|
||||
|
||||
public enum switch_event_flag_t {
|
||||
EF_UNIQ_HEADERS = (1 << 0)
|
||||
EF_UNIQ_HEADERS = (1 << 0),
|
||||
EF_NO_CHAT_EXEC = (1 << 1)
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -28699,6 +29184,17 @@ public class switch_loadable_module_interface : IDisposable {
|
|||
}
|
||||
}
|
||||
|
||||
public switch_chat_application_interface chat_application_interface {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_loadable_module_interface_chat_application_interface_set(swigCPtr, switch_chat_application_interface.getCPtr(value));
|
||||
}
|
||||
get {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_chat_application_interface_get(swigCPtr);
|
||||
switch_chat_application_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_chat_application_interface(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public switch_api_interface api_interface {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_loadable_module_interface_api_interface_set(swigCPtr, switch_api_interface.getCPtr(value));
|
||||
|
@ -29240,7 +29736,8 @@ public enum switch_module_interface_name_t {
|
|||
SWITCH_SAY_INTERFACE,
|
||||
SWITCH_ASR_INTERFACE,
|
||||
SWITCH_MANAGEMENT_INTERFACE,
|
||||
SWITCH_LIMIT_INTERFACE
|
||||
SWITCH_LIMIT_INTERFACE,
|
||||
SWITCH_CHAT_APPLICATION_INTERFACE
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -29502,7 +29999,8 @@ public enum switch_rtp_bug_flag_t {
|
|||
RTP_BUG_START_SEQ_AT_ZERO = (1 << 4),
|
||||
RTP_BUG_NEVER_SEND_MARKER = (1 << 5),
|
||||
RTP_BUG_IGNORE_DTMF_DURATION = (1 << 6),
|
||||
RTP_BUG_ACCEPT_ANY_PACKETS = (1 << 7)
|
||||
RTP_BUG_ACCEPT_ANY_PACKETS = (1 << 7),
|
||||
RTP_BUG_GEN_ONE_GEN_ALL = (1 << 8)
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -30555,7 +31053,8 @@ public enum switch_session_ctl_t {
|
|||
SCSC_SHUTDOWN_CHECK,
|
||||
SCSC_PAUSE_CHECK,
|
||||
SCSC_READY_CHECK,
|
||||
SCSC_THREADED_SYSTEM_EXEC
|
||||
SCSC_THREADED_SYSTEM_EXEC,
|
||||
SCSC_SYNC_CLOCK_WHEN_IDLE
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -31753,6 +32252,16 @@ public class switch_t38_options_t : IDisposable {
|
|||
}
|
||||
}
|
||||
|
||||
public string sdp_o_line {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_t38_options_t_sdp_o_line_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
string ret = freeswitchPINVOKE.switch_t38_options_t_sdp_o_line_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public switch_t38_options_t() : this(freeswitchPINVOKE.new_switch_t38_options_t(), true) {
|
||||
}
|
||||
|
||||
|
@ -32626,6 +33135,7 @@ namespace FreeSWITCH.Native {
|
|||
SWITCH_XML_SECTION_DIRECTORY = (1 << 1),
|
||||
SWITCH_XML_SECTION_DIALPLAN = (1 << 2),
|
||||
SWITCH_XML_SECTION_PHRASES = (1 << 3),
|
||||
SWITCH_XML_SECTION_CHATPLAN = (1 << 4),
|
||||
SWITCH_XML_SECTION_MAX = (1 << 4)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue