From: Robert Jongbloed Date: Thu, 6 Sep 2012 04:26:19 +0000 (+1000) Subject: Fix direction flag for outbound H.323 calls, all sorts of consequences there. X-Git-Tag: v1.2.3^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45609f89867467696def92fa52fc6fcb12326dd7;p=thirdparty%2Ffreeswitch.git Fix direction flag for outbound H.323 calls, all sorts of consequences there. --- diff --git a/src/mod/endpoints/mod_opal/mod_opal.cpp b/src/mod/endpoints/mod_opal/mod_opal.cpp index e9beeb93fe..15d86f6106 100644 --- a/src/mod/endpoints/mod_opal/mod_opal.cpp +++ b/src/mod/endpoints/mod_opal/mod_opal.cpp @@ -494,7 +494,7 @@ FSConnection::FSConnection(OpalCall & call, params->fail_cause = SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER; if ((m_fsSession = switch_core_session_request(endpoint.GetManager().GetSwitchInterface(), - SWITCH_CALL_DIRECTION_INBOUND, params->flags, params->pool)) == NULL) { + SWITCH_CALL_DIRECTION_OUTBOUND, params->flags, params->pool)) == NULL) { PTRACE(1, "mod_opal\tCannot create session for outgoing call."); return; }