FS-7208 #comment _undef_ as the header and/or ident will make it be an empty string which is the same you were doing on your local builds #resolve
This commit is contained in:
parent
ded05d1cc9
commit
b2c6d70cc8
|
@ -628,9 +628,17 @@ switch_status_t load_configuration(switch_bool_t reload)
|
||||||
spandsp_globals.enable_t38_request = 0;
|
spandsp_globals.enable_t38_request = 0;
|
||||||
}
|
}
|
||||||
} else if (!strcmp(name, "ident")) {
|
} else if (!strcmp(name, "ident")) {
|
||||||
|
if (!strcmp(value, "_undef_")) {
|
||||||
|
spandsp_globals.ident = "";
|
||||||
|
} else {
|
||||||
spandsp_globals.ident = switch_core_strdup(spandsp_globals.config_pool, value);
|
spandsp_globals.ident = switch_core_strdup(spandsp_globals.config_pool, value);
|
||||||
|
}
|
||||||
} else if (!strcmp(name, "header")) {
|
} else if (!strcmp(name, "header")) {
|
||||||
|
if (!strcmp(value, "_undef_")) {
|
||||||
|
spandsp_globals.header = "";
|
||||||
|
} else {
|
||||||
spandsp_globals.header = switch_core_strdup(spandsp_globals.config_pool, value);
|
spandsp_globals.header = switch_core_strdup(spandsp_globals.config_pool, value);
|
||||||
|
}
|
||||||
} else if (!strcmp(name, "spool-dir")) {
|
} else if (!strcmp(name, "spool-dir")) {
|
||||||
spandsp_globals.spool = switch_core_strdup(spandsp_globals.config_pool, value);
|
spandsp_globals.spool = switch_core_strdup(spandsp_globals.config_pool, value);
|
||||||
} else if (!strcmp(name, "file-prefix")) {
|
} else if (!strcmp(name, "file-prefix")) {
|
||||||
|
|
Loading…
Reference in New Issue