[Freeswitch-svn] [commit] r9864 - in freeswitch/trunk/src: . mod/applications/mod_commands mod/applications/mod_conference mod/applications/mod_dptools mod/applications/mod_fax mod/applications/mod_skel mod/applications/mod_voicemail mod/asr_tts/mod_openmrcp mod/asr_tts/mod_pocketsphinx mod/endpoints/mod_portaudio mod/event_handlers/mod_event_socket mod/formats/mod_local_stream mod/xml_int/mod_xml_cdr

Freeswitch SVN brian at freeswitch.org
Mon Oct 6 19:05:57 EDT 2008


Author: brian
Date: Mon Oct  6 19:05:55 2008
New Revision: 9864

Modified:
   freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c
   freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c
   freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c
   freeswitch/trunk/src/mod/applications/mod_fax/mod_fax.c
   freeswitch/trunk/src/mod/applications/mod_skel/mod_skel.c
   freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c
   freeswitch/trunk/src/mod/asr_tts/mod_openmrcp/mod_openmrcp.c
   freeswitch/trunk/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c
   freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c
   freeswitch/trunk/src/mod/event_handlers/mod_event_socket/mod_event_socket.c
   freeswitch/trunk/src/mod/formats/mod_local_stream/mod_local_stream.c
   freeswitch/trunk/src/mod/xml_int/mod_xml_cdr/mod_xml_cdr.c
   freeswitch/trunk/src/switch.c
   freeswitch/trunk/src/switch_core_io.c
   freeswitch/trunk/src/switch_core_session.c
   freeswitch/trunk/src/switch_core_state_machine.c
   freeswitch/trunk/src/switch_event.c
   freeswitch/trunk/src/switch_ivr.c
   freeswitch/trunk/src/switch_ivr_bridge.c
   freeswitch/trunk/src/switch_odbc.c
   freeswitch/trunk/src/switch_utils.c

Log:
spelling

Modified: freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c	Mon Oct  6 19:05:55 2008
@@ -774,7 +774,7 @@
 		} else if (!strcasecmp(argv[0], "sync_clock")) {
 			arg = 0;
 			switch_core_session_ctl(SCSC_SYNC_CLOCK, &arg);
-			stream->write_function(stream, "+OK clock syncronized\n");
+			stream->write_function(stream, "+OK clock synchronize\n");
 		} else {
 			stream->write_function(stream, "-ERR INVALID COMMAND\nUSAGE: fsctl %s", CTL_SYNTAX);
 			goto end;
@@ -2128,7 +2128,7 @@
 
 
 	/* If you change the field qty or order of any of these select */
-	/* statmements, you must also change show_callback and friends to match! */
+	/* statements, you must also change show_callback and friends to match! */
 	if (!command) {
 		stream->write_function(stream, "-USAGE: %s\n", SHOW_SYNTAX);
 		goto end;

Modified: freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c	Mon Oct  6 19:05:55 2008
@@ -444,7 +444,7 @@
 			break;
 		}
 
-		/* 0 matches everyone. (We will still test the others brcause a real match carries more clout) */
+		/* 0 matches everyone. (We will still test the others because a real match carries more clout) */
 		if (rel->id == 0) {
 			global = rel;
 		}
@@ -1031,7 +1031,7 @@
 					int16_t *bptr, *muxed;
 
 					if (imember == omember || !imember->read) {
-						/* Don't add audio from yourself or if you didnt read any */
+						/* Don't add audio from yourself or if you didn't read any */
 						continue;
 					}
 
@@ -1802,7 +1802,7 @@
 			conference_outcall_bg(member->conference, NULL, NULL, cp->string, to, switch_str_nil(flags), cid_name, cid_num);
 		}
 	}
