]> 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:47:50 +0000 (14:47 -0500)
src/switch_core_sqldb.c

index 44c7391ea4d3d1c0c121999fd97efb6699d1116a..7bed6e71f2d29fd298d4130124e2d02f48df5104 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);