提交 35776314 authored 作者: Moises Silva's avatar Moises Silva

freetdm: Use proper screen and presentation definitions in mod_freetdm

上级 34267869
...@@ -1255,11 +1255,11 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi ...@@ -1255,11 +1255,11 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
} }
if (switch_test_flag(outbound_profile, SWITCH_CPF_SCREEN)) { if (switch_test_flag(outbound_profile, SWITCH_CPF_SCREEN)) {
caller_data.screen = 1; caller_data.screen = FTDM_SCREENING_VERIFIED_PASSED;
} }
if (switch_test_flag(outbound_profile, SWITCH_CPF_HIDE_NUMBER)) { if (switch_test_flag(outbound_profile, SWITCH_CPF_HIDE_NUMBER)) {
caller_data.pres = 1; caller_data.pres = FTDM_PRES_RESTRICTED;
} }
if ((var = channel_get_variable(session, var_event, "freetdm_bearer_capability"))) { if ((var = channel_get_variable(session, var_event, "freetdm_bearer_capability"))) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论