//public ApiServer( ICallService callService, IFSService fsService, IGatewayService gatewayService) public ApiServer() { //_fsService = fsService; //_callService = callService; //_gatewayService = gatewayService; _fsService = new FSService(); _callService = new CallService(); FS = _fsService.GetFSServer(); fsInbound = new FSInbound(FS.Host, FS.Port, FS.Password, FS.OutAddress); _run = true; }