]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fix direction flag for outbound H.323 calls, all sorts of consequences there.
authorRobert Jongbloed <robertj@voxlucida.com.au>
Thu, 6 Sep 2012 04:26:19 +0000 (14:26 +1000)
committerRobert Jongbloed <robertj@voxlucida.com.au>
Wed, 19 Sep 2012 02:32:33 +0000 (12:32 +1000)
src/mod/endpoints/mod_opal/mod_opal.cpp

index e9beeb93fe7e263044baad552b2b9a50b139ef6f..15d86f610641d33ef64ae74acae376ea13ad921a 100644 (file)
@@ -494,7 +494,7 @@ FSConnection::FSConnection(OpalCall & call,
         params->fail_cause = SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER;\r
 \r
         if ((m_fsSession = switch_core_session_request(endpoint.GetManager().GetSwitchInterface(),\r
-                  SWITCH_CALL_DIRECTION_INBOUND, params->flags, params->pool)) == NULL) {\r
+                                      SWITCH_CALL_DIRECTION_OUTBOUND, params->flags, params->pool)) == NULL) {\r
             PTRACE(1, "mod_opal\tCannot create session for outgoing call.");\r
             return;\r
         }\r