-	/* Fair WARNING, If you expect the caller to hear anything or for digit handling to be proccessed,      */
+	/* Fair WARNING, If you expect the caller to hear anything or for digit handling to be processed,      */
 	/* you better not block this thread loop for more than the duration of member->conference->timer_name!  */
 	while (switch_test_flag(member, MFLAG_RUNNING) && switch_test_flag(member, MFLAG_ITHREAD)
 		   && switch_channel_ready(channel)) {
@@ -2035,7 +2035,7 @@
 		member->conference->bridge_hangup_cause = switch_channel_get_cause(channel);
 	}
 
-	/* Wait for the input thead to end */
+	/* Wait for the input thread to end */
 	while (switch_test_flag(member, MFLAG_ITHREAD)) {
 		switch_yield(1000);
 	}

Modified: freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c	Mon Oct  6 19:05:55 2008
@@ -1782,7 +1782,7 @@
 		/* not at the end and the rest is numbers lets parse out the limit and fix up the path */
 		if (*limit_start != '\0' && switch_is_number(limit_start) == SWITCH_TRUE) {
 			limit = atoi(limit_start);
-			/* back it off by one charecter to the char before the + */
+			/* back it off by one character to the char before the + */
 			path_end--;
 
 			/* trim spaces to the left of the plus */
@@ -2261,7 +2261,7 @@
 #define SET_PROFILE_VAR_LONG_DESC "Set a caller profile variable for the channel calling the application."
 #define EXPORT_LONG_DESC "Set and export a channel variable for the channel calling the application."
 #define LOG_LONG_DESC "Logs a channel variable for the channel calling the application."
-#define TRANSFER_LONG_DESC "Immediatly transfer the calling channel to a new extension"
+#define TRANSFER_LONG_DESC "Immediately transfer the calling channel to a new extension"
 #define SLEEP_LONG_DESC "Pause the channel for a given number of milliseconds, consuming the audio for that period of time."
 SWITCH_MODULE_LOAD_FUNCTION(mod_dptools_load)
 {

Modified: freeswitch/trunk/src/mod/applications/mod_fax/mod_fax.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_fax/mod_fax.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_fax/mod_fax.c	Mon Oct  6 19:05:55 2008
@@ -531,7 +531,7 @@
 				pvt->filename = switch_core_session_strdup(session, fname);
 				switch_safe_free(fname);
 			} else {
-				switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Cannot automagically set fax RX destination file\n");
+				switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Cannot automatically set fax RX destination file\n");
 				goto done;
 			}
 		} else {
@@ -631,7 +631,7 @@
 			goto done;
 		}
 
