add event system

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@128 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2005-12-13 19:53:29 +00:00
parent 611e80432e
commit 40824bc41a
9 changed files with 54 additions and 59 deletions

View File

@@ -51,6 +51,7 @@ int main(int argc, char *argv[]) {
exit(-1);
}
switch_event_fire(SWITCH_EVENT_STARTUP, "Ready");
switch_console_printf(SWITCH_CHANNEL_CONSOLE, "freeswitch Version %s Started\n\n", SWITCH_GLOBAL_VERSION);
/* wait for console input */