]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
VS2010 Swig
authorJeff Lenk <jeff@jefflenk.com>
Sat, 6 Nov 2010 02:15:03 +0000 (21:15 -0500)
committerJeff Lenk <jeff@jefflenk.com>
Sat, 6 Nov 2010 02:15:03 +0000 (21:15 -0500)
src/mod/languages/mod_managed/freeswitch_wrap.2010.cxx
src/mod/languages/mod_managed/managed/swig.2010.cs

index 5a2a757e57771622e9b67c9eeb990f198fae24b0..c55a6d63edd3c2f14e4e90431ba17f05a30fb1f5 100644 (file)
@@ -12702,11 +12702,11 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_dow_cmp(char * jarg1, int jarg2) {
   int jresult ;\r
   char *arg1 = (char *) 0 ;\r
   int arg2 ;\r
-  int result;\r
+  switch_bool_t result;\r
   \r
   arg1 = (char *)jarg1; \r
   arg2 = (int)jarg2; \r
-  result = (int)switch_dow_cmp((char const *)arg1,arg2);\r
+  result = (switch_bool_t)switch_dow_cmp((char const *)arg1,arg2);\r
   jresult = result; \r
   return jresult;\r
 }\r
@@ -15311,6 +15311,28 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_write_video_frame_get(vo
 }\r
 \r
 \r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_state_run_set(void * jarg1, void * jarg2) {\r
+  switch_io_routines *arg1 = (switch_io_routines *) 0 ;\r
+  switch_io_state_run_t arg2 = (switch_io_state_run_t) 0 ;\r
+  \r
+  arg1 = (switch_io_routines *)jarg1; \r
+  arg2 = (switch_io_state_run_t)jarg2; \r
+  if (arg1) (arg1)->state_run = arg2;\r
+}\r
+\r
+\r
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_state_run_get(void * jarg1) {\r
+  void * jresult ;\r
+  switch_io_routines *arg1 = (switch_io_routines *) 0 ;\r
+  switch_io_state_run_t result;\r
+  \r
+  arg1 = (switch_io_routines *)jarg1; \r
+  result = (switch_io_state_run_t) ((arg1)->state_run);\r
+  jresult = (void *)result; \r
+  return jresult;\r
+}\r
+\r
+\r
 SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_resurrect_session_set(void * jarg1, void * jarg2) {\r
   switch_io_routines *arg1 = (switch_io_routines *) 0 ;\r
   switch_io_resurrect_session_t arg2 = (switch_io_resurrect_session_t) 0 ;\r
@@ -27235,15 +27257,17 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_sound_test(void * jarg1) {
 }\r
 \r
 \r
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_process_import(void * jarg1, void * jarg2, char * jarg3) {\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_process_import(void * jarg1, void * jarg2, char * jarg3, char * jarg4) {\r
   switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
   switch_channel_t *arg2 = (switch_channel_t *) 0 ;\r
   char *arg3 = (char *) 0 ;\r
+  char *arg4 = (char *) 0 ;\r
   \r
   arg1 = (switch_core_session_t *)jarg1; \r
   arg2 = (switch_channel_t *)jarg2; \r
   arg3 = (char *)jarg3; \r
-  switch_process_import(arg1,arg2,(char const *)arg3);\r
+  arg4 = (char *)jarg4; \r
+  switch_process_import(arg1,arg2,(char const *)arg3,(char const *)arg4);\r
 }\r
 \r
 \r
@@ -27259,6 +27283,26 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_uuid_exists(char * jarg1) {
 }\r
 \r
 \r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_set_match_callback(void * jarg1, void * jarg2) {\r
+  switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ;\r
+  switch_ivr_dmachine_callback_t arg2 = (switch_ivr_dmachine_callback_t) 0 ;\r
+  \r
+  arg1 = (switch_ivr_dmachine_t *)jarg1; \r
+  arg2 = (switch_ivr_dmachine_callback_t)jarg2; \r
+  switch_ivr_dmachine_set_match_callback(arg1,arg2);\r
+}\r
+\r
+\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_set_nonmatch_callback(void * jarg1, void * jarg2) {\r
+  switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ;\r
+  switch_ivr_dmachine_callback_t arg2 = (switch_ivr_dmachine_callback_t) 0 ;\r
+  \r
+  arg1 = (switch_ivr_dmachine_t *)jarg1; \r
+  arg2 = (switch_ivr_dmachine_callback_t)jarg2; \r
+  switch_ivr_dmachine_set_nonmatch_callback(arg1,arg2);\r
+}\r
+\r
+\r
 SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_create(void * jarg1, char * jarg2, void * jarg3, unsigned long jarg4, unsigned long jarg5, void * jarg6, void * jarg7, void * jarg8) {\r
   int jresult ;\r
   switch_ivr_dmachine_t **arg1 = (switch_ivr_dmachine_t **) 0 ;\r
@@ -30494,6 +30538,68 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_state_change(void
 }\r
 \r
 \r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_state_run_state_run_set(void * jarg1, void * jarg2) {\r
+  switch_io_event_hook_state_run *arg1 = (switch_io_event_hook_state_run *) 0 ;\r
+  switch_state_run_hook_t arg2 = (switch_state_run_hook_t) 0 ;\r
+  \r
+  arg1 = (switch_io_event_hook_state_run *)jarg1; \r
+  arg2 = (switch_state_run_hook_t)jarg2; \r
+  if (arg1) (arg1)->state_run = arg2;\r
+}\r
+\r
+\r
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_state_run_state_run_get(void * jarg1) {\r
+  void * jresult ;\r
+  switch_io_event_hook_state_run *arg1 = (switch_io_event_hook_state_run *) 0 ;\r
+  switch_state_run_hook_t result;\r
+  \r
+  arg1 = (switch_io_event_hook_state_run *)jarg1; \r
+  result = (switch_state_run_hook_t) ((arg1)->state_run);\r
+  jresult = (void *)result; \r
+  return jresult;\r
+}\r
+\r
+\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_state_run_next_set(void * jarg1, void * jarg2) {\r
+  switch_io_event_hook_state_run *arg1 = (switch_io_event_hook_state_run *) 0 ;\r
+  switch_io_event_hook_state_run *arg2 = (switch_io_event_hook_state_run *) 0 ;\r
+  \r
+  arg1 = (switch_io_event_hook_state_run *)jarg1; \r
+  arg2 = (switch_io_event_hook_state_run *)jarg2; \r
+  if (arg1) (arg1)->next = arg2;\r
+}\r
+\r
+\r
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_state_run_next_get(void * jarg1) {\r
+  void * jresult ;\r
+  switch_io_event_hook_state_run *arg1 = (switch_io_event_hook_state_run *) 0 ;\r
+  switch_io_event_hook_state_run *result = 0 ;\r
+  \r
+  arg1 = (switch_io_event_hook_state_run *)jarg1; \r
+  result = (switch_io_event_hook_state_run *) ((arg1)->next);\r
+  jresult = (void *)result; \r
+  return jresult;\r
+}\r
+\r
+\r
+SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_state_run() {\r
+  void * jresult ;\r
+  switch_io_event_hook_state_run *result = 0 ;\r
+  \r
+  result = (switch_io_event_hook_state_run *)new switch_io_event_hook_state_run();\r
+  jresult = (void *)result; \r
+  return jresult;\r
+}\r
+\r
+\r
+SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_state_run(void * jarg1) {\r
+  switch_io_event_hook_state_run *arg1 = (switch_io_event_hook_state_run *) 0 ;\r
+  \r
+  arg1 = (switch_io_event_hook_state_run *)jarg1; \r
+  delete arg1;\r
+}\r
+\r
+\r
 SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_resurrect_session_resurrect_session_set(void * jarg1, void * jarg2) {\r
   switch_io_event_hook_resurrect_session *arg1 = (switch_io_event_hook_resurrect_session *) 0 ;\r
   switch_resurrect_session_hook_t arg2 = (switch_resurrect_session_hook_t) 0 ;\r
@@ -30798,6 +30904,28 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_state_change_get(void
 }\r
 \r
 \r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_state_run_set(void * jarg1, void * jarg2) {\r
+  switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ;\r
+  switch_io_event_hook_state_run_t *arg2 = (switch_io_event_hook_state_run_t *) 0 ;\r
+  \r
+  arg1 = (switch_io_event_hooks *)jarg1; \r
+  arg2 = (switch_io_event_hook_state_run_t *)jarg2; \r
+  if (arg1) (arg1)->state_run = arg2;\r
+}\r
+\r
+\r
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_state_run_get(void * jarg1) {\r
+  void * jresult ;\r
+  switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ;\r
+  switch_io_event_hook_state_run_t *result = 0 ;\r
+  \r
+  arg1 = (switch_io_event_hooks *)jarg1; \r
+  result = (switch_io_event_hook_state_run_t *) ((arg1)->state_run);\r
+  jresult = (void *)result; \r
+  return jresult;\r
+}\r
+\r
+\r
 SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_resurrect_session_set(void * jarg1, void * jarg2) {\r
   switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ;\r
   switch_io_event_hook_resurrect_session_t *arg2 = (switch_io_event_hook_resurrect_session_t *) 0 ;\r
@@ -30894,6 +31022,20 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_state_change(void *
 }\r
 \r
 \r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_state_run(void * jarg1, void * jarg2) {\r
+  int jresult ;\r
+  switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
+  switch_state_run_hook_t arg2 = (switch_state_run_hook_t) 0 ;\r
+  switch_status_t result;\r
+  \r
+  arg1 = (switch_core_session_t *)jarg1; \r
+  arg2 = (switch_state_run_hook_t)jarg2; \r
+  result = (switch_status_t)switch_core_event_hook_add_state_run(arg1,arg2);\r
+  jresult = result; \r
+  return jresult;\r
+}\r
+\r
+\r
 SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_read_frame(void * jarg1, void * jarg2) {\r
   int jresult ;\r
   switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
@@ -31062,6 +31204,20 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_state_change(voi
 }\r
 \r
 \r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_state_run(void * jarg1, void * jarg2) {\r
+  int jresult ;\r
+  switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
+  switch_state_run_hook_t arg2 = (switch_state_run_hook_t) 0 ;\r
+  switch_status_t result;\r
+  \r
+  arg1 = (switch_core_session_t *)jarg1; \r
+  arg2 = (switch_state_run_hook_t)jarg2; \r
+  result = (switch_status_t)switch_core_event_hook_remove_state_run(arg1,arg2);\r
+  jresult = result; \r
+  return jresult;\r
+}\r
+\r
+\r
 SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_read_frame(void * jarg1, void * jarg2) {\r
   int jresult ;\r
   switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
index 682b3bd0c5f778f0c8847a2821eabe5b36617510..8c307fc679d1f0800db4a3260ab286cc7dba5414 100644 (file)
@@ -2994,8 +2994,8 @@ public class freeswitch {
     return ret;\r
   }\r
 \r
-  public static int switch_dow_cmp(string exp, int val) {\r
-    int ret = freeswitchPINVOKE.switch_dow_cmp(exp, val);\r
+  public static switch_bool_t switch_dow_cmp(string exp, int val) {\r
+    switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_dow_cmp(exp, val);\r
     return ret;\r
   }\r
 \r
@@ -4384,8 +4384,8 @@ public class freeswitch {
     return ret;\r
   }\r
 \r
-  public static void switch_process_import(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_switch_channel peer_channel, string varname) {\r
-    freeswitchPINVOKE.switch_process_import(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_switch_channel.getCPtr(peer_channel), varname);\r
+  public static void switch_process_import(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_switch_channel peer_channel, string varname, string prefix) {\r
+    freeswitchPINVOKE.switch_process_import(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_switch_channel.getCPtr(peer_channel), varname, prefix);\r
   }\r
 \r
   public static switch_bool_t switch_ivr_uuid_exists(string uuid) {\r
@@ -4393,6 +4393,14 @@ public class freeswitch {
     return ret;\r
   }\r
 \r
+  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) {\r
+    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));\r
+  }\r
+\r
+  public static void switch_ivr_dmachine_set_nonmatch_callback(SWIGTYPE_p_switch_ivr_dmachine dmachine, SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t nonmatch_callback) {\r
+    freeswitchPINVOKE.switch_ivr_dmachine_set_nonmatch_callback(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine), SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t.getCPtr(nonmatch_callback));\r
+  }\r
+\r
   public static switch_status_t switch_ivr_dmachine_create(SWIGTYPE_p_p_switch_ivr_dmachine dmachine_p, string name, SWIGTYPE_p_apr_pool_t pool, uint digit_timeout, uint input_timeout, SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t match_callback, SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t nonmatch_callback, SWIGTYPE_p_void user_data) {\r
     switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_dmachine_create(SWIGTYPE_p_p_switch_ivr_dmachine.getCPtr(dmachine_p), name, SWIGTYPE_p_apr_pool_t.getCPtr(pool), digit_timeout, input_timeout, SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t.getCPtr(match_callback), SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t.getCPtr(nonmatch_callback), SWIGTYPE_p_void.getCPtr(user_data));\r
     return ret;\r
@@ -5048,6 +5056,11 @@ public class freeswitch {
     return ret;\r
   }\r
 \r
+  public static switch_status_t switch_core_event_hook_add_state_run(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session__switch_status_t state_run) {\r
+    switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_state_run(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(state_run));\r
+    return ret;\r
+  }\r
+\r
   public static switch_status_t switch_core_event_hook_add_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t read_frame) {\r
     switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(read_frame));\r
     return ret;\r
@@ -5108,6 +5121,11 @@ public class freeswitch {
     return ret;\r
   }\r
 \r
+  public static switch_status_t switch_core_event_hook_remove_state_run(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session__switch_status_t state_run) {\r
+    switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_state_run(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(state_run));\r
+    return ret;\r
+  }\r
+\r
   public static switch_status_t switch_core_event_hook_remove_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t read_frame) {\r
     switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(read_frame));\r
     return ret;\r
@@ -9278,6 +9296,12 @@ class freeswitchPINVOKE {
   [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_write_video_frame_get")]\r
   public static extern IntPtr switch_io_routines_write_video_frame_get(HandleRef jarg1);\r
 \r
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_state_run_set")]\r
+  public static extern void switch_io_routines_state_run_set(HandleRef jarg1, HandleRef jarg2);\r
+\r
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_state_run_get")]\r
+  public static extern IntPtr switch_io_routines_state_run_get(HandleRef jarg1);\r
+\r
   [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_resurrect_session_set")]\r
   public static extern void switch_io_routines_resurrect_session_set(HandleRef jarg1, HandleRef jarg2);\r
 \r
@@ -12135,11 +12159,17 @@ class freeswitchPINVOKE {
   public static extern int switch_ivr_sound_test(HandleRef jarg1);\r
 \r
   [DllImport("mod_managed", EntryPoint="CSharp_switch_process_import")]\r
-  public static extern void switch_process_import(HandleRef jarg1, HandleRef jarg2, string jarg3);\r
+  public static extern void switch_process_import(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4);\r
 \r
   [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_uuid_exists")]\r
   public static extern int switch_ivr_uuid_exists(string jarg1);\r
 \r
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_set_match_callback")]\r
+  public static extern void switch_ivr_dmachine_set_match_callback(HandleRef jarg1, HandleRef jarg2);\r
+\r
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_set_nonmatch_callback")]\r
+  public static extern void switch_ivr_dmachine_set_nonmatch_callback(HandleRef jarg1, HandleRef jarg2);\r
+\r
   [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_create")]\r
   public static extern int switch_ivr_dmachine_create(HandleRef jarg1, string jarg2, HandleRef jarg3, uint jarg4, uint jarg5, HandleRef jarg6, HandleRef jarg7, HandleRef jarg8);\r
 \r
@@ -12911,6 +12941,24 @@ class freeswitchPINVOKE {
   [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_state_change")]\r
   public static extern void delete_switch_io_event_hook_state_change(HandleRef jarg1);\r
 \r
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_state_run_state_run_set")]\r
+  public static extern void switch_io_event_hook_state_run_state_run_set(HandleRef jarg1, HandleRef jarg2);\r
+\r
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_state_run_state_run_get")]\r
+  public static extern IntPtr switch_io_event_hook_state_run_state_run_get(HandleRef jarg1);\r
+\r
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_state_run_next_set")]\r
+  public static extern void switch_io_event_hook_state_run_next_set(HandleRef jarg1, HandleRef jarg2);\r
+\r
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_state_run_next_get")]\r
+  public static extern IntPtr switch_io_event_hook_state_run_next_get(HandleRef jarg1);\r
+\r
+  [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_state_run")]\r
+  public static extern IntPtr new_switch_io_event_hook_state_run();\r
+\r
+  [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_state_run")]\r
+  public static extern void delete_switch_io_event_hook_state_run(HandleRef jarg1);\r
+\r
   [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_resurrect_session_resurrect_session_set")]\r
   public static extern void switch_io_event_hook_resurrect_session_resurrect_session_set(HandleRef jarg1, HandleRef jarg2);\r
 \r
@@ -12995,6 +13043,12 @@ class freeswitchPINVOKE {
   [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_state_change_get")]\r
   public static extern IntPtr switch_io_event_hooks_state_change_get(HandleRef jarg1);\r
 \r
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_state_run_set")]\r
+  public static extern void switch_io_event_hooks_state_run_set(HandleRef jarg1, HandleRef jarg2);\r
+\r
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_state_run_get")]\r
+  public static extern IntPtr switch_io_event_hooks_state_run_get(HandleRef jarg1);\r
+\r
   [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_resurrect_session_set")]\r
   public static extern void switch_io_event_hooks_resurrect_session_set(HandleRef jarg1, HandleRef jarg2);\r
 \r
@@ -13019,6 +13073,9 @@ class freeswitchPINVOKE {
   [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_state_change")]\r
   public static extern int switch_core_event_hook_add_state_change(HandleRef jarg1, HandleRef jarg2);\r
 \r
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_state_run")]\r
+  public static extern int switch_core_event_hook_add_state_run(HandleRef jarg1, HandleRef jarg2);\r
+\r
   [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_read_frame")]\r
   public static extern int switch_core_event_hook_add_read_frame(HandleRef jarg1, HandleRef jarg2);\r
 \r
@@ -13055,6 +13112,9 @@ class freeswitchPINVOKE {
   [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_state_change")]\r
   public static extern int switch_core_event_hook_remove_state_change(HandleRef jarg1, HandleRef jarg2);\r
 \r
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_state_run")]\r
+  public static extern int switch_core_event_hook_remove_state_run(HandleRef jarg1, HandleRef jarg2);\r
+\r
   [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_read_frame")]\r
   public static extern int switch_core_event_hook_remove_read_frame(HandleRef jarg1, HandleRef jarg2);\r
 \r
@@ -21253,6 +21313,7 @@ public enum switch_channel_flag_t {
   CF_CONSUME_ON_ORIGINATE,\r
   CF_PASSTHRU_PTIME_MISMATCH,\r
   CF_BRIDGE_NOWRITE,\r
+  CF_RECOVERED,\r
   CF_FLAG_MAX\r
 }\r
 \r
@@ -24404,7 +24465,8 @@ namespace FreeSWITCH.Native {
   SWITCH_FILE_CALLBACK = (1 << 12),\r
   SWITCH_FILE_DONE = (1 << 13),\r
   SWITCH_FILE_BUFFER_DONE = (1 << 14),\r
-  SWITCH_FILE_WRITE_APPEND = (1 << 15)\r
+  SWITCH_FILE_WRITE_APPEND = (1 << 15),\r
+  SWITCH_FILE_WRITE_OVER = (1 << 16)\r
 }\r
 \r
 }\r
@@ -25611,6 +25673,17 @@ public class switch_io_event_hooks : IDisposable {
     } \r
   }\r
 \r
+  public switch_io_event_hook_state_run state_run {\r
+    set {\r
+      freeswitchPINVOKE.switch_io_event_hooks_state_run_set(swigCPtr, switch_io_event_hook_state_run.getCPtr(value));\r
+    } \r
+    get {\r
+      IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_state_run_get(swigCPtr);\r
+      switch_io_event_hook_state_run ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_state_run(cPtr, false);\r
+      return ret;\r
+    } \r
+  }\r
+\r
   public switch_io_event_hook_resurrect_session resurrect_session {\r
     set {\r
       freeswitchPINVOKE.switch_io_event_hooks_resurrect_session_set(swigCPtr, switch_io_event_hook_resurrect_session.getCPtr(value));\r
@@ -26280,6 +26353,77 @@ namespace FreeSWITCH.Native {
 using System;\r
 using System.Runtime.InteropServices;\r
 \r
+public class switch_io_event_hook_state_run : IDisposable {\r
+  private HandleRef swigCPtr;\r
+  protected bool swigCMemOwn;\r
+\r
+  internal switch_io_event_hook_state_run(IntPtr cPtr, bool cMemoryOwn) {\r
+    swigCMemOwn = cMemoryOwn;\r
+    swigCPtr = new HandleRef(this, cPtr);\r
+  }\r
+\r
+  internal static HandleRef getCPtr(switch_io_event_hook_state_run obj) {\r
+    return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;\r
+  }\r
+\r
+  ~switch_io_event_hook_state_run() {\r
+    Dispose();\r
+  }\r
+\r
+  public virtual void Dispose() {\r
+    lock(this) {\r
+      if (swigCPtr.Handle != IntPtr.Zero) {\r
+        if (swigCMemOwn) {\r
+          swigCMemOwn = false;\r
+          freeswitchPINVOKE.delete_switch_io_event_hook_state_run(swigCPtr);\r
+        }\r
+        swigCPtr = new HandleRef(null, IntPtr.Zero);\r
+      }\r
+      GC.SuppressFinalize(this);\r
+    }\r
+  }\r
+\r
+  public SWIGTYPE_p_f_p_switch_core_session__switch_status_t state_run {\r
+    set {\r
+      freeswitchPINVOKE.switch_io_event_hook_state_run_state_run_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value));\r
+    } \r
+    get {\r
+      IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_state_run_state_run_get(swigCPtr);\r
+      SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false);\r
+      return ret;\r
+    } \r
+  }\r
+\r
+  public switch_io_event_hook_state_run next {\r
+    set {\r
+      freeswitchPINVOKE.switch_io_event_hook_state_run_next_set(swigCPtr, switch_io_event_hook_state_run.getCPtr(value));\r
+    } \r
+    get {\r
+      IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_state_run_next_get(swigCPtr);\r
+      switch_io_event_hook_state_run ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_state_run(cPtr, false);\r
+      return ret;\r
+    } \r
+  }\r
+\r
+  public switch_io_event_hook_state_run() : this(freeswitchPINVOKE.new_switch_io_event_hook_state_run(), true) {\r
+  }\r
+\r
+}\r
+\r
+}\r
+/* ----------------------------------------------------------------------------\r
+ * This file was automatically generated by SWIG (http://www.swig.org).\r
+ * Version 2.0.0\r
+ *\r
+ * Do not make changes to this file unless you know what you are doing--modify\r
+ * the SWIG interface file instead.\r
+ * ----------------------------------------------------------------------------- */\r
+\r
+namespace FreeSWITCH.Native {\r
+\r
+using System;\r
+using System.Runtime.InteropServices;\r
+\r
 public class switch_io_event_hook_video_read_frame : IDisposable {\r
   private HandleRef swigCPtr;\r
   protected bool swigCMemOwn;\r
@@ -26650,6 +26794,17 @@ public class switch_io_routines : IDisposable {
     } \r
   }\r
 \r
+  public SWIGTYPE_p_f_p_switch_core_session__switch_status_t state_run {\r
+    set {\r
+      freeswitchPINVOKE.switch_io_routines_state_run_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value));\r
+    } \r
+    get {\r
+      IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_state_run_get(swigCPtr);\r
+      SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false);\r
+      return ret;\r
+    } \r
+  }\r
+\r
   public SWIGTYPE_p_f_p_p_switch_core_session_p_p_apr_pool_t_p_void__switch_call_cause_t resurrect_session {\r
     set {\r
       freeswitchPINVOKE.switch_io_routines_resurrect_session_set(swigCPtr, SWIGTYPE_p_f_p_p_switch_core_session_p_p_apr_pool_t_p_void__switch_call_cause_t.getCPtr(value));\r
@@ -27720,7 +27875,8 @@ namespace FreeSWITCH.Native {
   SMBF_STEREO = (1 << 5),\r
   SMBF_ANSWER_REQ = (1 << 6),\r
   SMBF_THREAD_LOCK = (1 << 7),\r
-  SMBF_PRUNE = (1 << 8)\r
+  SMBF_PRUNE = (1 << 8),\r
+  SMBF_NO_PAUSE = (1 << 9)\r
 }\r
 \r
 }\r
@@ -29826,6 +29982,7 @@ public enum switch_status_t {
   SWITCH_STATUS_IGNORE,\r
   SWITCH_STATUS_TOO_SMALL,\r
   SWITCH_STATUS_FOUND,\r
+  SWITCH_STATUS_CONTINUE,\r
   SWITCH_STATUS_NOT_INITALIZED\r
 }\r
 \r