This commit is contained in:
Ahron Greenberg (agree) 2025-01-17 16:41:26 +00:00 committed by GitHub
commit f24f6b6f73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -162,6 +162,10 @@ SWITCH_DECLARE(switch_caller_profile_t *) switch_caller_profile_dup(switch_memor
for (pn = tocopy->soft; pn; pn = pn->next) {
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->val = switch_core_strdup(profile->pool, pn->val);