]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Missed one in e8ae13a8
authorMathieu Rene <mrene@avgs.ca>
Sun, 14 Aug 2011 21:56:32 +0000 (23:56 +0200)
committerMathieu Rene <mrene@avgs.ca>
Mon, 15 Aug 2011 15:31:15 +0000 (17:31 +0200)
src/mod/endpoints/mod_rtmp/rtmp_sig.c

index ece43bc050d5b6a5aaad9541c1087fd517ccff46..7aaf79d6f6e1d8571c12a169d468783e69471586 100644 (file)
@@ -301,7 +301,7 @@ RTMP_INVOKE_FUNCTION(rtmp_i_makeCall)
                        amf_object_to_event(argv[3], &event);
                }
                
-               if (rtmp_session_create_call(rsession, &newsession, 0, RTMP_DEFAULT_STREAM_AUDIO, number, user, domain, event) != SWITCH_CAUSE_NONE) {
+               if (rtmp_session_create_call(rsession, &newsession, 0, RTMP_DEFAULT_STREAM_AUDIO, number, user, domain, event) != SWITCH_CAUSE_SUCCESS) {
                        switch_log_printf(SWITCH_CHANNEL_UUID_LOG(rsession->uuid), SWITCH_LOG_ERROR, "Couldn't create call.\n");
                }