提交 c3ceebf0 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-3528 --resolve

上级 485cb2f5
...@@ -2354,11 +2354,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess ...@@ -2354,11 +2354,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
} }
if (zstr(new_profile->destination_number)) { if (zstr(new_profile->destination_number)) {
if (caller_channel) { new_profile->destination_number = switch_core_strdup(new_profile->pool, "service");
switch_channel_hangup(caller_channel, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER);
}
status = SWITCH_STATUS_FALSE;
goto done;
} }
new_profile->callee_id_name = switch_core_strdup(new_profile->pool, "Outbound Call"); new_profile->callee_id_name = switch_core_strdup(new_profile->pool, "Outbound Call");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论