From b2c6d70cc8a1a752698efda8fca35256cfbf56f4 Mon Sep 17 00:00:00 2001 From: Brian West Date: Thu, 29 Jan 2015 08:25:01 -0600 Subject: [PATCH] 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 --- src/mod/applications/mod_spandsp/mod_spandsp.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/mod/applications/mod_spandsp/mod_spandsp.c b/src/mod/applications/mod_spandsp/mod_spandsp.c index 12a8a95948..4d70f04b1b 100644 --- a/src/mod/applications/mod_spandsp/mod_spandsp.c +++ b/src/mod/applications/mod_spandsp/mod_spandsp.c @@ -628,9 +628,17 @@ switch_status_t load_configuration(switch_bool_t reload) spandsp_globals.enable_t38_request = 0; } } else if (!strcmp(name, "ident")) { - spandsp_globals.ident = switch_core_strdup(spandsp_globals.config_pool, value); + if (!strcmp(value, "_undef_")) { + spandsp_globals.ident = ""; + } else { + spandsp_globals.ident = switch_core_strdup(spandsp_globals.config_pool, value); + } } else if (!strcmp(name, "header")) { - spandsp_globals.header = switch_core_strdup(spandsp_globals.config_pool, value); + if (!strcmp(value, "_undef_")) { + spandsp_globals.header = ""; + } else { + spandsp_globals.header = switch_core_strdup(spandsp_globals.config_pool, value); + } } else if (!strcmp(name, "spool-dir")) { spandsp_globals.spool = switch_core_strdup(spandsp_globals.config_pool, value); } else if (!strcmp(name, "file-prefix")) {