]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
silence incorrect error log
authorMichael Jerris <mike@jerris.com>
Sat, 23 Jan 2010 04:50:32 +0000 (04:50 +0000)
committerMichael Jerris <mike@jerris.com>
Sat, 23 Jan 2010 04:50:32 +0000 (04:50 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@999 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/openzap/mod_openzap/mod_openzap.c

index a3539d755eedc9c47abb4d72b609414205d661fe..fb9443e332080d46c7860a194e77605a13566174 100644 (file)
@@ -1159,12 +1159,9 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
        }
        
        if (status != ZAP_SUCCESS) {
-               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "No channels available\n");
-
                if (caller_data.hangup_cause == SWITCH_CAUSE_NONE) {
                        caller_data.hangup_cause = SWITCH_CAUSE_NORMAL_CIRCUIT_CONGESTION;
                }
-
                return caller_data.hangup_cause;
        }