提交 162b5cf2 authored 作者: Moises Silva's avatar Moises Silva

freetdm: windows fix

上级 2330d424
...@@ -2519,11 +2519,12 @@ static FIO_CONFIGURE_SPAN_SIGNALING_FUNCTION(ftdm_sangoma_boost_configure_span) ...@@ -2519,11 +2519,12 @@ static FIO_CONFIGURE_SPAN_SIGNALING_FUNCTION(ftdm_sangoma_boost_configure_span)
ftdm_log(FTDM_LOG_CRIT, "No sigmod attribute in span %s, you must either specify a sigmod or re-compile with SCTP available to use socket mode boost!\n"); ftdm_log(FTDM_LOG_CRIT, "No sigmod attribute in span %s, you must either specify a sigmod or re-compile with SCTP available to use socket mode boost!\n");
ftdm_set_string(span->last_error, "No sigmod configuration was set and there is no SCTP available!"); ftdm_set_string(span->last_error, "No sigmod configuration was set and there is no SCTP available!");
FAIL_CONFIG_RETURN(FTDM_FAIL); FAIL_CONFIG_RETURN(FTDM_FAIL);
#endif #else
if (!local_ip && local_port && remote_ip && remote_port && sig_cb) { if (!local_ip && local_port && remote_ip && remote_port && sig_cb) {
ftdm_set_string(span->last_error, "missing Sangoma boost IP parameters"); ftdm_set_string(span->last_error, "missing Sangoma boost IP parameters");
FAIL_CONFIG_RETURN(FTDM_FAIL); FAIL_CONFIG_RETURN(FTDM_FAIL);
} }
#endif
} }
sangoma_boost_data = ftdm_calloc(1, sizeof(*sangoma_boost_data)); sangoma_boost_data = ftdm_calloc(1, sizeof(*sangoma_boost_data));
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论