diff --git a/src/mod/languages/mod_managed/freeswitch_wrap.cxx b/src/mod/languages/mod_managed/freeswitch_wrap.cxx index 1d796c43cb..c23cd244e9 100644 --- a/src/mod/languages/mod_managed/freeswitch_wrap.cxx +++ b/src/mod/languages/mod_managed/freeswitch_wrap.cxx @@ -1931,6 +1931,29 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_dtmf_t_flags_get(void * jarg1) { } +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 ; diff --git a/src/mod/languages/mod_managed/managed/swig.cs b/src/mod/languages/mod_managed/managed/swig.cs index 9f8c6ecad9..bbed991074 100644 --- a/src/mod/languages/mod_managed/managed/swig.cs +++ b/src/mod/languages/mod_managed/managed/swig.cs @@ -6472,6 +6472,12 @@ class freeswitchPINVOKE { [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(); @@ -23770,7 +23776,8 @@ namespace FreeSWITCH.Native { 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) } } @@ -24895,6 +24902,25 @@ public enum switch_dtmf_direction_t { 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; @@ -24956,6 +24982,16 @@ public class switch_dtmf_t : IDisposable { } } + 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) { } @@ -29226,7 +29262,8 @@ public enum switch_rtp_bug_flag_t { 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) } }