}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_dtmf_t_source_set(void * jarg1, int jarg2) {
+ switch_dtmf_t *arg1 = (switch_dtmf_t *) 0 ;
+ switch_dtmf_source_t arg2 ;
+
+ arg1 = (switch_dtmf_t *)jarg1;
+ arg2 = (switch_dtmf_source_t)jarg2;
+ if (arg1) (arg1)->source = arg2;
+
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_dtmf_t_source_get(void * jarg1) {
+ int jresult ;
+ switch_dtmf_t *arg1 = (switch_dtmf_t *) 0 ;
+ switch_dtmf_source_t result;
+
+ arg1 = (switch_dtmf_t *)jarg1;
+ result = (switch_dtmf_source_t) ((arg1)->source);
+ jresult = result;
+ return jresult;
+}
+
+
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_dtmf_t() {
void * jresult ;
switch_dtmf_t *result = 0 ;
[DllImport("mod_managed", EntryPoint="CSharp_switch_dtmf_t_flags_get")]
public static extern int switch_dtmf_t_flags_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_dtmf_t_source_set")]
+ public static extern void switch_dtmf_t_source_set(HandleRef jarg1, int jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_dtmf_t_source_get")]
+ public static extern int switch_dtmf_t_source_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_dtmf_t")]
public static extern IntPtr new_switch_dtmf_t();
SCF_USE_WIN32_MONOTONIC = (1 << 12),
SCF_AUTO_SCHEMAS = (1 << 13),
SCF_MINIMAL = (1 << 14),
- SCF_USE_NAT_MAPPING = (1 << 15)
+ SCF_USE_NAT_MAPPING = (1 << 15),
+ SCF_CLEAR_SQL = (1 << 16)
}
}
namespace FreeSWITCH.Native {
+public enum switch_dtmf_source_t {
+ SWITCH_DTMF_UNKNOWN,
+ SWITCH_DTMF_INBAND_AUDIO,
+ SWITCH_DTMF_RTP,
+ SWITCH_DTMF_ENDPOINT,
+ SWITCH_DTMF_APP
+}
+
+}
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org).
+ * Version 1.3.35
+ *
+ * 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 switch_dtmf_source_t source {
+ set {
+ freeswitchPINVOKE.switch_dtmf_t_source_set(swigCPtr, (int)value);
+ }
+ get {
+ switch_dtmf_source_t ret = (switch_dtmf_source_t)freeswitchPINVOKE.switch_dtmf_t_source_get(swigCPtr);
+ return ret;
+ }
+ }
+
public switch_dtmf_t() : this(freeswitchPINVOKE.new_switch_dtmf_t(), true) {
}
RTP_BUG_SEND_LINEAR_TIMESTAMPS = (1 << 3),
RTP_BUG_START_SEQ_AT_ZERO = (1 << 4),
RTP_BUG_NEVER_SEND_MARKER = (1 << 5),
- RTP_BUG_IGNORE_DTMF_DURATION = (1 << 6)
+ RTP_BUG_IGNORE_DTMF_DURATION = (1 << 6),
+ RTP_BUG_PAUSE_BETWEEN_DTMF = (1 << 7)
}
}