]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5305 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 15 Apr 2013 19:47:50 +0000 (14:47 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 15 Apr 2013 19:48:28 +0000 (14:48 -0500)
src/switch_core_sqldb.c

index 4df65611135e9c39eae4356b00f4440a6be8d70b..71d2412185ea25302abbfb6234a5ab8608756f3a 100644 (file)
@@ -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);