From: Mathieu Rene Date: Sun, 14 Aug 2011 21:56:32 +0000 (+0200) Subject: Missed one in e8ae13a8 X-Git-Tag: v1.2-rc1~51^2~266^2~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b36aea097ce2399fe81a086e398223bb0766bcb;p=thirdparty%2Ffreeswitch.git Missed one in e8ae13a8 --- diff --git a/src/mod/endpoints/mod_rtmp/rtmp_sig.c b/src/mod/endpoints/mod_rtmp/rtmp_sig.c index ece43bc050..7aaf79d6f6 100644 --- a/src/mod/endpoints/mod_rtmp/rtmp_sig.c +++ b/src/mod/endpoints/mod_rtmp/rtmp_sig.c @@ -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"); }