From 3958734b851c05a091ac37e5447a5bab4e940ea4 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Sun, 8 Oct 2006 04:39:21 +0000 Subject: [PATCH] switch_ivr_uuid_bridge make return SWITCH_STATUS_SUCESS on success. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2998 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_ivr.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/switch_ivr.c b/src/switch_ivr.c index 08cbd2f34a..8ae30e8f6e 100644 --- a/src/switch_ivr.c +++ b/src/switch_ivr.c @@ -2343,10 +2343,13 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_uuid_bridge(char *originator_uuid, ch 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;