[Freeswitch-svn] [commit] r10107 - in freeswitch/trunk/src/mod/languages/mod_managed: . managed

Freeswitch SVN anthm at freeswitch.org
Tue Oct 21 23:13:33 EDT 2008


Author: anthm
Date: Tue Oct 21 23:13:33 2008
New Revision: 10107

Modified:
   freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx
   freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs

Log:
reswig

Modified: freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx	(original)
+++ freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx	Tue Oct 21 23:13:33 2008
@@ -905,6 +905,17 @@
 }
 
 
+SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ENABLE_HEARTBEAT_EVENTS_VARIABLE_get() {
+  char * jresult ;
+  char *result = 0 ;
+  
+  result = (char *) "enable_heartbeat_events";
+  
+  jresult = SWIG_csharp_string_callback((const char *)result); 
+  return jresult;
+}
+
+
 SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE_get() {
   char * jresult ;
   char *result = 0 ;
@@ -2169,7 +2180,7 @@
   int jresult ;
   int result;
   
-  result = (int) 32;
+  result = (int) 16;
   
   jresult = result; 
   return jresult;
@@ -4335,6 +4346,42 @@
 }
 
 
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_sched_heartbeat(void * jarg1, unsigned long jarg2) {
+  switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
+  uint32_t arg2 ;
+  
+  arg1 = (switch_core_session_t *)jarg1; 
+  arg2 = (uint32_t)jarg2; 
+  switch_core_session_sched_heartbeat(arg1,arg2);
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_unsched_heartbeat(void * jarg1) {
+  switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
+  
+  arg1 = (switch_core_session_t *)jarg1; 
+  switch_core_session_unsched_heartbeat(arg1);
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_enable_heartbeat(void * jarg1, unsigned long jarg2) {
+  switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
+  uint32_t arg2 ;
+  
+  arg1 = (switch_core_session_t *)jarg1; 
+  arg2 = (uint32_t)jarg2; 
+  switch_core_session_enable_heartbeat(arg1,arg2);
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_disable_heartbeat(void * jarg1) {
+  switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
+  
+  arg1 = (switch_core_session_t *)jarg1; 
+  switch_core_session_disable_heartbeat(arg1);
+}
+
+
 SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_add(void * jarg1, void * jarg2, void * jarg3, void * jarg4, unsigned long jarg5, void * jarg6) {
   int jresult ;
   switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
@@ -4981,6 +5028,18 @@
 }
 
 
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_id(void * jarg1) {
+  void * jresult ;
+  switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
+  switch_size_t result;
+  
+  arg1 = (switch_core_session_t *)jarg1; 
+  result = switch_core_session_get_id(arg1);
+  jresult = new switch_size_t((switch_size_t &)result); 
+  return jresult;
+}
+
+
 SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_id() {
   void * jresult ;
   switch_size_t result;
@@ -6069,6 +6128,70 @@
 }
 
 
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_unset_write_codec(void * jarg1) {
+  switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
+  
+  arg1 = (switch_core_session_t *)jarg1; 
+  switch_core_session_unset_write_codec(arg1);
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_read_impl(void * jarg1, void * jarg2) {
+  int jresult ;
+  switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
+  switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ;
+  switch_status_t result;
+  
+  arg1 = (switch_core_session_t *)jarg1; 
+  arg2 = (switch_codec_implementation_t *)jarg2; 
+  result = (switch_status_t)switch_core_session_get_read_impl(arg1,arg2);
+  jresult = result; 
+  return jresult;
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_write_impl(void * jarg1, void * jarg2) {
+  int jresult ;
+  switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
+  switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ;
+  switch_status_t result;
+  
+  arg1 = (switch_core_session_t *)jarg1; 
+  arg2 = (switch_codec_implementation_t *)jarg2; 
+  result = (switch_status_t)switch_core_session_get_write_impl(arg1,arg2);
+  jresult = result; 
+  return jresult;
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_video_read_impl(void * jarg1, void * jarg2) {
+  int jresult ;
+  switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
+  switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ;
+  switch_status_t result;
+  
+  arg1 = (switch_core_session_t *)jarg1; 
+  arg2 = (switch_codec_implementation_t *)jarg2; 
+  result = (switch_status_t)switch_core_session_get_video_read_impl(arg1,arg2);
+  jresult = result; 
+  return jresult;
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_video_write_impl(void * jarg1, void * jarg2) {
+  int jresult ;
+  switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
+  switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ;
+  switch_status_t result;
+  
+  arg1 = (switch_core_session_t *)jarg1; 
+  arg2 = (switch_codec_implementation_t *)jarg2; 
+  result = (switch_status_t)switch_core_session_get_video_write_impl(arg1,arg2);
+  jresult = result; 
+  return jresult;
+}
+
+
 SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_read_codec(void * jarg1) {
   void * jresult ;
   switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
@@ -14651,93 +14774,93 @@
 }
 
 
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_microseconds_per_frame_set(void * jarg1, int jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_microseconds_per_packet_set(void * jarg1, int jarg2) {
   switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ;
   int arg2 ;
   
   arg1 = (switch_codec_implementation *)jarg1; 
   arg2 = (int)jarg2; 
-  if (arg1) (arg1)->microseconds_per_frame = arg2;
+  if (arg1) (arg1)->microseconds_per_packet = arg2;
   
 }
 
 
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_implementation_microseconds_per_frame_get(void * jarg1) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_implementation_microseconds_per_packet_get(void * jarg1) {
   int jresult ;
   switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ;
   int result;
   
   arg1 = (switch_codec_implementation *)jarg1; 
-  result = (int) ((arg1)->microseconds_per_frame);
+  result = (int) ((arg1)->microseconds_per_packet);
   jresult = result; 
   return jresult;
 }
 
 
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_samples_per_frame_set(void * jarg1, unsigned long jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_samples_per_packet_set(void * jarg1, unsigned long jarg2) {
   switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ;
   uint32_t arg2 ;
   
   arg1 = (switch_codec_implementation *)jarg1; 
   arg2 = (uint32_t)jarg2; 
-  if (arg1) (arg1)->samples_per_frame = arg2;
+  if (arg1) (arg1)->samples_per_packet = arg2;
   
 }
 
 
-SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_samples_per_frame_get(void * jarg1) {
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_samples_per_packet_get(void * jarg1) {
   unsigned long jresult ;
   switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ;
   uint32_t result;
   
   arg1 = (switch_codec_implementation *)jarg1; 
-  result = (uint32_t) ((arg1)->samples_per_frame);
+  result = (uint32_t) ((arg1)->samples_per_packet);
   jresult = (unsigned long)result; 
   return jresult;
 }
 
 
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_bytes_per_frame_set(void * jarg1, unsigned long jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_decoded_bytes_per_packet_set(void * jarg1, unsigned long jarg2) {
   switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ;
   uint32_t arg2 ;
   
   arg1 = (switch_codec_implementation *)jarg1; 
   arg2 = (uint32_t)jarg2; 
-  if (arg1) (arg1)->bytes_per_frame = arg2;
+  if (arg1) (arg1)->decoded_bytes_per_packet = arg2;
   
 }
 
 
-SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_bytes_per_frame_get(void * jarg1) {
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_decoded_bytes_per_packet_get(void * jarg1) {
   unsigned long jresult ;
   switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ;
   uint32_t result;
   
   arg1 = (switch_codec_implementation *)jarg1; 
-  result = (uint32_t) ((arg1)->bytes_per_frame);
+  result = (uint32_t) ((arg1)->decoded_bytes_per_packet);
   jresult = (unsigned long)result; 
   return jresult;
 }
 
 
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_encoded_bytes_per_frame_set(void * jarg1, unsigned long jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_encoded_bytes_per_packet_set(void * jarg1, unsigned long jarg2) {
   switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ;
   uint32_t arg2 ;
   
   arg1 = (switch_codec_implementation *)jarg1; 
   arg2 = (uint32_t)jarg2; 
-  if (arg1) (arg1)->encoded_bytes_per_frame = arg2;
+  if (arg1) (arg1)->encoded_bytes_per_packet = arg2;
   
 }
 
 
-SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_encoded_bytes_per_frame_get(void * jarg1) {
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_encoded_bytes_per_packet_get(void * jarg1) {
   unsigned long jresult ;
   switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ;
   uint32_t result;
   
   arg1 = (switch_codec_implementation *)jarg1; 
-  result = (uint32_t) ((arg1)->encoded_bytes_per_frame);
+  result = (uint32_t) ((arg1)->encoded_bytes_per_packet);
   jresult = (unsigned long)result; 
   return jresult;
 }
@@ -14766,47 +14889,24 @@
 }
 
 
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_pref_frames_per_packet_set(void * jarg1, int jarg2) {
-  switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ;
-  int arg2 ;
-  
-  arg1 = (switch_codec_implementation *)jarg1; 
-  arg2 = (int)jarg2; 
-  if (arg1) (arg1)->pref_frames_per_packet = arg2;
-  
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_implementation_pref_frames_per_packet_get(void * jarg1) {
-  int jresult ;
-  switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ;
-  int result;
-  
-  arg1 = (switch_codec_implementation *)jarg1; 
-  result = (int) ((arg1)->pref_frames_per_packet);
-  jresult = result; 
-  return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_max_frames_per_packet_set(void * jarg1, int jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_codec_frames_per_packet_set(void * jarg1, int jarg2) {
   switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ;
   int arg2 ;
   
   arg1 = (switch_codec_implementation *)jarg1; 
   arg2 = (int)jarg2; 
-  if (arg1) (arg1)->max_frames_per_packet = arg2;
+  if (arg1) (arg1)->codec_frames_per_packet = arg2;
   
 }
 
 
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_implementation_max_frames_per_packet_get(void * jarg1) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_implementation_codec_frames_per_packet_get(void * jarg1) {
   int jresult ;
   switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ;
   int result;
   
   arg1 = (switch_codec_implementation *)jarg1; 
-  result = (int) ((arg1)->max_frames_per_packet);
+  result = (int) ((arg1)->codec_frames_per_packet);
   jresult = result; 
   return jresult;
 }

Modified: freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs	(original)
+++ freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs	Tue Oct 21 23:13:33 2008
@@ -847,6 +847,22 @@
     return ret;
   }
 
+  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);
+  }
+
+  public static void switch_core_session_unsched_heartbeat(SWIGTYPE_p_switch_core_session session) {
+    freeswitchPINVOKE.switch_core_session_unsched_heartbeat(SWIGTYPE_p_switch_core_session.getCPtr(session));
+  }
+
+  public static void switch_core_session_enable_heartbeat(SWIGTYPE_p_switch_core_session session, uint seconds) {
+    freeswitchPINVOKE.switch_core_session_enable_heartbeat(SWIGTYPE_p_switch_core_session.getCPtr(session), seconds);
+  }
+
+  public static void switch_core_session_disable_heartbeat(SWIGTYPE_p_switch_core_session session) {
+    freeswitchPINVOKE.switch_core_session_disable_heartbeat(SWIGTYPE_p_switch_core_session.getCPtr(session));
+  }
+
   public static switch_status_t switch_core_media_bug_add(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t callback, SWIGTYPE_p_void user_data, SWIGTYPE_p_time_t stop_time, uint flags, SWIGTYPE_p_p_switch_media_bug new_bug) {
     switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_add(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t.getCPtr(callback), SWIGTYPE_p_void.getCPtr(user_data), SWIGTYPE_p_time_t.getCPtr(stop_time), flags, SWIGTYPE_p_p_switch_media_bug.getCPtr(new_bug));
     if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
@@ -1082,6 +1098,11 @@
     return ret;
   }
 
+  public static SWIGTYPE_p_switch_size_t switch_core_session_get_id(SWIGTYPE_p_switch_core_session session) {
+    SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_core_session_get_id(SWIGTYPE_p_switch_core_session.getCPtr(session)), true);
+    return ret;
+  }
+
   public static SWIGTYPE_p_switch_size_t switch_core_session_id() {
     SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_core_session_id(), true);
     return ret;
@@ -1465,6 +1486,30 @@
     freeswitchPINVOKE.switch_core_session_unset_read_codec(SWIGTYPE_p_switch_core_session.getCPtr(session));
   }
 
+  public static void switch_core_session_unset_write_codec(SWIGTYPE_p_switch_core_session session) {
+    freeswitchPINVOKE.switch_core_session_unset_write_codec(SWIGTYPE_p_switch_core_session.getCPtr(session));
+  }
+
+  public static switch_status_t switch_core_session_get_read_impl(SWIGTYPE_p_switch_core_session session, switch_codec_implementation impp) {
+    switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_get_read_impl(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_codec_implementation.getCPtr(impp));
+    return ret;
+  }
+
+  public static switch_status_t switch_core_session_get_write_impl(SWIGTYPE_p_switch_core_session session, switch_codec_implementation impp) {
+    switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_get_write_impl(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_codec_implementation.getCPtr(impp));
+    return ret;
+  }
+
+  public static switch_status_t switch_core_session_get_video_read_impl(SWIGTYPE_p_switch_core_session session, switch_codec_implementation impp) {
+    switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_get_video_read_impl(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_codec_implementation.getCPtr(impp));
+    return ret;
+  }
+
+  public static switch_status_t switch_core_session_get_video_write_impl(SWIGTYPE_p_switch_core_session session, switch_codec_implementation impp) {
+    switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_get_video_write_impl(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_codec_implementation.getCPtr(impp));
+    return ret;
+  }
+
   public static switch_codec switch_core_session_get_read_codec(SWIGTYPE_p_switch_core_session session) {
     IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_read_codec(SWIGTYPE_p_switch_core_session.getCPtr(session));
     switch_codec ret = (cPtr == IntPtr.Zero) ? null : new switch_codec(cPtr, false);
@@ -3824,6 +3869,7 @@
   public static readonly int SWITCH_MAX_DTMF_DURATION = freeswitchPINVOKE.SWITCH_MAX_DTMF_DURATION_get();
   public static readonly string SWITCH_PATH_SEPARATOR = freeswitchPINVOKE.SWITCH_PATH_SEPARATOR_get();
   public static readonly string SWITCH_URL_SEPARATOR = freeswitchPINVOKE.SWITCH_URL_SEPARATOR_get();
+  public static readonly string SWITCH_ENABLE_HEARTBEAT_EVENTS_VARIABLE = freeswitchPINVOKE.SWITCH_ENABLE_HEARTBEAT_EVENTS_VARIABLE_get();
   public static readonly string SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE = freeswitchPINVOKE.SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE_get();
   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();
@@ -4289,6 +4335,9 @@
   [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_URL_SEPARATOR_get")]
   public static extern string SWITCH_URL_SEPARATOR_get();
 
+  [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_ENABLE_HEARTBEAT_EVENTS_VARIABLE_get")]
+  public static extern string SWITCH_ENABLE_HEARTBEAT_EVENTS_VARIABLE_get();
+
   [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE_get")]
   public static extern string SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE_get();
 
@@ -5147,6 +5196,18 @@
   [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_core_thread_session")]
   public static extern void delete_switch_core_thread_session(HandleRef jarg1);
 
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_sched_heartbeat")]
+  public static extern void switch_core_session_sched_heartbeat(HandleRef jarg1, uint jarg2);
+
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_unsched_heartbeat")]
+  public static extern void switch_core_session_unsched_heartbeat(HandleRef jarg1);
+
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_enable_heartbeat")]
+  public static extern void switch_core_session_enable_heartbeat(HandleRef jarg1, uint jarg2);
+
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_disable_heartbeat")]
+  public static extern void switch_core_session_disable_heartbeat(HandleRef jarg1);
+
   [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_add")]
   public static extern int switch_core_media_bug_add(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, uint jarg5, HandleRef jarg6);
 
@@ -5285,6 +5346,9 @@
   [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_count")]
   public static extern uint switch_core_session_count();
 
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_id")]
+  public static extern IntPtr switch_core_session_get_id(HandleRef jarg1);
+
   [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_id")]
   public static extern IntPtr switch_core_session_id();
 
@@ -5516,6 +5580,21 @@
   [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_unset_read_codec")]
   public static extern void switch_core_session_unset_read_codec(HandleRef jarg1);
 
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_unset_write_codec")]
+  public static extern void switch_core_session_unset_write_codec(HandleRef jarg1);
+
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_read_impl")]
+  public static extern int switch_core_session_get_read_impl(HandleRef jarg1, HandleRef jarg2);
+
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_write_impl")]
+  public static extern int switch_core_session_get_write_impl(HandleRef jarg1, HandleRef jarg2);
+
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_video_read_impl")]
+  public static extern int switch_core_session_get_video_read_impl(HandleRef jarg1, HandleRef jarg2);
+
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_video_write_impl")]
+  public static extern int switch_core_session_get_video_write_impl(HandleRef jarg1, HandleRef jarg2);
+
   [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_read_codec")]
   public static extern IntPtr switch_core_session_get_read_codec(HandleRef jarg1);
 
@@ -7598,29 +7677,29 @@
   [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_bits_per_second_get")]
   public static extern int switch_codec_implementation_bits_per_second_get(HandleRef jarg1);
 
-  [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_microseconds_per_frame_set")]
-  public static extern void switch_codec_implementation_microseconds_per_frame_set(HandleRef jarg1, int jarg2);
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_microseconds_per_packet_set")]
+  public static extern void switch_codec_implementation_microseconds_per_packet_set(HandleRef jarg1, int jarg2);
 
-  [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_microseconds_per_frame_get")]
-  public static extern int switch_codec_implementation_microseconds_per_frame_get(HandleRef jarg1);
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_microseconds_per_packet_get")]
+  public static extern int switch_codec_implementation_microseconds_per_packet_get(HandleRef jarg1);
 
-  [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_samples_per_frame_set")]
-  public static extern void switch_codec_implementation_samples_per_frame_set(HandleRef jarg1, uint jarg2);
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_samples_per_packet_set")]
+  public static extern void switch_codec_implementation_samples_per_packet_set(HandleRef jarg1, uint jarg2);
 
-  [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_samples_per_frame_get")]
-  public static extern uint switch_codec_implementation_samples_per_frame_get(HandleRef jarg1);
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_samples_per_packet_get")]
+  public static extern uint switch_codec_implementation_samples_per_packet_get(HandleRef jarg1);
 
-  [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_bytes_per_frame_set")]
-  public static extern void switch_codec_implementation_bytes_per_frame_set(HandleRef jarg1, uint jarg2);
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_decoded_bytes_per_packet_set")]
+  public static extern void switch_codec_implementation_decoded_bytes_per_packet_set(HandleRef jarg1, uint jarg2);
 
-  [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_bytes_per_frame_get")]
-  public static extern uint switch_codec_implementation_bytes_per_frame_get(HandleRef jarg1);
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_decoded_bytes_per_packet_get")]
+  public static extern uint switch_codec_implementation_decoded_bytes_per_packet_get(HandleRef jarg1);
 
-  [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_encoded_bytes_per_frame_set")]
-  public static extern void switch_codec_implementation_encoded_bytes_per_frame_set(HandleRef jarg1, uint jarg2);
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_encoded_bytes_per_packet_set")]
+  public static extern void switch_codec_implementation_encoded_bytes_per_packet_set(HandleRef jarg1, uint jarg2);
 
-  [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_encoded_bytes_per_frame_get")]
-  public static extern uint switch_codec_implementation_encoded_bytes_per_frame_get(HandleRef jarg1);
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_encoded_bytes_per_packet_get")]
+  public static extern uint switch_codec_implementation_encoded_bytes_per_packet_get(HandleRef jarg1);
 
   [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_number_of_channels_set")]
   public static extern void switch_codec_implementation_number_of_channels_set(HandleRef jarg1, byte jarg2);
@@ -7628,17 +7707,11 @@
   [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_number_of_channels_get")]
   public static extern byte switch_codec_implementation_number_of_channels_get(HandleRef jarg1);
 
-  [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_pref_frames_per_packet_set")]
-  public static extern void switch_codec_implementation_pref_frames_per_packet_set(HandleRef jarg1, int jarg2);
-
-  [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_pref_frames_per_packet_get")]
-  public static extern int switch_codec_implementation_pref_frames_per_packet_get(HandleRef jarg1);
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_codec_frames_per_packet_set")]
+  public static extern void switch_codec_implementation_codec_frames_per_packet_set(HandleRef jarg1, int jarg2);
 
-  [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_max_frames_per_packet_set")]
-  public static extern void switch_codec_implementation_max_frames_per_packet_set(HandleRef jarg1, int jarg2);
-
-  [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_max_frames_per_packet_get")]
-  public static extern int switch_codec_implementation_max_frames_per_packet_get(HandleRef jarg1);
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_codec_frames_per_packet_get")]
+  public static extern int switch_codec_implementation_codec_frames_per_packet_get(HandleRef jarg1);
 
   [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_init_set")]
   public static extern void switch_codec_implementation_init_set(HandleRef jarg1, HandleRef jarg2);
@@ -15559,7 +15632,8 @@
   SWITCH_CAUSE_USER_CHALLENGE = 603,
   SWITCH_CAUSE_MEDIA_TIMEOUT = 604,
   SWITCH_CAUSE_PICKED_OFF = 605,
-  SWITCH_CAUSE_USER_NOT_REGISTERED = 606
+  SWITCH_CAUSE_USER_NOT_REGISTERED = 606,
+  SWITCH_CAUSE_PROGRESS_TIMEOUT = 607
 }
 
 }
@@ -16713,42 +16787,42 @@
     } 
   }
 
-  public int microseconds_per_frame {
+  public int microseconds_per_packet {
     set {
-      freeswitchPINVOKE.switch_codec_implementation_microseconds_per_frame_set(swigCPtr, value);
+      freeswitchPINVOKE.switch_codec_implementation_microseconds_per_packet_set(swigCPtr, value);
     } 
     get {
-      int ret = freeswitchPINVOKE.switch_codec_implementation_microseconds_per_frame_get(swigCPtr);
+      int ret = freeswitchPINVOKE.switch_codec_implementation_microseconds_per_packet_get(swigCPtr);
       return ret;
     } 
   }
 
-  public uint samples_per_frame {
+  public uint samples_per_packet {
     set {
-      freeswitchPINVOKE.switch_codec_implementation_samples_per_frame_set(swigCPtr, value);
+      freeswitchPINVOKE.switch_codec_implementation_samples_per_packet_set(swigCPtr, value);
     } 
     get {
-      uint ret = freeswitchPINVOKE.switch_codec_implementation_samples_per_frame_get(swigCPtr);
+      uint ret = freeswitchPINVOKE.switch_codec_implementation_samples_per_packet_get(swigCPtr);
       return ret;
     } 
   }
 
-  public uint bytes_per_frame {
+  public uint decoded_bytes_per_packet {
     set {
-      freeswitchPINVOKE.switch_codec_implementation_bytes_per_frame_set(swigCPtr, value);
+      freeswitchPINVOKE.switch_codec_implementation_decoded_bytes_per_packet_set(swigCPtr, value);
     } 
     get {
-      uint ret = freeswitchPINVOKE.switch_codec_implementation_bytes_per_frame_get(swigCPtr);
+      uint ret = freeswitchPINVOKE.switch_codec_implementation_decoded_bytes_per_packet_get(swigCPtr);
       return ret;
     } 
   }
 
-  public uint encoded_bytes_per_frame {
+  public uint encoded_bytes_per_packet {
     set {
-      freeswitchPINVOKE.switch_codec_implementation_encoded_bytes_per_frame_set(swigCPtr, value);
+      freeswitchPINVOKE.switch_codec_implementation_encoded_bytes_per_packet_set(swigCPtr, value);
     } 
     get {
-      uint ret = freeswitchPINVOKE.switch_codec_implementation_encoded_bytes_per_frame_get(swigCPtr);
+      uint ret = freeswitchPINVOKE.switch_codec_implementation_encoded_bytes_per_packet_get(swigCPtr);
       return ret;
     } 
   }
@@ -16763,22 +16837,12 @@
     } 
   }
 
-  public int pref_frames_per_packet {
-    set {
-      freeswitchPINVOKE.switch_codec_implementation_pref_frames_per_packet_set(swigCPtr, value);
-    } 
-    get {
-      int ret = freeswitchPINVOKE.switch_codec_implementation_pref_frames_per_packet_get(swigCPtr);
-      return ret;
-    } 
-  }
-
-  public int max_frames_per_packet {
+  public int codec_frames_per_packet {
     set {
-      freeswitchPINVOKE.switch_codec_implementation_max_frames_per_packet_set(swigCPtr, value);
+      freeswitchPINVOKE.switch_codec_implementation_codec_frames_per_packet_set(swigCPtr, value);
     } 
     get {
-      int ret = freeswitchPINVOKE.switch_codec_implementation_max_frames_per_packet_get(swigCPtr);
+      int ret = freeswitchPINVOKE.switch_codec_implementation_codec_frames_per_packet_get(swigCPtr);
       return ret;
     } 
   }
@@ -18789,6 +18853,7 @@
   SWITCH_EVENT_CHANNEL_DATA,
   SWITCH_EVENT_GENERAL,
   SWITCH_EVENT_COMMAND,
+  SWITCH_EVENT_SESSION_HEARTBEAT,
   SWITCH_EVENT_ALL
 }
 
@@ -22058,7 +22123,9 @@
   SCSC_MAX_DTMF_DURATION,
   SCSC_DEFAULT_DTMF_DURATION,
   SCSC_SHUTDOWN_ELEGANT,
-  SCSC_CANCEL_SHUTDOWN
+  SCSC_SHUTDOWN_ASAP,
+  SCSC_CANCEL_SHUTDOWN,
+  SCSC_SEND_SIGHUP
 }
 
 }



More information about the Freeswitch-svn mailing list