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

FS-3894 --resolve

上级 36b26c51
......@@ -136,14 +136,15 @@ SWITCH_DECLARE(switch_caller_profile_t *) switch_caller_profile_dup(switch_memor
profile->flags = tocopy->flags;
profile->pool = pool;
profile->direction = tocopy->direction;
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 ((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) {
profile_node_t *pn;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论