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

This commit is contained in:
Robert Jongbloed 2012-09-06 14:26:19 +10:00
parent 7ffa4eece4
commit 45609f8986
1 changed files with 1 additions and 1 deletions

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;
}