add roughed in xmpp logger (NEEDS WORK)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@194 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2005-12-22 23:59:33 +00:00
parent c08d15846c
commit 6c0ea31f81
3 changed files with 349 additions and 0 deletions

View File

@@ -62,6 +62,11 @@ int main(int argc, char *argv[]) {
/* wait for console input */
switch_console_loop();
if (switch_event_create(&event, SWITCH_EVENT_SHUTDOWN) == SWITCH_STATUS_SUCCESS) {
switch_event_add_header(event, "event_info", "System Shutting Down");
switch_event_fire(&event);
}
switch_console_printf(SWITCH_CHANNEL_CONSOLE, "Clean up modules.\n");
loadable_module_shutdown();
switch_console_printf(SWITCH_CHANNEL_CONSOLE, "Tearing down environment.\n");