[Freeswitch-svn] [commit] r2998 - freeswitch/trunk/src

Freeswitch SVN mikej at freeswitch.org
Sun Oct 8 00:39:23 EDT 2006


Author: mikej
Date: Sun Oct  8 00:39:21 2006
New Revision: 2998

Modified:
   freeswitch/trunk/src/switch_ivr.c

Log:
switch_ivr_uuid_bridge make return SWITCH_STATUS_SUCESS on success.

Modified: freeswitch/trunk/src/switch_ivr.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr.c	(original)
+++ freeswitch/trunk/src/switch_ivr.c	Sun Oct  8 00:39:21 2006
@@ -2343,10 +2343,13 @@
 			switch_channel_set_state(originator_channel, CS_TRANSMIT);
 			switch_channel_set_state(originatee_channel, CS_TRANSMIT);
 			
+			status = SWITCH_STATUS_SUCCESS;
 		} else {
 			switch_core_session_rwunlock(originator_session);
-			switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "no channel for uuid %s\n", originatee_uuid);
+			switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "no channel for originatee uuid %s\n", originatee_uuid);
 		}
+	} else {
+		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "no channel for originator uuid %s\n", originator_uuid);
 	}
 
 	return status;



More information about the Freeswitch-svn mailing list