mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-02 06:38:04 +00:00
FS-3894 --resolve
This commit is contained in:
parent
36b26c51ac
commit
f4774047b8
@ -136,14 +136,15 @@ 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;
|
||||||
profile->times = tocopy->times;
|
if ((profile->times = tocopy->times)) {
|
||||||
profile->times->answered = 0;
|
profile->times->answered = 0;
|
||||||
profile->times->progress = 0;
|
profile->times->progress = 0;
|
||||||
profile->times->progress_media = 0;
|
profile->times->progress_media = 0;
|
||||||
profile->times->created = switch_time_now();
|
profile->times->created = switch_time_now();
|
||||||
profile->times->profile_created = profile->times->created;
|
profile->times->profile_created = profile->times->created;
|
||||||
profile->times->hungup = 0;
|
profile->times->hungup = 0;
|
||||||
profile->times->transferred = 0;
|
profile->times->transferred = 0;
|
||||||
|
}
|
||||||
|
|
||||||
if (tocopy->soft) {
|
if (tocopy->soft) {
|
||||||
profile_node_t *pn;
|
profile_node_t *pn;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user