提交 01a94383 authored 作者: Brian West's avatar Brian West

unprotect these interfaces when done

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10393 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 a2dc5408
......@@ -1956,6 +1956,8 @@ static switch_call_cause_t error_outgoing_channel(switch_core_session_t *session
cause = SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER;
}
UNPROTECT_INTERFACE(error_endpoint_interface);
return cause;
}
......@@ -2116,6 +2118,8 @@ static switch_call_cause_t user_outgoing_channel(switch_core_session_t *session,
done:
UNPROTECT_INTERFACE(user_endpoint_interface);
if (xml) {
switch_xml_free(xml);
}
......
......@@ -318,6 +318,9 @@ static switch_call_cause_t sip_outgoing_channel(switch_core_session_t *session,
}
outbound_profile->destination_number = switch_core_sprintf(outbound_profile->pool, "%s/%s", profile, outbound_profile->destination_number);
UNPROTECT_INTERFACE(sip_endpoint_interface);
return switch_core_session_outgoing_channel(session, var_event, "sofia", outbound_profile, new_session, pool, SOF_NONE);
}
......@@ -337,6 +340,8 @@ static switch_call_cause_t iax2_outgoing_channel(switch_core_session_t *session,
switch_caller_profile_t *outbound_profile,
switch_core_session_t **new_session, switch_memory_pool_t **pool, switch_originate_flag_t flags)
{
UNPROTECT_INTERFACE(iax2_endpoint_interface);
return switch_core_session_outgoing_channel(session, var_event, "iax", outbound_profile, new_session, pool, SOF_NONE);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论