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

FS-3901 --resolve alternate solution to FS-3870

上级 db9aa0b5
...@@ -136,15 +136,6 @@ SWITCH_DECLARE(switch_caller_profile_t *) switch_caller_profile_dup(switch_memor ...@@ -136,15 +136,6 @@ SWITCH_DECLARE(switch_caller_profile_t *) switch_caller_profile_dup(switch_memor
profile->flags = tocopy->flags; profile->flags = tocopy->flags;
profile->pool = pool; profile->pool = pool;
profile->direction = tocopy->direction; profile->direction = tocopy->direction;
if ((profile->times = tocopy->times)) {
profile->times->answered = 0;
profile->times->progress = 0;
profile->times->progress_media = 0;
profile->times->created = switch_time_now();
profile->times->profile_created = profile->times->created;
profile->times->hungup = 0;
profile->times->transferred = 0;
}
if (tocopy->soft) { if (tocopy->soft) {
profile_node_t *pn; profile_node_t *pn;
......
...@@ -2321,6 +2321,8 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_execute_exten(switch_core_se ...@@ -2321,6 +2321,8 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_execute_exten(switch_core_se
new_profile = switch_caller_profile_clone(session, profile); new_profile = switch_caller_profile_clone(session, profile);
new_profile->destination_number = switch_core_strdup(new_profile->pool, exten); new_profile->destination_number = switch_core_strdup(new_profile->pool, exten);
new_profile->times = profile->times;
if (!zstr(dialplan)) { if (!zstr(dialplan)) {
new_profile->dialplan = switch_core_strdup(new_profile->pool, dialplan); new_profile->dialplan = switch_core_strdup(new_profile->pool, dialplan);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论