Fix direction flag for outbound H.323 calls, all sorts of consequences there.
This commit is contained in:
parent
7ffa4eece4
commit
45609f8986
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue