]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
switch_ivr_uuid_bridge make return SWITCH_STATUS_SUCESS on success.
authorMichael Jerris <mike@jerris.com>
Sun, 8 Oct 2006 04:39:21 +0000 (04:39 +0000)
committerMichael Jerris <mike@jerris.com>
Sun, 8 Oct 2006 04:39:21 +0000 (04:39 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2998 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr.c

index 08cbd2f34a5e34617c2e1bf1aa093af6316eabec..8ae30e8f6e0b8af8198b4c033f969c7824886a9d 100644 (file)
@@ -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;