提交 32b8bdb9 authored 作者: Mathieu Parent's avatar Mathieu Parent

Skinny: display destination number if callee is not set

上级 cab15659
......@@ -396,7 +396,8 @@ switch_status_t skinny_session_send_call_info(switch_core_session_t *session, li
called_party_name = SWITCH_DEFAULT_CLID_NAME;
}
if (zstr((called_party_number = switch_channel_get_variable(channel, "effective_callee_id_number"))) &&
zstr((called_party_number = switch_channel_get_variable(channel, "callee_id_number")))) {
zstr((called_party_number = switch_channel_get_variable(channel, "callee_id_number"))) &&
zstr((called_party_number = switch_channel_get_variable(channel, "destination_number")))) {
called_party_number = "0000000000";
}
if (switch_channel_test_flag(channel, CF_OUTBOUND)) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论