-		/* Skip CNG frames (autogenerated by FreeSWITCH, usually) */
+		/* Skip CNG frames (auto-generated by FreeSWITCH, usually) */
 		if (!switch_test_flag(read_frame, SFF_CNG)) {
             /* pass the new incoming audio frame to the fax_rx function */
             if (fax_rx(pvt->fax_state, (int16_t *) read_frame->data, read_frame->samples)) {

Modified: freeswitch/trunk/src/mod/applications/mod_skel/mod_skel.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_skel/mod_skel.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_skel/mod_skel.c	Mon Oct  6 19:05:55 2008
@@ -59,7 +59,7 @@
 
 /*
   If it exists, this is called in it's own thread when the module-load completes
-  If it returns anything but SWITCH_STATUS_TERM it will be called again automaticly
+  If it returns anything but SWITCH_STATUS_TERM it will be called again automatically
 SWITCH_MODULE_RUNTIME_FUNCTION(mod_skel_runtime);
 {
 	while(looping)

Modified: freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c	Mon Oct  6 19:05:55 2008
@@ -1505,7 +1505,7 @@
 					header_string = switch_core_session_sprintf(session, "%s\nX-Voicemail-Length: %u", headers, message_len);
 
 					if (switch_event_create(&event, SWITCH_EVENT_GENERAL) == SWITCH_STATUS_SUCCESS) {
-						/* this isnt done?  it was in the other place
+						/* this isn't done?  it was in the other place
 						 * switch_channel_event_set_data(channel, event);
 						 */
 						switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Message-Type", "forwarded-voicemail");
@@ -2596,7 +2596,7 @@
 			}
 			
 			if (send_mail && (!(send_main || send_notify))) {
-				switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Falling back to leaving message locally due to too many misconfigurations.\n");
+				switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Falling back to leaving message locally due to too many misconfiguration.\n");
 				send_mail = 0;
 				insert_db = 1;
 			}
@@ -2687,7 +2687,7 @@
 				argc = switch_separate_string(mycmd, ' ', argv, (sizeof(argv) / sizeof(argv[0])));
 				if (argc >= 1 && argc <= 4) {
 					switch_ivr_session_transfer(session, argv[0], argv[1], argv[2]);
-					/* the application still runs after we leave it so we need to make sure that we dont do anything evil */
+					/* the application still runs after we leave it so we need to make sure that we don't do anything evil */
 					send_mail = 0;
 					goto end;
 				}
@@ -2701,7 +2701,7 @@
 				argc = switch_separate_string(mycmd, ' ', argv, (sizeof(argv) / sizeof(argv[0])));
 				if (argc >= 1 && argc <= 4) {
 					switch_ivr_session_transfer(session, argv[0], argv[1], argv[2]);
-					/* the application still runs after we leave it so we need to make sure that we dont do anything evil */
+					/* the application still runs after we leave it so we need to make sure that we don't do anything evil */
 					send_mail = 0;
 					goto end;
 				}

Modified: freeswitch/trunk/src/mod/asr_tts/mod_openmrcp/mod_openmrcp.c
==============================================================================
--- freeswitch/trunk/src/mod/asr_tts/mod_openmrcp/mod_openmrcp.c	(original)
+++ freeswitch/trunk/src/mod/asr_tts/mod_openmrcp/mod_openmrcp.c	Mon Oct  6 19:05:55 2008
@@ -293,10 +293,10 @@
 /**
  * Freeswitch calls this from switch_ivr_detect_speech() and then adds a media
  * bug to tap into the channel's audio, which will result in all data getting
- * passed to asr_feed() and calls to asr_check_results() on each recevied frame.
+ * passed to asr_feed() and calls to asr_check_results() on each received frame.
  * 
  * This code expects certain one-time initialization of the openmrcp client
- * engine/systeme to have already taken place.function to open the asr interface 
+ * engine/system to have already taken place.function to open the asr interface 
  */
 static switch_status_t openmrcp_asr_open(switch_asr_handle_t *ah, const char *codec, int rate, const char *dest, switch_asr_flag_t *flags)
 {

Modified: freeswitch/trunk/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c
==============================================================================
--- freeswitch/trunk/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c	(original)
+++ freeswitch/trunk/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c	Mon Oct  6 19:05:55 2008
@@ -285,7 +285,7 @@
 					switch_clear_flag(ps, PSFLAG_READY);
 					if ((hyp = ps_get_hyp(ps->ps, &ps->score, &ps->uttid))) {
 						if (switch_strlen_zero(hyp)) {
-							switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Lost the text, nevermind....\n");   
+							switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Lost the text, never mind....\n");   
 							ps_start_utt(ps->ps, NULL);
 							switch_set_flag(ps, PSFLAG_READY);
 						} else {
@@ -313,7 +313,7 @@
 	return SWITCH_STATUS_SUCCESS;
 }
 
-/*! funciton to pause recognizer */
+/*! function to pause recognizer */
 static switch_status_t pocketsphinx_asr_pause(switch_asr_handle_t *ah)
 {
 	pocketsphinx_t *ps = (pocketsphinx_t *) ah->private_info;

Modified: freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c	Mon Oct  6 19:05:55 2008
@@ -805,7 +805,7 @@
 					globals.codec_ms = tmp;
 				} else {
 					switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING,
-									  "codec-ms must be multipe of 10 and less than %d, Using default of 20\n", SWITCH_MAX_INTERVAL);
+									  "codec-ms must be multiple of 10 and less than %d, Using default of 20\n", SWITCH_MAX_INTERVAL);
 				}
 			} else if (!strcmp(var, "dialplan")) {
 				set_global_dialplan(val);

Modified: freeswitch/trunk/src/mod/event_handlers/mod_event_socket/mod_event_socket.c
==============================================================================
--- freeswitch/trunk/src/mod/event_handlers/mod_event_socket/mod_event_socket.c	(original)
+++ freeswitch/trunk/src/mod/event_handlers/mod_event_socket/mod_event_socket.c	Mon Oct  6 19:05:55 2008
@@ -26,7 +26,7 @@
  * Anthony Minessale II <anthmct at yahoo.com>
  *
  *
- * mod_event_socket.c -- Socket Controled Event Handler
+ * mod_event_socket.c -- Socket Controlled Event Handler
  *
  */
 #include <switch.h>

Modified: freeswitch/trunk/src/mod/formats/mod_local_stream/mod_local_stream.c
==============================================================================
--- freeswitch/trunk/src/mod/formats/mod_local_stream/mod_local_stream.c	(original)
+++ freeswitch/trunk/src/mod/formats/mod_local_stream/mod_local_stream.c	Mon Oct  6 19:05:55 2008
@@ -466,7 +466,7 @@
 					source->interval = tmp;
 				} else {
 					switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING,
-									  "Interval must be multipe of 10 and less than %d, Using default of 20\n", SWITCH_MAX_INTERVAL);
+									  "Interval must be multiple of 10 and less than %d, Using default of 20\n", SWITCH_MAX_INTERVAL);
 				}
 			} else if (!strcasecmp(var, "timer-name")) {
 				source->timer_name = switch_core_strdup(source->pool, val);
@@ -644,7 +644,7 @@
 							interval = tmp;
 						} else {
 							switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING,
-											  "Interval must be multipe of 10 and less than %d, Using default of 20\n", SWITCH_MAX_INTERVAL);
+											  "Interval must be multiple of 10 and less than %d, Using default of 20\n", SWITCH_MAX_INTERVAL);
 						}
 					} else if (!strcasecmp(var, "timer-name")) {
 						timer_name = strdup(val);

Modified: freeswitch/trunk/src/mod/xml_int/mod_xml_cdr/mod_xml_cdr.c
==============================================================================
--- freeswitch/trunk/src/mod/xml_int/mod_xml_cdr/mod_xml_cdr.c	(original)
+++ freeswitch/trunk/src/mod/xml_int/mod_xml_cdr/mod_xml_cdr.c	Mon Oct  6 19:05:55 2008
@@ -52,7 +52,7 @@
 SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_xml_cdr_shutdown);
 SWITCH_MODULE_DEFINITION(mod_xml_cdr, mod_xml_cdr_load, mod_xml_cdr_shutdown, NULL);
 
