Revision
16326
Author
anthm
Date
2010-01-15 15:48:08 -0600 (Fri, 15 Jan 2010)

Log Message

fix startup

Modified Paths

Diff

Modified: freeswitch/trunk/src/switch_core.c (16325 => 16326)


--- freeswitch/trunk/src/switch_core.c	2010-01-15 21:10:31 UTC (rev 16325)
+++ freeswitch/trunk/src/switch_core.c	2010-01-15 21:48:08 UTC (rev 16326)
@@ -1484,6 +1484,28 @@
 
 }
 
+static void print_banner(void)
+{
+
+	switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE,
+					  "\n"
+					  "   _____              ______        _____ _____ ____ _   _  \n"
+					  "  |  ___| __ ___  ___/ ___\\ \\      / /_ _|_   _/ ___| | | | \n"
+					  "  | |_ | '__/ _ \\/ _ \\___ \\\\ \\ /\\ / / | |  | || |   | |_| | \n"
+					  "  |  _|| | |  __/  __/___) |\\ V  V /  | |  | || |___|  _  | \n"
+					  "  |_|  |_|  \\___|\\___|____/  \\_/\\_/  |___| |_| \\____|_| |_| \n"
+					  "\n"
+					  "************************************************************\n"
+					  "* Anthony Minessale II, Michael Jerris, Brian West, Others *\n"
+					  "* FreeSWITCH (http://www.freeswitch.org)                   *\n"
+					  "* Paypal Donations Appriciated: paypal@freeswitch.org      *\n"
+					  "* Brought to you by ClueCon http://www.cluecon.com/        *\n"
+					  "************************************************************\n"
+					  "\n"
+					  );
+}
+
+
 SWITCH_DECLARE(switch_status_t) switch_core_init_and_modload(switch_core_flag_t flags, switch_bool_t console, const char **err)
 {
 	switch_event_t *event;
@@ -1538,6 +1560,7 @@
 		switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Event-Info", "System Ready");
 		switch_event_fire(&event);
 	}
+	print_banner();
 
 	switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE,
 					  "\nFreeSWITCH Version %s Started.\nMax Sessions[%u]\nSession Rate[%d]\nSQL [%s]\n", SWITCH_VERSION_FULL,