From: Anthony Minessale Date: Mon, 15 Apr 2013 19:47:50 +0000 (-0500) Subject: FS-5305 --resolve X-Git-Tag: v1.5.1~233 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be248879aec33b034178dd5bbeb131d6dffbe242;p=thirdparty%2Ffreeswitch.git FS-5305 --resolve --- diff --git a/src/switch_core_sqldb.c b/src/switch_core_sqldb.c index 44c7391ea4..7bed6e71f2 100644 --- a/src/switch_core_sqldb.c +++ b/src/switch_core_sqldb.c @@ -2942,7 +2942,7 @@ SWITCH_DECLARE(void) switch_core_recovery_track(switch_core_session_t *session) sql = switch_mprintf("insert into recovery (runtime_uuid, technology, profile_name, hostname, uuid, metadata) " "values ('%q','%q','%q','%q','%q','%q')", switch_core_get_uuid(), switch_str_nil(technology), - switch_str_nil(profile_name), switch_core_get_hostname(), switch_core_session_get_uuid(session), xml_cdr_text); + switch_str_nil(profile_name), switch_core_get_switchname(), switch_core_session_get_uuid(session), xml_cdr_text); } switch_sql_queue_manager_push(sql_manager.qm, sql, 2, SWITCH_FALSE);