Fix direction flag for outbound H.323 calls, all sorts of consequences there.

This commit is contained in:
Robert Jongbloed committed 2012-09-19 12:32:33 +10:00
1 parent 7ffa4eece4
commit 45609f8986
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}