-/* this function would have access to the HTML returned by the webserver, we dont need it 
+/* this function would have access to the HTML returned by the webserver, we don't need it 
  * and the default curl activity is to print to stdout, something not as desirable
  * so we have a dummy function here
  */

Modified: freeswitch/trunk/src/switch.c
==============================================================================
--- freeswitch/trunk/src/switch.c	(original)
+++ freeswitch/trunk/src/switch.c	Mon Oct  6 19:05:55 2008
@@ -105,13 +105,13 @@
 		/* kill the freeswitch running at the pid we found */
 		fprintf(stderr, "Killing: %d\n", (int) pid);
 #ifdef WIN32
-		/* for windows we need the event to signal for shutting down a background freewitch */
+		/* for windows we need the event to signal for shutting down a background FreeSWITCH */
 		snprintf(path, sizeof(path), "Global\\Freeswitch.%d", pid);
 
 		/* open the event so we can signal it */
 		shutdown_event = OpenEvent(EVENT_MODIFY_STATE, FALSE, path);
 
-		/* did we sucessfully open the event */
+		/* did we successfully open the event */
 		if (!shutdown_event) {
 			/* we can't get the event, so we can't signal the process to shutdown */
 			fprintf(stderr, "ERROR: Can't Shutdown: %d\n", (int) pid);
@@ -147,7 +147,7 @@
 	case SERVICE_CONTROL_STOP:
 		/* Shutdown freeswitch */
 		switch_core_destroy();
-		/* set service status valuse */
+		/* set service status values */
 		status.dwCurrentState = SERVICE_STOPPED;
 		status.dwWin32ExitCode = 0;
 		status.dwCheckPoint = 0;
@@ -183,7 +183,7 @@
 
 	/* attempt to initialize freeswitch and load modules */
 	if (switch_core_init_and_modload(flags, SWITCH_FALSE, &err) != SWITCH_STATUS_SUCCESS) {
-		/* freeswitch did not start sucessfully */
+		/* freeswitch did not start successfully */
 		status.dwCurrentState = SERVICE_STOPPED;
 	} else {
 		/* freeswitch started */

Modified: freeswitch/trunk/src/switch_core_io.c
==============================================================================
--- freeswitch/trunk/src/switch_core_io.c	(original)
+++ freeswitch/trunk/src/switch_core_io.c	Mon Oct  6 19:05:55 2008
@@ -733,7 +733,7 @@
 				if (!session->raw_write_buffer) {
 					switch_size_t bytes = session->write_codec->implementation->bytes_per_frame;
 					switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,
-									  "Engaging Write Buffer at %u bytes to accomodate %u->%u\n",
+									  "Engaging Write Buffer at %u bytes to accommodate %u->%u\n",
 									  (uint32_t) bytes, write_frame->datalen, session->write_codec->implementation->bytes_per_frame);
 					if ((status = switch_buffer_create_dynamic(&session->raw_write_buffer,
 															   bytes * SWITCH_BUFFER_BLOCK_FRAMES,

Modified: freeswitch/trunk/src/switch_core_session.c
==============================================================================
--- freeswitch/trunk/src/switch_core_session.c	(original)
+++ freeswitch/trunk/src/switch_core_session.c	Mon Oct  6 19:05:55 2008
@@ -680,7 +680,7 @@
 	switch_mutex_unlock(session->resample_mutex);
 	/* clear indications */
 	switch_core_session_flush_message(session);
-	/* wipe theese, they will be recreated if need be */
+	/* wipe these, they will be recreated if need be */
 	switch_buffer_destroy(&session->raw_read_buffer);
 	switch_buffer_destroy(&session->raw_write_buffer);
 

Modified: freeswitch/trunk/src/switch_core_state_machine.c
==============================================================================
--- freeswitch/trunk/src/switch_core_state_machine.c	(original)
+++ freeswitch/trunk/src/switch_core_state_machine.c	Mon Oct  6 19:05:55 2008
@@ -331,13 +331,13 @@
 	   everywhere you go you use the session to malloc with
 	   switch_core_session_alloc(session, <size>)
 
-	   The enpoint module gets the first crack at implementing the state
-	   if it wants to, it can cancel the default behaviour by returning SWITCH_STATUS_FALSE
+	   The endpoint module gets the first crack at implementing the state
+	   if it wants to, it can cancel the default behavior by returning SWITCH_STATUS_FALSE
 
 	   Next comes the channel's event handler table that can be set by an application
-	   which also can veto the next behaviour in line by returning SWITCH_STATUS_FALSE
+	   which also can veto the next behavior in line by returning SWITCH_STATUS_FALSE
 
-	   Finally the default state behaviour is called.
+	   Finally the default state behavior is called.
 
 
 	 */

Modified: freeswitch/trunk/src/switch_event.c
==============================================================================
--- freeswitch/trunk/src/switch_event.c	(original)
+++ freeswitch/trunk/src/switch_event.c	Mon Oct  6 19:05:55 2008
@@ -795,7 +795,7 @@
 	switch_event_header_t *hp;
 	switch_size_t llen = 0, dlen = 0, blocksize = 512, encode_len = 1536, new_len = 0;
 	char *buf;
-	char *encode_buf = NULL;	/* used for url encoding of variables to make sure unsafe things stay out of the serialzed copy */
+	char *encode_buf = NULL;	/* used for url encoding of variables to make sure unsafe things stay out of the serialized copy */
 
 	*str = NULL;
 
@@ -811,11 +811,11 @@
 		return SWITCH_STATUS_MEMERR;
 	}
 
-	/* switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "hit serialzed!.\n"); */
+	/* switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "hit serialized!.\n"); */
 	for (hp = event->headers; hp; hp = hp->next) {
 		/*
 		 * grab enough memory to store 3x the string (url encode takes one char and turns it into %XX)
-		 * so we could end up with a string that is 3 times the original's length, unlikely but rather
+		 * so we could end up with a string that is 3 times the originals length, unlikely but rather
 		 * be safe than destroy the string, also add one for the null.  And try to be smart about using 
 		 * the memory, allocate and only reallocate if we need more.  This avoids an alloc, free CPU
 		 * destroying loop.

Modified: freeswitch/trunk/src/switch_ivr.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr.c	(original)
+++ freeswitch/trunk/src/switch_ivr.c	Mon Oct  6 19:05:55 2008
@@ -1233,7 +1233,7 @@
 {
 	switch_status_t status = SWITCH_STATUS_FALSE;
 
-	/* if we have a paser object memory pool and a stream object pointer that is null */
+	/* if we have a parser object memory pool and a stream object pointer that is null */
 	if (parser != NULL && parser->pool && stream != NULL && *stream == NULL) {
 		*stream = (switch_ivr_digit_stream_t *) switch_core_alloc(parser->pool, sizeof(switch_ivr_digit_stream_t));
 		if (*stream != NULL) {

Modified: freeswitch/trunk/src/switch_ivr_bridge.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_bridge.c	(original)
+++ freeswitch/trunk/src/switch_ivr_bridge.c	Mon Oct  6 19:05:55 2008
@@ -982,7 +982,7 @@
 			/* override transmit state for originator_channel to bridge to originatee_channel 
 			 * install pointer to originatee_session into originator_channel
 			 * set CF_TRANSFER on both channels and change state to CS_SOFT_EXECUTE to
-			 * inturrupt anything they are already doing.
+			 * interrupt anything they are already doing.
 			 * originatee_session will fall asleep and originator_session will bridge to it
 			 */
 

Modified: freeswitch/trunk/src/switch_odbc.c
==============================================================================
--- freeswitch/trunk/src/switch_odbc.c	(original)
+++ freeswitch/trunk/src/switch_odbc.c	Mon Oct  6 19:05:55 2008
@@ -94,7 +94,7 @@
 		if (result == SWITCH_ODBC_SUCCESS) {
 			switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Disconnected %d from [%s]\n", result, handle->dsn);
 		} else {
-			switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error Disconnectiong [%s]\n", handle->dsn);
+			switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error Disconnecting [%s]\n", handle->dsn);
 		}
 	}
 

Modified: freeswitch/trunk/src/switch_utils.c
==============================================================================
--- freeswitch/trunk/src/switch_utils.c	(original)
+++ freeswitch/trunk/src/switch_utils.c	Mon Oct  6 19:05:55 2008
@@ -27,7 +27,7 @@
  * Juan Jose Comellas <juanjo at comellas.org>
  *
  *
- * switch_utils.c -- Compatability and Helper Code
+ * switch_utils.c -- Compatibility and Helper Code
  *
  */
 



More information about the Freeswitch-svn mailing list