本文整理汇总了C#中switch_call_cause_t类的典型用法代码示例。如果您正苦于以下问题:C# switch_call_cause_t类的具体用法?C# switch_call_cause_t怎么用?C# switch_call_cause_t使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
switch_call_cause_t类属于命名空间,在下文中一共展示了switch_call_cause_t类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: switch_ivr_schedule_hangup
public static uint switch_ivr_schedule_hangup(SWIGTYPE_p_time_t runtime, string uuid, switch_call_cause_t cause, switch_bool_t bleg)
{
uint ret = freeswitchPINVOKE.switch_ivr_schedule_hangup(SWIGTYPE_p_time_t.getCPtr(runtime), uuid, (int)cause, (int)bleg);
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
开发者ID:newfront,项目名称:FreeSWITCH,代码行数:6,代码来源:swig.2010.cs
示例2: switch_core_session_hupall_endpoint
public static void switch_core_session_hupall_endpoint(switch_endpoint_interface endpoint_interface, switch_call_cause_t cause)
{
freeswitchPINVOKE.switch_core_session_hupall_endpoint(switch_endpoint_interface.getCPtr(endpoint_interface), (int)cause);
}
开发者ID:newfront,项目名称:FreeSWITCH,代码行数:4,代码来源:swig.2010.cs
示例3: switch_core_session_hupall_matching_var
public static void switch_core_session_hupall_matching_var(string var_name, string var_val, switch_call_cause_t cause)
{
freeswitchPINVOKE.switch_core_session_hupall_matching_var(var_name, var_val, (int)cause);
}
开发者ID:newfront,项目名称:FreeSWITCH,代码行数:4,代码来源:swig.2010.cs
示例4: switch_channel_perform_hangup
public static switch_channel_state_t switch_channel_perform_hangup(SWIGTYPE_p_switch_channel channel, string file, string func, int line, switch_call_cause_t hangup_cause)
{
switch_channel_state_t ret = (switch_channel_state_t)freeswitchPINVOKE.switch_channel_perform_hangup(SWIGTYPE_p_switch_channel.getCPtr(channel), file, func, line, (int)hangup_cause);
return ret;
}
开发者ID:newfront,项目名称:FreeSWITCH,代码行数:5,代码来源:swig.2010.cs
示例5: switch_core_session_hupall
public static void switch_core_session_hupall(switch_call_cause_t cause)
{
freeswitchPINVOKE.switch_core_session_hupall((int)cause);
}
开发者ID:newfront,项目名称:FreeSWITCH,代码行数:4,代码来源:swig.2010.cs
示例6: switch_channel_cause_q850
public static switch_call_cause_t switch_channel_cause_q850(switch_call_cause_t cause)
{
switch_call_cause_t ret = (switch_call_cause_t)freeswitchPINVOKE.switch_channel_cause_q850((int)cause);
return ret;
}
开发者ID:newfront,项目名称:FreeSWITCH,代码行数:5,代码来源:swig.2010.cs
示例7: switch_channel_cause2str
public static string switch_channel_cause2str(switch_call_cause_t cause)
{
string ret = freeswitchPINVOKE.switch_channel_cause2str((int)cause);
return ret;
}
开发者ID:newfront,项目名称:FreeSWITCH,代码行数:5,代码来源:swig.2010.cs
示例8: switch_ivr_kill_uuid
public static switch_status_t switch_ivr_kill_uuid(string uuid, switch_call_cause_t cause) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_kill_uuid(uuid, (int)cause);
return ret;
}
开发者ID:jasonbourneh0810,项目名称:FreeSWITCH,代码行数:4,代码来源:swig.2010.cs
示例9: switch_channel_handle_cause
public static void switch_channel_handle_cause(SWIGTYPE_p_switch_channel channel, switch_call_cause_t cause) {
freeswitchPINVOKE.switch_channel_handle_cause(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)cause);
}
开发者ID:rockxsj,项目名称:FreeSWITCH,代码行数:3,代码来源:swig.2010.cs
示例10: switch_core_session_hupall_matching_var_ans
public static uint switch_core_session_hupall_matching_var_ans(string var_name, string var_val, switch_call_cause_t cause, switch_hup_type_t type) {
uint ret = freeswitchPINVOKE.switch_core_session_hupall_matching_var_ans(var_name, var_val, (int)cause, (int)type);
return ret;
}
开发者ID:rockxsj,项目名称:FreeSWITCH,代码行数:4,代码来源:swig.2010.cs
注:本文中的switch_call_cause_t类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论