mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-09 01:06:00 +00:00
Merge 7c92a9c13098503540aee3298f4a44a641b11291 into 5cb74797fe996b706be1dc29d1096c7baefdfbfb
This commit is contained in:
commit
f24f6b6f73
@ -162,6 +162,10 @@ SWITCH_DECLARE(switch_caller_profile_t *) switch_caller_profile_dup(switch_memor
|
|||||||
for (pn = tocopy->soft; pn; pn = pn->next) {
|
for (pn = tocopy->soft; pn; pn = pn->next) {
|
||||||
profile_node_t *pp, *n = switch_core_alloc(profile->pool, sizeof(*n));
|
profile_node_t *pp, *n = switch_core_alloc(profile->pool, sizeof(*n));
|
||||||
|
|
||||||
|
if (pn->var && !strncasecmp(pn->var, "local:", 6)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
n->var = switch_core_strdup(profile->pool, pn->var);
|
n->var = switch_core_strdup(profile->pool, pn->var);
|
||||||
n->val = switch_core_strdup(profile->pool, pn->val);
|
n->val = switch_core_strdup(profile->pool, pn->val);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user