mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-01 06:21:07 +00:00
freetdm: Use proper screen and presentation definitions in mod_freetdm
This commit is contained in:
parent
342678698c
commit
35776314d0
@ -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"))) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user